01-20-2010 04:48 PM
Hi everyone,
I want to acquire data from Stanford Research 830 Lock-In Amplifier through GPIB 488.2 bus. I have downloaded the intrument driver from the following link. And I can read the data from the instrument buffer. The problem is that how to read and show data in real time, and how to generate the associated time signal which will be plotted in X-axis? And I don't know how to save the data into a file, like a spreadsheet.
01-21-2010 05:14 AM
It seems like you require some training in LabVIEW before you program your application. Have you gone through the Getting Started with LabVIEW PDF document that is linked from the Getting Started window? Also, be sure to go through the 3-hour and 6-hour courses over here:
http://www.ni.com/academic/labview_training/
Also, be sure to go through the examples in LabVIEW (Help->Find Examples); all your queries have answers in there.
01-22-2010 02:10 PM
Hi Adnan,
Thanks for the reply, I have gone through the Getting Started With LabVIEW PDF. But still have no idea about the real time data display. The SR830 intrument drivers can be used to read one data point or multiple data points from the instrument buffer at one time. But that takes quite a long time. I am not sure it is because the time used to write data into the buffer.
Has anyone tried to acquire data from SR830 in real time?
Thanks,
01-25-2010 11:57 AM
01-25-2010 12:22 PM
Hi David,
Thanks for the reply. I think the current transmission rate is far below the GPIB limit. Every time I acquire a few data points, e.g. 100, from the instrument data buffer, I have to wait for about 10 seconds for the LabVIEW to display them.
01-25-2010 12:45 PM
What do you have your sampling rate set to and have you looked into the FAST command?
-AK2DM
01-25-2010 12:59 PM
01-25-2010 01:47 PM
Very good, just thought I'd check regarding rate and FAST mode.
-AK2DM
02-09-2014 07:14 PM
Hello,
I am trying to acquire data at 521 Hz with Fast2 mode, but it is sending the data in floating point number and when I display them, I see weird characters. How did you achieve this.
If could have the original data in binary format I would extract the value from this. I am using kusb 488b GPIB cable and in program, after sending the commands according to mauel, I put the recieve command in a while loop but it didn't work. Is it because labview taking the data in ASCII format so interpret the coming data in this way and turning them in to weird characters.
Regards,
Mustafa.
02-10-2014 12:38 PM
Tahomançanzi
You resurrected a post that is four years old. Also, this question is related to instrument control and should be posted to this forum instead.
http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/bd-p/140
Are you using the LabVIEW instrument driver for the SR830 (linked here)?
http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1536