LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Input VI boolean indicator

I am using the Example VI Digital Input as part of Fieldpoint.
 
It works fine on its own.
 
That is, I can place a voltage across the terminals of the DI module and the respective Boolean LED lights up on the front panel.
 
I'd like to use the VI as a subVI for another program.
 
I wired the connectors of Digital Input.VI connector pane such that the Fieldpoint IO Input and Boolean indicator array have connectors.
 
I placed the Digital Input.VI in the block diagram of another VI and created an indicator on that VI to see the status of the array within the Digital Input.VI.
 
Running the higher level VI and the boolean array on it is disabled (greyed out) but the boolean array on the Digital Input.VI is working properly.
 
Any ideas?
 
I'm just looking for a way to obtain a status bit type response to be used elsewhere.
If one of the DI module channels is set high then the bit would be set (LED on) in my higher level VI.
 
0 Kudos
Message 1 of 4
(2,567 Views)

Alright, found that if I just take out the guts (Fieldpoint IO, FP Read, Type, Boolean indicator) and use that in my VI all works well.

Now all I need to do is determine what bits are set and act on set bits.

 

Message 2 of 4
(2,534 Views)

Why can't I give myself a "5" ?

JK   😉

 

0 Kudos
Message 3 of 4
(2,533 Views)

 

5 * to you

0 Kudos
Message 4 of 4
(2,487 Views)