05-08-2012 04:23 PM
I'm using the LABVIEW driver for the SR830 lock-in amplifier and trying to use the data buffer, but I'm having a problem with it. The buffer seems to be recording the correct number of points, but it returns a 0 for all points greater than ~2880 (see the attached file). Does this sound like a problem with LABVIEW or the SR830?
05-08-2012 04:39 PM
That would be another SRS Feature designed to remove your hair in large chunks.
05-08-2012 04:44 PM
I have used the SR830 buffer to its "full potential" without any problems; without seeing your program it is difficult to acertain the problem.
Try the program at the bottom of the following link, http://forums.ni.com/t5/LabVIEW/Can-driver-for-SR830-and-SR844-be-used-interchangeably/m-p/1702554#M... (The last entry in the discussion)
I wrote it for the SR830 and have used it without problems; I am no LabVIEW expert, but it may help you. Put context help on to read what the buttons do on the front panel.
Cheers,
mcduff
05-08-2012 05:05 PM
Jeff - Do you know what the "feature" is or how I get rid of it? It's definitely doing what you said it would.
McDuff - Thanks, but apparently I'm a verison behind so I can't open your program. I'm using the VI that I got from the NI page here. It doesn't seem to be doing the trick, though. When you made yours did you start with that one or from scratch?
05-08-2012 05:11 PM
There is an older version on that same discussion page.
Although, I have not had problems with it, it is not as efficient as the newer version. I believe the old version is 8.2.
Note when converting to a higher version, some string indicators become black, just use the white paint brush to get rid of this.
mcduff
05-08-2012 05:23 PM
One final suggestion.
Check the VISA Read timeout on the program you are using. The output buffer for the SR830 is only 256 characters, I think, downloading data from it is extremely slow. It may possible that the VISA read function is reaching its timeout limit before all of the data has been downloaded.
mcduff
05-08-2012 05:24 PM
The version 6.5big VI seems to work fine. I'll have to do some more tests with it tomorrow.
Thanks a ton! I don't know why the other VI doesn't work, but I'm glad this one does.
05-08-2012 05:31 PM
Glad it helped.
Let me know if you have any problems with the program. (Since I wrote it a long time ago I may remember enough to help.)
Cheers,
mcduff
05-09-2012 11:03 AM
McDuff,
Do you know a quick way to remove the prompt to press "Enter" ? I want to use as a subVI, so I'd like to be able to just input the values and let it run without having to manually start the scan.
05-09-2012 11:19 AM
Nevermind,
I found a few ways to do it easily. Thanks again for everything. I'll tell you how it works out when I'm done.