From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-12-2017 03:39 PM
Hi there, i am using Labview 2016. I am getting voltage and time values from oscilloscope to labview using "write to measurement file". i am using option " X values (Time column)- one column per channel" and saving it as .lvm file
Data i am getting like following
Time Voltage
0.000000 0.500000
2.000000E-10 0.580000
4.000000E-10 0.660000
6.000000E-10 0.740000
8.000000E-10 0.820000
1.000000E-9 0.880000
1.200000E-9 0.940000
1.400000E-9 0.980000
1.600000E-9 1.040000
1.800000E-9 1.080000
2.000000E-9 1.120000
2.200000E-9 1.160000
2.400000E-9 1.200000
2.600000E-9 1.240000
2.800000E-9 1.280000
3.000000E-9 1.300000
3.200000E-9 1.320000
3.400000E-9 1.340000
3.600000E-9 1.340000
3.800000E-9 1.360000
4.000000E-9 1.360000
4.200000E-9 1.340000
4.400000E-9 1.320000
4.600000E-9 1.300000
4.800000E-9 1.280000
5.000000E-9 1.260000
5.200000E-9 1.240000
.
.
.
1.194000E-7 0.000000
1.196000E-7 0.000000
1.198000E-7 0.000000
All time column have values in E-9 to E-7. I didn't understand either this time in seconds, minutes or hours. E-7 means 0.0000001....
But the actual time to save this data was more than 1 minute i believe.
Can anybody explain the format of data saved in .lvm file from oscilloscope?
Thanks
07-12-2017 04:35 PM
@mubmeh wrote:
Hi there, i am using Labview 2016. I am getting voltage and time values from oscilloscope to labview using "write to measurement file". i am using option " X values (Time column)- one column per channel" and saving it as .lvm file
Data i am getting like following
Time Voltage
0.000000 0.500000
2.000000E-10 0.580000
4.000000E-10 0.660000
6.000000E-10 0.740000
8.000000E-10 0.820000
1.000000E-9 0.880000
1.200000E-9 0.940000
1.400000E-9 0.980000
1.600000E-9 1.040000
1.800000E-9 1.080000
2.000000E-9 1.120000
2.200000E-9 1.160000
2.400000E-9 1.200000
2.600000E-9 1.240000
2.800000E-9 1.280000
3.000000E-9 1.300000
3.200000E-9 1.320000
3.400000E-9 1.340000
3.600000E-9 1.340000
3.800000E-9 1.360000
4.000000E-9 1.360000
4.200000E-9 1.340000
4.400000E-9 1.320000
4.600000E-9 1.300000
4.800000E-9 1.280000
5.000000E-9 1.260000
5.200000E-9 1.240000.
.
.
1.194000E-7 0.000000
1.196000E-7 0.000000
1.198000E-7 0.000000
All time column have values in E-9 to E-7. I didn't understand either this time in seconds, minutes or hours. E-7 means 0.0000001....
But the actual time to save this data was more than 1 minute i believe.
Can anybody explain the format of data saved in .lvm file from oscilloscope?
Thanks
You'll have to more info, like what make/model of the oscope, and - most importantly - the code you are using to capture the data. (Or, if you are using a driver, where can we find it?)
07-13-2017 04:02 AM
Hi Bill, thanks for your reply.
I am using RIGOL DS1052E (DSO).
Circuit diagram which i am using is following
I used instrument drivers to find drivers for my DS1000 series oscilloscope.
07-13-2017 04:16 AM
07-13-2017 04:39 AM
Hi GredW, thanks for your reply.
Yes, i think you are right.
Oscilloscope is showing 10 ns. I tried to change it when i was running it through my laptop but it couldn't. Also, i changed time scale before saving waveform data but as soon as i connect my laptop to oscilloscope, it again automatically changes to 10 ns.
Do you think is there problem in my code which i am using?
I am new to Lab View, your little will be very fruitful for me.
Many thanks again.
07-13-2017 04:53 AM
Hi mubmeh,
as soon as i connect my laptop to oscilloscope, it again automatically changes to 10 ns.
When the scope changes its setting just by plugging in a USB cable then your VI isn't the problem.
When the settings change when you run the VI then it is…
You will find all needed commands in the manual of your Rigol. Compare the commands and their parameters with all settings used in your device driver VIs…
07-13-2017 05:49 AM
Hi GredW, sorry i can't communicate you what i want to say. Yes, problem is when i run the VI, sample time rate changes automatically on the oscilloscope, otherwise it's okay.
Many thanks,
Regards
mubmeh
07-13-2017 05:50 AM
I see that maybe you are new to instrument control. Dig around the manual, then see if you can come up with a list of commands that mimic what you want to do by manually pushing buttons, twisting knobs and stuff. See if you can get it working. We're always here to help if you need it. 🙂
07-13-2017 05:51 AM
Many thanks bill.