08-25-2011 03:48 PM
Hi,
I had a pretty simple question reagrding an error message that comes up when I try to run a PWM program.
Basically, I am using an NI 6211 I/O device, and I have used the DAQ assistant to configure a counter pulse output in the Ctr0 channel. I try wiring the DAQ assistant express VI to a DAQmx Create Channel (CO Pulse Freq) VI by attaching to the "task in" input.
However I have a broken run arrow and the error message reads "SubVI 'DAQmx Create Virtual Channel.vi' required input 'counter'...The designer of this subVI has specified that this terminal must be wired." In other words, it wants to me to wire my physical I/O channel to the 'counter' input rather than the 'task in'. However I do not see any outputs from the DAQ Assistant that are not task-oriented.
Any suggestions?
- T
Solved! Go to Solution.
08-25-2011 04:55 PM
The DAQ Assistant creates the task for you; there should be no need to use Create Channel. Alternatively you can remove the DAQ Assistant entirely and do the work yourself. You can look at the code the Assistant creates by opening its front panel (right-click on the VI).