01-09-2013 10:44 PM - edited 01-09-2013 10:45 PM
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
01-10-2013 07:30 PM
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
01-10-2013 07:37 PM
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
01-11-2013 05:51 PM
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
01-11-2013 07:04 PM
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
01-14-2013 01:39 PM
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
01-14-2013 03:46 PM
Hi Dayna,
Thanks for your kindness anyway. I will try.
Cheers,
Ivy