LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stanford SR 850 Lock in Amplifier

The driver is available from NI. But you might have this driver already installed as far as I understood from your first post. (http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=2172)

 

Doing it from scratch means use the VISA session VIs (Palette Instrument I/O > VISA). With VISA you  can handle GPIB and Serial (e.g. RS232) data communication. If you are sure that you only GPIB or only RS232 then you could also take GPIB VI or the Serial VIs on the Instrument I/O palette from LabView.

 

The C or QBasic examples can be helpfull. Somewhere in the code are strings send to the GPIB or Serial Port. You can send these strings using the VISA Send VI. These command strings are instrument specific and are described in the SR850 manual.

 

Looking at your LabView examples (open the subVI if necessary) you will find these command strings as well as the VISA or GPIB or Serial send VI.

0 Kudos
Message 11 of 13
(1,960 Views)

Hi, for the subvi in this topic . I also have this problem now, I want to use the RS 232 port to get the data from SR 850 lock in, because we don't have the data acquision card. Can I directly use the driver shown in the website of NI which is for GPIB actually??

 

Thanks a lot!

0 Kudos
Message 12 of 13
(1,551 Views)

Hi Lynn0630,

 

You could definitely try using that driver but it might not function as expected.  According to the programmer's manual for this device, the GPIB and RS232 commands are very similar but there are some discrepancies here and there.  I would double check the commands being sent, as well as the syntax, to make sure that it meets the 850's requirements for RS232 communication.  You can find the manual here.

 

Hope this helps!

 

Regards,

 

Stephanie R.

National Instruments

Stephanie R.
National Instruments
0 Kudos
Message 13 of 13
(1,539 Views)