| Parent Polymorphic VI: | CL HIL Write |
| Requirements: | Quanser Rapid Control Prototyping Toolkit, LabVIEW 2020 or newer, Control Design and Simulation Module |
Writes to analog, digital, PWM and/or other channels of a HIL board.
All required inputs must be wired. They always appear as terminals on the VI palette. They also appear in bold text in the context help window for the VI.
|
board in is a reference to a HIL Board instance that represents the open HIL board. This input must be wired to a valid HIL Board signal, as generated by a HIL Initialize VI. |
Recommended inputs need not to be wired. They may be selected to appear as terminals or dialog parameters, but show up as terminals by default.
They appear in simple text in the context help window for the VI.
|
analog channels is an array of channel numbers indicating the analog input channels to be written. The voltages (or currents) written will appear at the analog voltages output. |
|
PWM channels is an array of channel numbers indicating the PWM output channels to be written. The values written are those at the PWM duty cycles or frequencies input. |
|
digital channels is an array of channel numbers indicating the digital input channels to be written. The quantities written will appear at the digital states output. |
|
other channels is an array of channel numbers indicating the other input channels to be written. The values written will appear at the other values output. |
|
analog voltages is the analog voltages (or currents) written to the specified analog channels. |
|
digital states is the states written to the specified digital channels. |
|
PWM duty cycles or frequencies is the duty cycles (as a fraction between 0 and 1) or frequencies (in Hertz) to write to the specified PWM channels.. |
|
other values is the values written to the specified other channels. |
|
board out is a copy of the HIL Board instance passed to the board in input. |
If any of the channels arrays are empty then those channels are not written. This VI allows a combination of different types of channels to be write at the same time. When mixed I/O operations are being performed, it is more efficient to use this VI than to include multiple VIs specific to each type of channel.
All input/output pairs of this function have direct feedthrough behaviour.
| RCP CL HIL Analog Loopback Example | This example is a simple analog loopback test, but it demonstrates a number of important features of RCP. | |
| RCP CL HIL Position Control Example | This example demonstrates how to use a PID controller to control Quanser's SRV02 experiment. |
| CL HIL Read | Reads from analog, digital, encoder and/or other channels of a HIL board. | |
| CL HIL Read Timebase | Reads from analog, digital, encoder and/or other channels of a HIL board while establishing the timing of the simulation loop via a hardware timebase. |
|
Target |
Supported |
Comments |
|---|---|---|
|
Yes |
Fully supported. |
Copyright © Quanser Inc. This page was generated 2021-09-24. Submit feedback to Quanser about this page.
Link to this page.