LabVIEW Control Design and Simulation Module

CD Read Model from File VI

  • Updated2023-03-14
  • 5 minute(s) read

CD Read Model from File VI

Owning Palette: Model Construction VIs

Requires: Control Design and Simulation Module

Opens a file the Write Model to File VI created and reads all the records in the file. Each record contains a separate model. To retrieve all records in the file, all the models must be in the same model representation. You must manually select the polymorphic instance to use.

CD Read Model from File (State-Space)

File Path (dialog if empty) specifies the file path to the model location.
Offset (records:0) specifies in bytes how far below the start of the file to start reading from the file. The default is 0.
Records to Read (-1,all) determines from which record to read the file. If you set Records to Read (-1,all) to –1, the CD Read Model from File VI returns all the records in the file. The default is –1.
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.
First State-Space Model in Record returns the first state-space model in the record.
State-Space Model returns all the models in the file if Records to Read is –1. To access and modify the data in the model, use the Model Information VIs.
error out contains error information. This output provides standard error out functionality.
Mark after Read (records) is the location of the file mark after the VI reads the records. It points to the character (record) in the file following the last character read.

CD Read Model from File (Transfer Function)

File Path (dialog if empty) specifies the file path to the model location.
Offset (records:0) specifies in bytes how far below the start of the file to start reading from the file. The default is 0.
Records to Read (-1,all) determines from which record to read the file. If you set Records to Read (-1,all) to –1, the CD Read Model from File VI returns all the records in the file. The default is –1.
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.
First Transfer Function Model in Record returns the first transfer function model in the record.
Transfer Function Model returns all the models in the file if Records to Read is –1. To access and modify the data in the model, use the Model Information VIs.
error out contains error information. This output provides standard error out functionality.
Mark after Read (records) is the location of the file mark after the VI reads the records. It points to the character (record) in the file following the last character read.

CD Read Model from File (Zero-Pole-Gain)

File Path (dialog if empty) specifies the file path to the model location.
Offset (records:0) specifies in bytes how far below the start of the file to start reading from the file. The default is 0.
Records to Read (-1,all) determines from which record to read the file. If you set Records to Read (-1,all) to –1, the CD Read Model from File VI returns all the records in the file. The default is –1.
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.
First Zero-Pole-Gain Model in Record returns the first zero-pole-gain model in the record.
Zero-Pole-Gain Model returns all the models in the file if Records to Read is –1. To access and modify the data in the model, use the Model Information VIs.
error out contains error information. This output provides standard error out functionality.
Mark after Read (records) is the location of the file mark after the VI reads the records. It points to the character (record) in the file following the last character read.

Log in to get a better experience