05-31-2012 03:06 AM
Hi everyone,
I'm trying to talk to SR830 through labview as well, but I'm experiencing a lot of difficulties. So far, MAX can recognize my SR830, so that's good.
I wrote a VI to collect and graph R_data using the SR830_Example VI from the driver download (attached). Running it I don't see any output. Highlighting the diagrams while running tells me that the SR830 subVI has been executed, even though I don't see anything on the channel displays.
Then I went back to run the SR830_example VI. During the highlight mode execution, the green arrow stops on the SR830 subVI, and again nothing is shown on the front panel.
I'm pretty confused as to what the correct behavior I should expect from the SR830_example...I've been assuming that the VI takes a sample and display them in the appropriate channel displays...
Any help is appreciated, thanks!
-Al
05-31-2012 10:42 AM
I have only looked briefly at your VI, but I think I know the problem.
The SR830 is storing the data in its internal buffer, at the end of the scan these points will be downloaded to your computer. Thus, there is no immediate update of values on the front panel. The scan length is determined by how many data points you are acquiring along with the sampling rate.
Check out the following post,
at the bottom of the discussion there is an updated program for acquiring data from the SR830, if you have LabVIEW 2011. If you have an older version of LabVIEW, try the program a few posts above the last one. You can turn on context help if you need any information.
Cheers,
mcduff
03-06-2014 04:44 AM - edited 03-06-2014 04:45 AM
Hi
I have downloded lock_in.vi 51 KB program in labview but its keep asking me about the file '' state_control.ctl'' 😞 can you please help me to find out what is this file and where i can find it .
thank you
03-06-2014 09:33 AM
It's probably in the library, SR830.LLB 209 KB.
When it is scanning for that file, open the library and select it.
Cheers,
mcduff
12-06-2019 04:10 AM
Hi S.Kakibe,
I am facing the same problem with SR830. I made a simple program to read the output X using GPIB. This program works well on another computer, but not on mine. It is showing error 30. I have checked with NI MAX. The instrument is identified there. Codes are also running well. I am attaching my program's screenshot for convenience. Can you please tell me how can I resolve it?
Thanks in advance..
rimi009
12-06-2019 06:14 AM
You have nothing in GPIB address. This need to match the address set up on the SR830
Ken
12-07-2019 03:52 AM
Hi.. actually this is just the program screenshot. I have put a GPIB address while running the code. In my case, it was 8 which I found from the instrument by pressing the 'setup' button. I was guessing something (just a wild guess), I have windows 8 in my pc, could it be the issue? because the other pc has windows 10 in it.
Thanks in advance..
rimi009
05-30-2024 05:22 AM
Can you help me how to download the code?
05-30-2024 07:45 AM
Can you help me dowloading the code for lock-in amplifier? I have a problem in this.
05-30-2024 08:20 AM
Hi Subho,
@Subho26 wrote:
Can you help me dowloading the code for lock-in amplifier?
There are several files attached to those old message and I tested to download several of them: they are all available for download…
@Subho26 wrote:
I have a problem in this.
Which problem do you have with downloading?