05-03-2007 10:31 AM
05-04-2007 10:35 AM - edited 05-04-2007 10:35 AM
Thank you for posting to the NI forums. You can set the update increment of the WaveformGraph plot function by using the overloaded function as follows:
PlotYAppendMultiple( ByVal yData As Double(,),
ByVal orientation As DataOrientation,
ByVal increment As Double )
I did this in the VB.NET example program, "ContAcqVoltageSamples_IntClk", by adding the following line to the dataToDataTable function.
WaveformGraph1.PlotYAppendMultiple(sourceArray, NationalInstruments.UI.DataOrientation.DataInRows, 0.1)
The increment will be set to 1 / (sampling frequency), so in your case, it will be set to 0.1. This function is documented in the NI-DAQmx .NET Framework 2.0 Help.
I hope this helps. Post back if you have any further questions.
Ed W.
Applications Engineer
National Instruments
Message Edited by Ed W on 05-04-2007 10:36 AM