Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

HP 70950a OSA

Hi Karin,

 

What do you have for development tools?

LabVIEW or Visual Basic would be the easiest way to go

 

Curt

0 Kudos
Message 11 of 16
(1,244 Views)

Hi Curt

 

I have LabVIEW.

 

Best,

Karin.

0 Kudos
Message 12 of 16
(1,238 Views)

Can I get a hint to how to do this in LabVIEW? I must admit that I haven't worked with it before.

 

Best,

Karin.

0 Kudos
Message 13 of 16
(1,223 Views)

Basicqlly each of the OUTPUT statements would be a VISA Write function and the ENTER is a VISA Read. The output of the VISA Read is a string that would be need to be converted but how would depend on the type of data you are reading (i.e. wavefolrm array, scalar, etc.). I would suggest the basic LabVIEW tutorial.

0 Kudos
Message 14 of 16
(1,217 Views)

Hi Karin,

 

You should be able to find a sample gpib VI at

C:\Program Files\National Instruments\LabVIEW #.#\examples\instr\smplgpib.llb\LabVIEW - GPIB.vi 

 

Good luck with your task

 

Curt

0 Kudos
Message 15 of 16
(1,202 Views)

it is quite simple: you need first to open the communication with the module in the OSA, not with the OSA itself.

Then it is just a matter of WRITE and READ commands.

In the attached vi I acquire the spectrum, and decided which scale (linear or dB) to use.

0 Kudos
Message 16 of 16
(1,177 Views)