Hello everyone.
This isn't specific to Lab/Windows, but I don't see a thread specifically for NIDAQmx.
I'm trying to get multiple tasks to operate at the same time. We actually have 2 PWM (measure duty cycle) signals and possibly an encoder signal. The person buying the card was hoping a PCI-6351 would work as it has 4 counter channels. Although the card doesn't have built in option to measure duty cycle, I figured I could use two continuous tasks to read the on and off pulse times.
I can't get two tasks to operate at the same time. Through my trials I get an error no matter what I try:
- can't reference the same input line in two channels
- can't have two counter channels in the same task
- can't have two counter tasks active, using the same timebase resource?
There must be something (hopefully simple) that I am missing. What good is a 4 counter card if I can only use 1 at at time.
Grateful for any feedback!
Mande.