LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make sure that the auto gain function of SR830 is completed?

Dear all,

 

I am using the Labview to control the SR830 Lock-in Amplifier to measure some minor signals. In the mannual of SR830, it says "Check the command execution in progress bit in the Serial Poll Status Byte (bit 1) to determine when the function is finished", I did so using the command *STB?, but the serial poll status byte never turns 1. I don't understand. Is there some other ways to determine that the auto function is finished? 

 

Cheers,

Ivy

 

0 Kudos
Message 1 of 7
(3,041 Views)

Hi Ivy,

 

The Instrument Control forum may be the more appropriate location for this post: http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/bd-p/140

 

Additionally, the manufacturers of your device may have more information about this.

 

What drivers are you using?

 

Dayna P.

Applications Engineer
National Instruments

0 Kudos
Message 2 of 7
(3,021 Views)

Hi Dayna,

 

Thanks for your reply. The drivers I am using was downloaded from http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=240C113D3165071BE0440003BA7CCD....

 

You are right about the category.

 

Cheers,

Ivy

0 Kudos
Message 3 of 7
(3,018 Views)

Hi Ivy,

 

Are you using the device drivers or the VISA drivers to send the command?  I recommend using the VISA Read and VISA Write VIs to write the *STB? command and read the status byte.  

 

Hope this helps!

 

Dayna P.

Applications Engineer

National Instruments

 

0 Kudos
Message 4 of 7
(2,994 Views)

Hi Dayna,

 

Thanks for your reply. I am using the VISA Write VI to write the *STB? command, but the status byte never turns 1 to mean the auto gain function is finished and nothing is in progress. So I cannot decide whether the output is stablised or not. That's the problem.

 

Cheers,

Ivy

0 Kudos
Message 5 of 7
(2,988 Views)

Hi Ivy,

 

At this point, it seems as though your serial communication is working.  It may be possible that your device isn't working properly.  I recommend that you contact the manufacturer.

 

Dayna P

Applications Engineer

National Instruments

0 Kudos
Message 6 of 7
(2,959 Views)

Hi Dayna,

 

Thanks for your kindness anyway. I will try.

 

Cheers,

Ivy

0 Kudos
Message 7 of 7
(2,951 Views)