Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I CANN'T READ OSCOPE WAVEFORM FROM TDS210 WITH the GPIB APPLICATION EXAMPLES VI

Could you please let me know how to use this vi?
What arguments should be changed?
0 Kudos
Message 1 of 4
(3,904 Views)
Hi,

Which example are you running?. You should run the getting started VIs. Notice that the getting started VIs use the Example VIs but provided the initialization steps (that the examples lack for generality).

To execute any of these VIs. Place it on the block diagram and open it. Fill the appropriate descritor with the instrument address (GPIB::3, for example) and execute.

Also, are you getting any error messages?.

DiegoF.
Message 2 of 4
(3,904 Views)
Hi DiegoF,

Thanks for the quick response.Yes, I changed both address parameters: in "Initialize.vi" and 'Getting Started1.vi" to "GPIB::5". I am still getting messages:

"Error- 1073807195 occured at Old VISA in TKTDS2xx Initialize.vi->Getting Started1.vi
Possible reasons:
VISA(Hex 0xBFFF00A5) The interface type is valid but the specified interface number is not configured."

I designed my own VI with NI Drivers. I had the same message.
Is it the matter what kind of GPIB card I am using?
I use Keithley KPCI-488 GPIB card for PCI Bus.
I designed programs for the TDS210 Oscope using commands and queries (from "Tektronix Programmer Manual") and Keithley GPIB card.
It worked,but it took more time to design them.
Why NI drive
r examples are not working for me?
Your response will be greatly appreciated.

Thanks,

Roman.D.
0 Kudos
Message 3 of 4
(3,904 Views)
Hi,

The problem is that VISA does not support the GPIB hardware you are using. Basically, VISA needs an interface to communicate with the hardware.

This links shows the situation when using NI-VISA with HPIB boards (as an example):
http://digital.ni.com/public.nsf/websearch/E56D3D4866BE0A8A86256942006626F0?OpenDocument

You can contact Keithley support to see if they have support for this or have a workaround.

Another option is one that I found on a previous discussion forum. The problem is very similar, and this persons took the instrument driver and changed the VISA I/O calls to the GPIB calls for his hardware:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=5065000000080000000C310000&ECategor
y=LabVIEW.LabVIEW+General

Hope this helps.

DiegoF.
0 Kudos
Message 4 of 4
(3,904 Views)