Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I communicate to TDS460A via GPIB-USB-HS?

I need to use labview to capture data from the scope but I don't know how to do it.
Can someone please help me or give me some examples?
Thanks
0 Kudos
Message 1 of 12
(5,755 Views)

Go to the Instrument Driver Network, do a search, and download the driver for you version of LabVIEW. Move the unzipped driver to your \instr.lib folder, restart LabVIEW and the functions will be on your Instrument I/O>Instrument Drivers palette. It includes a top-level example called TKTDS 420 Getting Started. The version of the driver that I downloaded has a problem in that the TKTDS 4XX Initialize function has "Old VISA Initialize". This function is incompatible with newer versions of LabVIEW and VISA. It needs to be replaced with the VISA Open on the Instrument I/O>VISA>VISA Advanced palette. When you do this, the string control called "Instrument descriptor (GPIB::4) will need to be deleted and you need to wire the VISA control called "VISA Session (for class)" to the upper left connection on the connector pane.

0 Kudos
Message 2 of 12
(5,738 Views)
Dennis,
Thanks for your help.
I've followed all the step you show me but I can't run it.
I got confused at the wiring part of VISA session.  Replace initialize.vi with visa open I got an error, do I need to delete the T/F for the ID query for the initlaize.vi.
Thanks,
Steve
0 Kudos
Message 3 of 12
(5,734 Views)

Well, I had typo in my post where I said you need to replace "Old VISA Intialize". I meant to say "Old VISA Open". This is the very first function on the diagram of TKTDS 4XX Initialize. Your diagram should like like the attachment when done. If it does and you still get an error, what is the error code?

Message Edited by Dennis Knutson on 05-16-2006 12:03 PM

0 Kudos
Message 4 of 12
(5,729 Views)

Hello,

I have a same problem. However, when creating logic that you gave I am unable to connect Graphs (error out) to VISA (open) and VISA (write). What could be the problem?

Thank you!

0 Kudos
Message 5 of 12
(5,477 Views)

I don't understand. There is no VI called 'Graphs' in the instrument driver. What is this VI? Where did it come from? Which terminal are you trying to connect to on the VISA Open and VISA Write? What happens when you try to make a connection?

Why don't you post your code or at the very least, an image of the block diagram.

0 Kudos
Message 6 of 12
(5,469 Views)

Hello,

As you can see I am beginner with LabView, with that being said my knowlerdge is limited.  Pretty much what I am trying is to get the reading of the scope into the LabView screen.

Thank you very much for your help in advance!

 

0 Kudos
Message 7 of 12
(5,464 Views)
 

You have some sort of cluster that you want to connect to but I have no idea what the cluster is unless you post the VI. The only thing you can connect to the error in/error out inputs of the VISA Open and VISA Write are the error in and error out control/indicator that are on the Array, Matrix, & Cluster palette.

You should be starting with the TDTDS 420 Application Function to get an idea of how to use the functions in the driver. I don't see the point of getting the driver and then adding a whole bunch of separate VISA Writes to configure the instrument. Go to https://www.ni.com/en/support/downloads/instrument-drivers.html and read the links about what a driver is and how to use a driver.

0 Kudos
Message 8 of 12
(5,448 Views)
Ok, I'll go over that.
 
Thank you very much!
0 Kudos
Message 9 of 12
(5,445 Views)

Hello Dennis,

Quick question, those 2 symbols that I cannot connect in mine file, what are those actually? In another words, what did you use for them?

Thank you!

 

P.S. Here is my file.

0 Kudos
Message 10 of 12
(5,405 Views)