CL HIL Read Analog (Scalar) CL HIL Read Digital (Scalar) 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 >Immediate I/O >CL HIL Read >

CL HIL Read Analog (Vector)

CL HIL Read Analog (Vector)

Parent Polymorphic VI:CL HIL Read

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


Description

Reads from analog input channels of a HIL board.


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.


Details

This VI only reads analog inputs. When reading from mixed signal types, it is more efficient to use the CL HIL Read Mixed than to include multiple VIs specific to each type of channel.


Feedthrough Behaviour

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


Examples

  • 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 ExampleThis example demonstrates how to use a PID controller to control Quanser's SRV02 experiment.


    See Also

  • 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.

  • CL HIL Write

    Writes to analog, digital, encoder and/or other channels of a HIL board.


    Targets

    Target

    Supported

    Comments

    RCP Windows (64-bit) Target

    Yes

    Fully supported.

     

    navigation bar