LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView code module to perform simple pass/fail *IDN? query?

LabView 7.1, TestStand 3.1, NI PCIGPIB board controlling a communications service monitor and a power supply. I'm having problems with my application sync correctly between the service monitor and GPIB board. I suspect the driver. Does anyone have a simple LabView code module to perform a *IDN? with a partial (in case they change firmware versions)string comparison that I can use in a TestStand seq. At this point if failure I could pop-up and tell operator to abort test and reboot instrument. (only way I've found to clear the buffer). Note: At times this app works fine and is inconsistant in failure times/rates.
Sorry so wordy and thanks in advance.
Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 1 of 3
(2,929 Views)
GovBob,

The best example to use for simple GPIB communication can be found in the shipping examples that come with LabVIEW. The example I am referring to is called 'LabVIEW<->GPIB.vi' and can be found by using the NI Example Finder. With regards to the TestStand portion of you question I would recommend posting to the TestStand message board for better response. Hope that helps!

Craig H.
NI Applications Engineering
0 Kudos
Message 2 of 3
(2,905 Views)
Thanks for the reply Craig.
I've found I can perform a *IDN? using the Instrument I/O Assistant.vi. Ive placed this on a new block diagram and am changing it as I need. I've found in this particular case the *IDN? yields 3 tokens one of which I can use to perform a string comparison on. This will give me a boolean which I can wire to the pane for use by TestStand.
Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 3 of 3
(2,892 Views)