Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Spectrum analyzer and Tunable laser GPIB programming

Hi

I connect my tunable laser to my PC and my spectrum analyzer is connected to my tunable laser. Is it possible to write  program while in labview while I want to get data from my spectrum analyzer and simeltenously control my tunable laser?  

 

 

Thanks

Masih

0 Kudos
Message 1 of 11
(4,105 Views)

GPIB control is essentially sequential.  Write to A, then write to B, etc.

0 Kudos
Message 2 of 11
(4,105 Views)

Hi 

I have one GPIB card and I want to contorl two optical device( optical spectrum analyzer, tunable laser) , is it possible?

if yes, could you send two me an example?

thanks

Masih

0 Kudos
Message 3 of 11
(4,102 Views)

Of course it's possible. I would suggest you search for a GPIB tutorial before starting.

 

In LabVIEW, you would most often be using VISA commands and you merely have to provide a different VISA Resource Name for each instrument - i.e. GPIB0::3::INSTR AND GPIB::4:INSTR where 3 and 4 are the GPIB addresses. You don't even have to type them into the control. You use the control's pull-down menu to select from a list. The list is created when you do a scan for instruments in MAX. This should all be explained in the Getting Started document that comes with the NI GPIB controller.

0 Kudos
Message 4 of 11
(4,099 Views)

Hi

I appreciate the time you took to answer my questions.

 

Thanks

Masih

0 Kudos
Message 5 of 11
(4,092 Views)

I am trying to find some related tutorial about VISA function but I can not find. I do not know how to read data from other instrument such as spectrum analyzer.Could you help me?

 

Thanks

Masih 

0 Kudos
Message 6 of 11
(4,091 Views)

In your other post, I gave a link to the Instrument Driver Network. There is a link there to a getting started with instrument control tutorial. Have you done that?

0 Kudos
Message 7 of 11
(4,085 Views)

Hi

 

Could you send that link to me again, please?

 

Thanks

Masih

0 Kudos
Message 8 of 11
(4,081 Views)

This is your other post. You could have simply clicked on your login name.

0 Kudos
Message 9 of 11
(4,074 Views)

Hi 

Now, I can connect my tunable laser to the labview and control it, also I can connect my spectrum analyzer to the labview and read the data from it. My question here is, how I can send data to the tunable laser and read data from spectrum analyzer simultaneously?    

0 Kudos
Message 10 of 11
(4,055 Views)