LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Instrument Replacement GPIB

I have following problem.

I try to replace an old wavetek 172B with a Agilent 3512. So Labview should work as a GPIB Translator.

 

My code should behave like a 172B Wavetek and forwarding all GPIB commands to the Agilent 3512.

 

What i use is a GPIB-USB-HS.

Now, how do i create a proper programm which don't act like the system controler? Or is this  not possible with labview14?

 gpipreciever.png

So thats my code so far and it works. But when i recieve a message then i don't get any adress from the trasmitter, so i can't send any answer back.

Also, this code produce Error 6 as long as ther is no message to recieve.

 

Sorry for my bad english and Thanks for your help

 

0 Kudos
Message 1 of 5
(3,262 Views)

I don't understand what you are trying to do.

 

If you already have another test program which is controlling the Wavetek, simply take that program and use it to create another program and in this second program translate the Wavetek commands and query to one for the Agilent 3512.

0 Kudos
Message 2 of 5
(3,231 Views)
Making a second GPIB interface a non-system controller is a function of the controller settings. This does seem like a convoluted approach and I don't understand your comment about getting an address from the transmitter. Do you mean from the new instrument? Do you need to determine the address of the primary controller?
0 Kudos
Message 3 of 5
(3,219 Views)

Sorry my bad.

The wavetek is working over GPIB in a old testsystem which is controlled over a terminal and programed with mentor (old programing language).

So my task is, to replace the wavetek 172B because its obsolet.

The KeySight 33500B will be the reblacement instrument.

Now that i can replace the wavetek i need a GPIB Translator, which recieve the commeands from the testsystem controller and translate it for the KeySight.

My Labview Program shall be this GPIB Translator so it has to act like the wavetek 172B.

 

So my question is, how do i configure/program a proper GPIB communication in which Labview is a Listener/Talker but not the system controler.

Shall i use VISA or GPIB functions and how will such a proper communication look like?

0 Kudos
Message 4 of 5
(3,210 Views)
LabVIEW is not a talker /listener or system controller. The USB-GPIB-HS fills that role and you can change it from MAX.

My opinion is that it would easier to modify the original program or just buy another Wavetek from the used market.
0 Kudos
Message 5 of 5
(3,198 Views)