CL HIL Read Timebase Other (Vector) End of trail navigation bar

Table of Contents >Quanser Rapid Control Prototyping Toolkit >VI and Function Reference >VIs - By Category >VI Categories >Hardware VIs and Functions >Control Loop VIs >Timebases >CL HIL Read Timebase >

CL HIL Read Timebase (Mixed)

CL HIL Read Timebase (Mixed)

Parent Polymorphic VI:CL HIL Read Timebase

Requirements:Quanser Rapid Control Prototyping Toolkit, LabVIEW 2020 or newer, Control Design and Simulation Module


Description

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.


Required Inputs 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

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.


Outputs

board out

board out is a copy of the HIL Board instance passed to the board in input.

analog voltages

analog voltages is the analog voltages (or currents) read from the specified analog channels.

encoder counts

encoder counts is the encoder counts read from the specified encoder channels.

digital states

digital states is the states read from the specified digital channels.

other values

other values is the values read from the specified other channels.


Details

If any of the channels arrays are empty then those channels are not read. This VI allows a combination of different types of channels to be read 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.

This VI employs a hardware timebase on the data acquisition card to drive the timing of the Simulation loop. The clock parameter determines which timebase on the board is used. The Simulation loop should be configured so that it is not synchronized to a timing source. Also, the priority of the application VI should be set to time-critical. The priority is found in the VI Properties under the Execution category.


Feedthrough Behaviour

All input/output pairs of this function have direct feedthrough behaviour.


Examples

  • RCP CL HIL Read Timebase Example

    Targets

    Target

    Supported

    Comments

    RCP Windows (64-bit) Target

    Yes

    Fully supported.

     

    navigation bar