LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Voltage vs time data save to file

Currently using a keithley 2182A voltmeter with labview and am able to save the voltage data to a file. But, i want to measure voltage vs time with a keithley 2182A meter.How do I get the time at which each voltage measurement is taken as a new column into the file in which I am saving the acquired voltage data.
0 Kudos
Message 1 of 9
(5,573 Views)
Hi brkavaip,
in which format do you get your voltage date? Is it a waveform? If yes you have already a timestamp, if not you can create your own timestamp. If you have both, timestamps and values, you can create a 2D array and save it with "Write to spreadsheet file" to your file.

Hope it helps.
Mike
0 Kudos
Message 2 of 9
(5,553 Views)
Thanks for the reply Mike.
Yes, I am plotting it as a waveform chart. I am now saving the voltage data to a measurement file using a 1-D array. I tried getting the time stamp too and build a 2-D array and save it to the measurement file, but seemed like the time column is not incrementing. I have included my  vi. Please have a look at it.

Regards
Bala
0 Kudos
Message 3 of 9
(5,543 Views)

Hi Bala,

here is an example for you. I added a case structure, so your values will now be saved after ten received values.

Hope it helps.

Mike

Message 4 of 9
(5,536 Views)
Hi Mike,

Thanks, it works. One thing I have been trying after you sent this is to keep saving to the spreadsheet until I stop the data acquisition process. The vi that you sent asks for a file name after 10 readings have been taken. Do you have any suggestions for this.

Thanks for your help.

Bala


0 Kudos
Message 5 of 9
(5,515 Views)
Mike,

dont consider my previous post. i figured it out.

Thanks for all the help
Bala
0 Kudos
Message 6 of 9
(5,512 Views)

Hi

I need to use labview for Keithly6220 and 2182A if any one has labviw code for these two mechines please send

 

thanks

Chaminda 

0 Kudos
Message 7 of 9
(5,318 Views)

Currenly use 2182A and unable to save voltage data  using labview please help me,

 

thank you

chaminda 

0 Kudos
Message 8 of 9
(5,317 Views)

Hi Chaminda

 

 Check the Instrument Driver Network for VI's written to communicate with your devices. Once you have acquired the data and brought it into LabVIEW you can use the above examples for saving it.


Thank You
Eric Reid
National Instruments
Motion R&D
0 Kudos
Message 9 of 9
(5,293 Views)