HIL Task Read 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 >General VIs >Task >HIL Task Read >

HIL Task Read Mixed

HIL Task Read Mixed

Parent Polymorphic VI:HIL Task Read

Requirements:Quanser Rapid Control Prototyping Toolkit, LabVIEW 2020 or newer


Description

Reads from analog, digital, encoder and/or other channels of a HIL Task.


Required Inputs All required inputs must be wired. They appear in bold text in the context help window for the VI.
task in

task in is a reference to a HIL Task instance that represents the created HIL task. This input must be wired to a valid HIL Task signal, as generated by a HIL Task Create Reader VI.


Outputs

task out

task out is a copy of the HIL Task instance passed to the task in input.

analog voltages

analog voltages is the analog voltages (or currents) read from the specified analog channels when setting up in HIL Task Create Reader VI.

encoder counts

encoder counts is the encoder counts read from the specified encoder channels when setting up in HIL Task Create Reader VI.

digital states

digital states is the states read from the specified digital channels when setting up in HIL Task Create Reader VI.

other values

other values is the values read from the specified other channels when setting up in HIL Task Create Reader VI.

error out error out contains error information. If the error in cluster indicated an error, the error out cluster contains the same information. Otherwise, error out describes the error status of this VI.
status icon status is TRUE if an error occurred. If status is TRUE, the VI does not perform any operations.
code icon code is the error code number identifying an error. A value of 0 means no error, a negative value means a fatal error, and a positive value is a warning. Refer to the Quanser Error Codes for a code description.
source icon source identifies where an error occurred. The source string is usually the name of the VI that produced the error.


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.


Feedthrough Behaviour

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


Examples

There are currently no examples


See Also

  • HIL Task Create Reader

    Create a task for reading from analog, digital, encoder and/or other channels of a HIL board. The task allows other operations to be performed while the inputs are being read "in the background". The data is read into an internal circular "task buffer" from which it can be read at any time using the HIL Task Read VI. The size of this task buffer is determined by the sample in buffer input.


    Targets

    Target

    Supported

    Comments

    RCP Windows (64-bit) Target

    Yes

    Fully supported.

     

    navigation bar