LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String Output to Front Panel

To start, I am very new to LabView.

 

I am trying to create a cable checker.  I am using a NI USB-6501 D/O.  The attached code outputs on a pin.  I check to see if it does show, if not I check 6 others. 

 

I would like to get away from indicators and have a common string indicator on the front panel that would output error messages.

 

For example, if task Port 1 INPUT 1 had a "T" on  DAQmx "Read"  I would like a string output on the front panel to say "Pin 1 crosswired to pin 2."

 

I am assuming this has to be some kind of array that a specific line could be called out.

 

Any other advice would be greatly appreciated. 

 

Thanks in advance.   

0 Kudos
Message 1 of 2
(2,823 Views)

For a start, you state and your code says if you have a false input for Data then look at the others, at  the moment everything is being examined simultaneously. If you want to keep this then just integrate all of the data indicators from your code into a single array and then feed it into my code where the array constant is, this should give you an indea of how it could work.

0 Kudos
Message 2 of 2
(2,790 Views)