LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the code?

Greetings!!

I am a summer trainee in CWC in Finland and my task is to change
vector analyzer to spectrum analyzer in our measurement system.
I have a problem. How to change the previously LabView code that it
control the Agilent PSA E4446A Spectrum Analyzer properly.

I do not know from where I should start...
I would be very thankful for any pieces of advice.

Yours,
Harri
0 Kudos
Message 1 of 4
(2,635 Views)
Hi,

I'm sure you're gonna need this kind of info (instrument driver) : http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/B7C4A636069D1A3686256A720030005C?OpenDocument

You'll probably have to replace all the commands already used by the ones your instrument can understand and answer to.

Which LV Version do you use ? Serial or GPIB communication ? Could you send the previous application (if it's not too big) so that we can help you a bit more on what you should do ?

Hope this helps already !
Julien
0 Kudos
Message 2 of 4
(2,634 Views)
Hi!

Thanks for your advice!!
I use LabView 7 and the GPIB address of the device is 8.
Should I use VISA or IVI ? Or are they the same thing ?
There was used VISA in the previous code.

I am sorry, but I can't send the application to you because of
the letter of confidentiality.

=Harri=
0 Kudos
Message 3 of 4
(2,634 Views)
You can use either the VISA functions or IVI or GPIB (IEEE 488.2).
- VISA functions are low-level functions for Serial, LPT and GPIB communications.
- IVI are generic drivers for all kind of instruments.
- GPIB are interface specific and enables you for example to use the SRQ line in order not to take too much resource on your computer...

The instrument driver that you can download with the link I've send is probably the best thing to use if you're not familiar with this kind of communications !

That's all I can do from here. Hope this helps !
Greets,
Julien
0 Kudos
Message 4 of 4
(2,634 Views)