Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how to manululate the output of the DAq Read

hi ...

Iam using kusb3116 DAQ for plotting the data on to a graph ...

i have used the LV-Link VI's to collect the data from two channels of the DAQ on to the PC ..but now i need to plot the waveform chart ..for the two voltages ...
My problem is how can i manupulate the data that i have captured from the DAQ before i plot it on th graph, as i need to manupulate one of the voltages ..before actually plotting ..

Thnks,
Shaik.
0 Kudos
Message 1 of 11
(3,845 Views)
It would be nice if you explained what kind of 'manipulation' you want to do. You should be able to use just about any of the math or signal processing functions that are in LabVIEW. What have you tried and what kind of problems are you having?
0 Kudos
Message 2 of 11
(3,841 Views)
Hi ..
Thanks for the Reply .. i have sloved that issue ..
Currently iam facing an other problem...
As iam invoice labview programmer ..i am using a k3116 DAQ .. using that iam capturing a signal at a sampling rate of 500kSamples/Sec and plotting that on to a waveform chart ..
To be more specific ..iam capturing a square wave ..which has varying amplitudes ..and i want to know how can i calculate the amplitudes(Voltage)  when the wave is in ON position and viceversa OFF..

Thanks
Shaik
0 Kudos
Message 3 of 11
(3,826 Views)
You could simply use Array Max & Min or on the Signal Processing>Waveform Measurements palette is Amplitude and Levels. This returns the high level state and the low level state. There's also the Express VI called Amplitude and Level Measurements.
0 Kudos
Message 4 of 11
(3,821 Views)
Hey Thanks Dennis...
it works Fine ...

May i know how can i calculate the Duty cycle of a square waveform ..that i have captured using the kUSB-3116  DAQ..

Thanks.
0 Kudos
Message 5 of 11
(3,794 Views)
I don't know which technique you used but there are two different functions that will do this and both are adjacent on the palettes of two of the functions I mentioned above. What I would suggest is that you always have the context help open (on the help menu). When you do this, a little help window will appear when you move your mouse over a function on the palette.
 
I'm not giving you the direct answer because I think it's important that you learn for yourself what basic functions are available in LabVIEW.
0 Kudos
Message 6 of 11
(3,791 Views)
i got it ..
Is there any data type converssion tht i can perform to convert a 2D array of 16 bit floats in to a waveform DBL,...

Thanks
0 Kudos
Message 7 of 11
(3,787 Views)

Sure. If your 2D data is arranged so that each column is a channel, then do what's shown below. The Build Waveform function is on the Waveform palette. If you data is arranged so that each row is a channel, don't use the Transpose 2D Array. You are not using an NI DAQ board so I have no idea how it returns data.



Message Edited by Dennis Knutson on 03-15-2008 08:26 AM
0 Kudos
Message 8 of 11
(3,778 Views)
FRom the KUSB-3116 DAQ iam Getting the data as..

(Data Value
contains a two-dimensional array of 64-bit, floating-point values. Each element in the first dimension of the array corresponds to a channel in the task. Each element in the second dimension of the array corresponds to a sample from the channel.)

Hi dennis ..
i dint understand abt the dt input that was shown above... Since iam reading 500Ksamples/Sec .. what should this input be for my case ...

Thanks,
Anwar

0 Kudos
Message 9 of 11
(3,744 Views)

I'm not sure if their exaplanation is much help. You should be able to determine whether the channels is in columns or rows simply by creating an array indicator.

The dt is the inverse of the sample rate. 500Ksample/sec means that the time between samples is 1/500K = 0.000002.

0 Kudos
Message 10 of 11
(3,725 Views)