CD Query Model File VI
- Updated2023-03-14
- 3 minute(s) read
CD Query Model File VI
Owning Palette: Model Construction VIs
Requires: Control Design and Simulation Module
Queries a model (.lti) file that contains information about one or several models and returns the information in the file. The .lti file can contain models of multiple types (state-space, transfer function, and zero-pole-gain). You can use the CD Write Model to File VI to create a .lti file for this VI to query.
![]() |
File Path is the path to the .lti file that contains the model information. | ||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||
![]() |
New File Path returns the path to the file. | ||||||||||
![]() |
model type returns an array containing the types of each model in the file. You can use this output with VIs that change polymorphic instances based on the model type, such as CD Read Model from File. | ||||||||||
![]() |
model file properties returns a table with information about the models in the file. The table includes the following information:
|
||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Example
Refer to the CDEx Managing Several Models in File VI in the labview\examples\Control and Simulation\Control Design\Model Construction directory for an example of using the CD Query Model File VI.





