Kevin,
Which version of LabVIEW do you have?
There are two ways of controlling your oscilloscope from LabVIEW, one is using the VISA functions (instrument i/o palette in LabVIEW)and another one is using an already built instrument driver, which you can download by going to zone.ni.com, and then click on "resource library" at your left... then click in "instrument drivers", and then in "downloads" and then type in the "additional keywords" box type "tds 3052" and click SEEK... you will find a link for your instrument there... you can download that instrument driver and it fully functional with LabVIEW, now... the truth is that I have always used this drivers with a GPIB interface in the computer, in this case is only going to be by TCP/IP... so you can try to adapt the addresses instead of using an instrument type address, use the TCP/IP instrument type address and give it a try to see if it works. The address type for TCP/IP is stated below.
First you need to have the latest version of NI-VISA installed, 2.5.2, which is shipped with LabVIEW 6i (version 2.5.0 and then download a patch for 2.5.2).
Our solution for controlling instruments with Ethernet ports is NI-VISA.There are two possible situations:
1) Instrument supports the VXI-11 protocol.
The VXI-11 protocol was created to control instruments over Ethernet using the GPIB style. It has nothing to do with VXI, but it was there were it got approved.
NI-VISA supports VXI-11 instruments, to the point that the only change in the instrument driver written with VISA is the identification string. Instead of using GPIB::1::INSTR, you can use TCPIP::ip address::instrument name::INSTR. (For example, with the Tek TDS 3054, the string would be: TCPIP::130.130.130.1::gpib0,1::INSTR). (Note that 'gpib0,1' has nothing to do GPIB..its just a name given to the instrument..it could have been just 'tds3054' also if the instrument vendor chose to do so).
2) Instrument DOES NOT support the VXI-11 protocol.
In this case, you can still use NI-VISA to talk to the instrument using the NI-VISA Ethernet Sockets functions. However, you would have to take care of the specifics of the protocol used for the instrument. The instrument manufacturer should provide you with the details on how to control the instrument (commands, parsing, etc.).
*** Tek's Scopes ***
Tek introduced an ethernet interface for some of their scopes. We have a TDS3054 scope from Tek that is VXI-11 compliant. Since the TDS3054 is VXI-11 compliant, we used it at NIWeek to show how you could control it using the same code written for the instrument with the GPIB interface, by just changing the identification string.
NI-VISA 2.5.2
NI-VISA 2.5.0 introduced the support for instruments with Ethernet ports. Notice that LabVIEW 6i ships with the older 2.5.0 version. The patch to upgrade it to 2.5.2 is called NiViEnet.dll and is located in the ftp site at:
ftp://ftp.natinst.com/support/visa/drivers/win32/2.5/patch/
So you can try this Kevin and see if it works for you, contact us back (www.ni.com/ask) if you need further assistance.
Good luck!...
Nestor Sanchez
Applications Engineer
National Instruments
Nestor