LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time for scans

I'm using PCI-MIO-16E-1 and intermediate DAQ vi's in LabVIEW to
simulate an oscilloscope. My program is also able to write the obtained
data into a spreadsheet file. The data should simply be voltages. The
file's columns represent voltages (scans) from different input channels.
The rows are supposed to be voltages at different times. My problem
is I don't know how to extract the exact times that asscociate with
voltages. The time can be relative. How can I configure my program
so that it generate accurate time for each data point?
0 Kudos
Message 1 of 2
(2,581 Views)
Hi Ekatet

I don't know that there is any way of "extracting" the time information -
can you simply append a 1-D array (as the first column, to the data array -
need to transpose) that contains the time of each sample? You only need to
know the sampling rate to work out thew time of each sample: 0, 1/sampling
rate, 2/sampling rate ...
Use a For loop to generate the array of sample times.

Paul


Ekatet Intakan wrote:

> I'm using PCI-MIO-16E-1 and intermediate DAQ vi's in LabVIEW to
> simulate an oscilloscope. My program is also able to write the obtained
> data into a spreadsheet file. The data should simply be voltages. The
> file's columns represent voltages (scans) from different input channels.
> The rows are supposed to be voltages at different times. My proble
m
> is I don't know how to extract the exact times that asscociate with
> voltages. The time can be relative. How can I configure my program
> so that it generate accurate time for each data point?

--

Research Assistant
School of Physiotherapy, Curtin University of Technology
Selby Street, Shenton Park, Western Australia, Australia. 6008
email: P.C.Davey@curtin.edu.au
Tel. +61 8 9266 4657 Fax. +61 8 9266 3699

"Everyone who calls on the name of the Lord will be saved." Romans 10:12
"For all have sinned and fall short of the glory of God, and are justified
freely by his grace through the redemption that came by Christ Jesus."
Romans 3:23-4
0 Kudos
Message 2 of 2
(2,581 Views)