04-06-2007 12:28 PM
Solved! Go to Solution.
04-09-2007 09:34 AM
Hi
Steve_InMA,
There is several examples in the <MeasurementStudioVS2005\DotNet\Examples directory that use this AnalogWaveform data type. For example the, PlotWaveform
example under the UI\WindowsForms\Graph directory uses this data type along with some of the DAQmxWithUI
examples like AnalogDataFileProcessor, GlobalContinuousAO, SpectrumAnalyzer,
etc.
The tip that I use to find if there is an example that incorporates some
function or data type is to do a Ctrl+F on the examples directory,
search using "All files and folders", then type in the
name of the function or data type into the "A word or phrase in the
file" field. This works really well.
Hope this helps!
Best Regards,
09-11-2007 07:21 PM
09-12-2007 11:24 PM
Hi,
DAQmx does not include timestamps in its acquisition – it uses the number of samples collected as the independent variable in an acquisition. Instead, use system calls to retrieve the timing information for the first sample. You can then use the time period between samples (1 / sample rate) to determine the relative timing information for future data.
Please post back if you have further questions.
Regards,
Ed W.
Applications Engineer
National Instruments
06-01-2009 07:49 AM
Can someone explain to me how to retrive the data out of type analog waveform? I want to do a contiuous read on multiple channels and put the voltage data in a csv xml file. How do I get the voltage data from the analog waveform?
06-02-2009 03:11 PM
talltubatom,
A waveform is a compilation of time (dt) and amplitude (y) data. You can extract each of these components from their waveform "shell" by using the "Get Waveform Components.VI" which can be found on the Programming>>Signal Processing Pallette. This will allow you to get any of y, dt, t0, or Attributes components of the waveform.
If you have any other more detailed or application related problems I suggest you create a new thread so that we can stay better organized on our end and so that you can more easily get help from the other members of our forum.
03-04-2010 05:47 AM