11-19-2009 04:12 AM
Hi,
I am using Lock-In Amplifier SR85. I am running a sweep for 10 seconds with 32Hz scan rate , so i get the waveform data in the form of 320 points, and not voltage vs. time(i am writing the data to a spreadsheet with transpose and then saving it as .csv which opens in excel too). I am attaching the folder containing "SR850 Appplication Function.vi".
Kindly comment on it and tell me:
how to get the data as voltage vs time?
Thanx in advance
Zia
11-20-2009 06:16 AM
Hi Zia
Had a look at the driver you have. The code in the driver only supplies an array of doubles for the actual data, no timestamp information. You'll have to create the timing yourself by modifying the code. What you can do is change the code so that a timestamp is created when the acqusition starts (t0, start time). Get Date/time in seconds.vi is one option. You then already know how many samples and at which frequency you acquire data so you can calculate the time distance between samples (dt). You can then extract the array from the trace cluster (us Unbundle) and with the help of t0 and dt create a waveform, which will display your data against time.
Hope this helps
David
NISW