09-28-2005 01:55 PM
09-29-2005
11:08 AM
- last edited on
02-17-2025
02:53 PM
by
Content Cleaner
Hello Bruce,
The reason you are seeing that error is that you are configuring digital input lines to do change detection on a board this is digital output only. A digital output board cannot do change detection. You may want to consider the PCI-6515 instead of the 6513 because it has 32 digital input and 32 digital output lines and can do change detection.
Thanks,
Laura
09-29-2005 11:36 AM
09-29-2005 02:53 PM
Hi Bruce,
I thought that may have happened. The trouble with what you are trying to do is that you cannot run two change detection tasks at the same time. Instead, just add both lines that you want to do change detection on to the same task. Your syntax would be "Dev1/Port0/Line0:1" You should not see that error once you do this.
Thanks,
Laura
09-29-2005 03:57 PM
09-30-2005
11:51 AM
- last edited on
02-17-2025
02:55 PM
by
Content Cleaner
Hi Bruce,
I do not see anything specifically in the documentation about running these sorts of tasks. If you have missed it, the documentation installs at Start >> Programs >> National Instruments >> NI-DAQ. There is a general NI-DAQmx help file and also a C Reference help file. Usually, the number of tasks that can be performed at once depends on the number of DMA channels and also the type of task, so it can be very device-specific. Your device uses interrupts to transfer data. If you were doing simple digital input, then two tasks could be run at once. According to the DIO Help, with change detection an interrupt is generated for a change but it is not line specific. The line states are probed after the interrupt is generated to see which line has changed. From this description, It makes sense to put all lines doing change detection into the same task.