12-19-2006 07:05 AM
Hello,
I am trying to get the filters to work for the DIChannel objects, but I keep receiving the same error:
The specified property not supported by the device or is not applicable to the task.
I try using the "NationalInstruments.Examples.ReadDigChan_ChangeDetection_DigFilter" example and still get the same error.
Here is the code I am using:
myTask = new Task();
DIChannel filteredChannel;
filteredChannel = myTask.DIChannels.CreateChannel(filteredLinesComboBox.Text, "", ChannelLineGrouping.OneChannelForAllLines);
filteredChannel.DigitalFilterEnable = true; //IT ERRORS OUT HERE!!
filteredChannel.DigitalFilterMinimumPulseWidth = (double)pulseWidthNumeric.Value;
Is there something wrong or am I missing something??
Thanks in advance,
Mtonsager
12-20-2006 10:57 AM
12-20-2006 11:03 AM
Hello,
Thanks for the help.
I guess I didn't think of that, but I am using the pci 6601 card. I would imagine that the 6602 card is fairly similar except that it has 4 more counters on it, right?
Thanks,
Mtonsager
12-21-2006 12:30 PM