Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to use two plots for inputs from cDAQ-9178

I am having trouble plotting two different module inputs, however, I keep getting the error #201311: "File specified is already opened for output. NI-DAQmx requires exclusive write access."  Attached is a picture of my set up.

0 Kudos
Message 1 of 2
(2,473 Views)

Based on the code you attached, it seems the error may be coming from your tasks, set in MAX. Double-check and make sure the tasks aren't reading from the same channel. If you're still having trouble, post a new screenshot of your code or MAX setup along with the error message.

 

You could also try adding "Create Virtual Channel" VIs ahead of your "Start Task" VIs and selecting the physical ports that way.

0 Kudos
Message 2 of 2
(2,424 Views)