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
- last edited on
08-20-2026
09:51 AM
by
Content Cleaner
Hi David,
The digital lines on the USB-6008 do not support change detection. Usually if your error mentions that you have request a supported value, it may indicate your hardware does not support the feature that you are programming with the driver calls. Take a look at the KnowledgeBase here for a list of NI devices that does support this feature. There may be a work-around for what you are trying to do, so if you can give details on what you are trying to accomplish, we may be able to help.
Thaison V
03-02-2006 03:14 PM