Table of Contents >Quanser Rapid Control Prototyping Toolkit >VI and Function Reference >VIs - By Category >VI Categories >Hardware VIs and Functions >Control Loop VIs >Immediate I/O >CL HIL Write >
Parent Polymorphic VI: | CL HIL Write |
Requirements: | Quanser Rapid Control Prototyping Toolkit, LabVIEW 2020 or newer, Control Design and Simulation Module |
Writes to a PWM channel of a HIL board.
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. |
PWM channel is a channel number indicating the PWM output channel to be written. The value written is the quantity at the PWM duty cycle or frequency input. |
PWM duty cycle or frequency is the duty cycle (as a fraction between 0 and 1) or frequency (in Hertz) to write to the specified PWM channel. |
board out is a copy of the HIL Board instance passed to the board in input. |
This VI only writes one PWM output. When writing from mixed signal types, it is more efficient to use the
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.