03-01-2006 09:52 AM
myTask.DIChannels.CreateChannel("Dev1/Port1/Line0", "myChannel", ChannelLineGrouping.OneChannelForAllLines)
myTask.Timing.ConfigureChangeDetection("Dev1/Port1/Line0", "Dev1/Port1/Line0", SampleQuantityMode.ContinuousSamples, 1000)
...but ConfigureChangeDetection throws an exception:
Requested value is not a supported value for this property.
Property: NationalInstruments.DAQmx.Timing.SampleTimingType
You Have Requested: NationalInstruments.DAQmx.SampleTimingType.ChangeDetection
You Can Select: NationalInstruments.DAQmx.SampleTimingType.OnDemand
Task Name: _unnamedTask<0>
Status Code: -200077" String
03-01-2006 09:55 AM
This is being used with a 6008 , if that makes any difference.
David
PS: don't know what happened with my post to cause it to listed 3 times!
03-02-2006 03:08 PM
03-02-2006 03:14 PM