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
09-18-2008 07:44 AM
07-09-2009 07:35 AM
Have anybody solved this problem? Just ran into it myself...
-J-
07-09-2009 08:31 AM
Never mind. It seems that my board does not have hardware timed digital I/O lines so I have to poll the line value in software and compare it to the previous value and check whether it's a rising or falling edge.
-J-