CD Get Sampling Time from Model VI
Owning Palette: Model Information VIs
Installed With: Control Design and Simulation Module
Obtains the sampling time of the system. The sampling time is zero for continuous systems and greater than zero for discrete systems. The data type you wire to the State-Space Model input determines the polymorphic instance to use.
Use the pull-down menu to select an instance of this VI.
Place on the block diagram | Find on the Functions palette |
CD Get Sampling Time from Model (State-Space Model)
State-Space Model contains a mathematical representation of and information about the system for which this VI obtains sampling time. | |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Sampling Time is the sampling time this VI associates with the system model. Sampling Time defines whether the model represents a continuous-time system or a discrete-time system. If the model represents a continuous-time system, Sampling Time equals zero. If the model represents a discrete-time system, Sampling Time is greater than zero and equal to the sampling rate, in seconds, of the discrete system. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Get Sampling Time from Model (Transfer Function)
Transfer Function Model contains a mathematical representation of and information about the system for which this VI obtains sampling time. | |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Sampling Time is the sampling time this VI associates with the system model. Sampling Time defines whether the model represents a continuous-time system or a discrete-time system. If the model represents a continuous-time system, Sampling Time equals zero. If the model represents a discrete-time system, Sampling Time is greater than zero and equal to the sampling rate, in seconds, of the discrete system. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Get Sampling Time from Model (Zero-Pole-Gain)
Zero-Pole-Gain Model contains a mathematical representation of and information about the system for which this VI obtains sampling time. | |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Sampling Time is the sampling time this VI associates with the system model. Sampling Time defines whether the model represents a continuous-time system or a discrete-time system. If the model represents a continuous-time system, Sampling Time equals zero. If the model represents a discrete-time system, Sampling Time is greater than zero and equal to the sampling rate, in seconds, of the discrete system. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|