Displaying the State of a Trigger Line as an Array
- Updated2023-02-17
- 2 minute(s) read
Displaying the State of a Trigger Line as an Array
You can assess the state of a trigger line by using niSync Properties to display the state of a trigger line.
- Place niSync Properties on the diagram.
-
Click on niSync Properties, select
Trigger State, and select the trigger line you would like to evaluate as the first property. You can select the following trigger lines:
- PXI_Star Line State
- PXI_Trig Line State
- PXIe_DStarC Line State
- PFI Line State
- PFI_LVDS Line State
- PXI_Star Peripheral Line State
- PXIe_DStarB Peripheral Line State
- Place the Number to Boolean Array function from the Conversion palette ( ) on the diagram. Wire the Number to Boolean Array function to the first parameter of niSync Properties.
-
Wire an indicator to the output of Number to Boolean Array.
A Boolean array can be placed on the front panel.
- Resize the array on the front panel so that the number of rows matches the number of lines in the chassis. For example, if you are trying to display the state of PXI_Star lines in a chassis with eight PXI_Star lines, the array should have eight Boolean indicators.
Tip You can place the Reverse 1D Array function ( ) on the diagram to reverse the Boolean array. This displays the array with the left-most bit of the bitmap as the first element of the array instead of the last.