Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6008 .net example, digital change detection get error

Hi,
 
  I am using the USB 6008 with C#.net and I am trying to run the the ReadDigChan-ChangeDetect example but I get an exception that says:
Requested value is not a supported value of this property
Property: NI....SampleTimingType
Request:  ...ChangeDetection
Can Select ...OnDemand
Sample Code: -200077
 
  I haven't altered the code so I'm not sure why it wouldn't work.  Thanks
 
Paul
0 Kudos
Message 1 of 3
(3,100 Views)
You get the not supported property error because change detection is not supported with the USB 6008. The digital I/O on the USB 6008 only has the on-demand timing mode. That means all digital I/O is software timed. If you need to detect the change of state of one of the inputs, you have to do it in software by doing a continous read and analyzing the results in your code.
Message 2 of 3
(3,096 Views)
Thanks for your response!
0 Kudos
Message 3 of 3
(3,091 Views)