Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200147 at DAQmx Create Channel

I am creating a task and channel for 2 digital output and receive error -200014 "Terminal cannot appear multiple times within a single digital input or output task."

There are two digital task, can both be set to Port0? Say port0/line1 for Pinch and port0/line2 for Digital out task.

 

Thanks.

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 3
(4,644 Views)

lvrat,

 

I'm not exactly sure what's going on, because I can't replicate this with my simulated hardware. The only thing I can think of is (and it's because of the error message) is that one of your Global Virtual Channels or Tasks that you have located with in MAX contain either Dev2/port0/line0 or port1/line0.

 

I think the bigger question is what are you trying to do here? Why do you need separate digital tasks for each line?

Aaron W.
National Instruments
CLA, CTA and CPI
0 Kudos
Message 2 of 3
(4,633 Views)

Its likely that the tasks you are copying have chanels in them duplicating the chanels you later attempt to add (Re-add) to the tasks.  That'll error every time.


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(4,609 Views)