Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

waveformtiming

hi,
 
anybody knows how can I use waveformtiming? it is possible for this class to specify the timing XAsis?
 
another question is: when I use DAQmx, what is the exact meanings in sample rate and samples to read/per channel, and what the relationship between them?
 
thank you
 
 
0 Kudos
Message 1 of 6
(4,226 Views)

Hi YHong,

There is an awesome shipping example that comes with Measurement Studio that uses the waveformtiming class. It demonstrates several of the methods and even allows the x-axis to use time as its units. This shipping example is located at C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\UI\Graph\PlotWaveforms.

In terms of learning some DAQmx terminology, here is a few links to get you started. As you read more through these concepts, I would recommend posting your DAQ questions under the DAQ forums.  Here are some helpful links.

Data Acquisition Fundamentals, Data Acquisition Sampling Terminology, and Programming in NI-DAQ in Text-Based Languages.

Hope this helps!

Best Regards,

Jonathan

Jonathan N.
National Instruments
0 Kudos
Message 2 of 6
(4,217 Views)
Hi, thank you for your help!
 
Unfortunately, I have measurement studio 8.0 standard version. when I check the example you told me, I could not find it. It is possible to get in somewhere else? thank you for your time again
 
0 Kudos
Message 3 of 6
(4,213 Views)
Hi YHong,
 
You should have the examples for Measurement Studio unless you selected not to install them. Perhaps they are installed to a different location. Either way, I have attached the example anyway.
 
Hope this helps!
 
Best Regards,
 
Jonathan
Jonathan N.
National Instruments
0 Kudos
Message 4 of 6
(4,211 Views)

hi:

I got your example already, however I can't use that because some variables are not correct.

 

such as

WaveformScaleMode,

AnalogWaveform,

waveformPlot.DefaultTiming.SampleInterval... and so on

 

Even when I type them into MS documentations, I can't sereach the exact result

I am not sure whether we have the same version of MS? I am using MS 8.0 standard version

 

0 Kudos
Message 5 of 6
(4,204 Views)
Hi YHong,
 
I'm sorry, that example was in Measurement Studio 8.0.1, however you should have this example in your folder under National Instruments for Measurement Studio 8. If not, you can still look at this example and see how it works. Maybe you need to reinstall your software to get those examples if you don't have any.
 
Hope this helps!
 
Best Regards,
 
Jonathan
Jonathan N.
National Instruments
0 Kudos
Message 6 of 6
(4,200 Views)