Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to configure GPIB and LABVIEW

Hi,
 
I am trying to configure NI PCI-GPIB card and Labview 8.2.  There are a couple of issues I can not understand and hope someone can help. 
 
First the problem:  I am trying to communicate with a TDS220 (example2 tktds2xx.vi) and I get: -1073807346 error code
 
Property Node in TKTDS2XX Write.vi->TKTDS2XX Set-Query SESER.vi->TKTDS2XX Set Conditions for SRQ.vi->TKTDS2XX Example2.vi.  From my reseasch, this points to a VISA error.
 
What I have tried:  I have used MAX and the trouble shooter does not report any errors, and with this I can communicate with the TDS220 manually.  However when I try to run the GBIP analyzer, I get a "MISSING CARD ERROR" not sure why perhaps someone knows?
 
In Labview, I have used VISA find resource that reports; GPIB0::INTFC & GPIB0::5::INSTR.  So it seems the GPIB is possibly working but I am not sure what the problem could be.  Any help will be much appreciated.
 
Kim
0 Kudos
Message 1 of 2
(3,206 Views)
You get the missing board error when you don't have the '+' version of a GPIB controller. These versions have a built-in GPIB bus analyzer. You only have the abiltity to run NI-Spy with a normal PCI-GPIB board. The -1073807346  error code means "The given session or object reference is invalid." The front panel VISA Session control has an arrow on the right side that you can click on to get a list of available resources. You should be selecting GPIB0::5::INSTR. What I think is the real problem though is something I see in the 7.0 driver I downloaded. In the TKTDS2XX Initialize.vi, there is the 'Old VISA Open' function. This does not work with new versions of VISA and should be replaced with the VISA Open on your pallete. When you do this, the string control called "Resource Name (GPIB::1)" will get disconnected. That's okay. You want to delete this control. You will also want to right click on the control called "VISA Session (for class)" and select Show Control. You will then go to the front panel and connect this VISA Session control to the upper left most connector on the connector pane. You have now replaced the string control with the VISA Session control. Try that and see if the error goes away.
Message 2 of 2
(3,202 Views)