11-02-2009 04:01 AM
09-21-2017 06:31 AM
Hello
I am using LABVIEW Program to connect Lock-in amplifier. I need to measure the voltage of my sample at two different points- one with mV and other with nV. To obtain voltage value for both, I want to add auto gain to my program. Can you please help me to find auto gain function in Labview so that I can improve the sensitivity of my program.
Thank You
09-22-2017 10:54 AM
Hi urvabot,
First I would recommend making a new post, as this one is from a couple of years ago and a new post will have more visibility.
Second, there is a gain function that comes with the LabVIEW Control Design and Simulation Module Toolkit that may be what you are looking for:
Gain Fuinction: http://zone.ni.com/reference/en-XX/help/371894F-01/lvsim/sim_gain/
Thanks!
09-24-2017 12:02 AM
Hi Maura,
Thanks for the suggestion. I'll post the question again.
On clicking the link which you mentioned I found the error message. Is there any other way by which i can get the autogain vi.
Thanks
09-24-2017 12:18 AM
Maura had hidden characters at the end of the link that caused it to break. Here is the non-broken link.
http://zone.ni.com/reference/en-XX/help/371894F-01/lvsim/sim_gain/
09-24-2017 12:25 PM
That link will not help you. You need to go to SRS website and download the manual for the lock-in. In the manual you will find the autogain function which must be sent over the VISA interface. You should set up some sort of Status register to tell when the operation is complete.
Since you seem new to LabVIEW I recommend you download the driver from the instrument driver site and see if the autogain function is included. A long time ago I posted a SRS lockin program on the discussion forums that had the autogain function. Warning it is not my best work and it was when I was a beginner in LabVIEW. You can try that also. (I am not posting the link to it because I do not like the program, you can find it and use it at your own risk.)
mcduff
09-27-2017 01:53 PM
Hi
The drivers for SRS830 are also on thinksrs site. From memory the command for autogain with SRS830 is AGAN
The error you might have is that the AGAN is valid only if the time constant is smaller or equal to 1 sec.
Regards