HIL Initialize HIL Set Encoder Counts 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 >

HIL Close

HIL Close

Owning Palette:HIL/Core

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


Description

Close the given HIL board. Final output values configured in the HIL Initialize VI will be written to the board prior to closing the board.


Required Inputs All required inputs must be wired. They 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

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 only the HIL/Core VIs are being used, then the HIL board must be closed using the HIL Close VI. The HIL/CD&Sim VIs already handle closing the board, although doing so explicitly will not cause any problems.


Feedthrough Behaviour

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


Examples

There are currently no examples


See Also

  • HIL Initialize

    Initializes a hardware-in-the-loop (HIL) card for use with the other HIL VIs or CL HIL Control & Simulation Loop VIs.


    Targets

    Target

    Supported

    Comments

    RCP Windows (64-bit) Target

    Yes

    Fully supported.

     

    navigation bar