07-09-2012 09:14 PM
So far I have a control however, I want to make a more user friendly controller and I get the following error if I manually delete one of the channels? DAQ test is the main VI.
Error -200099 occurred at DAQmx Create Channel (AI-Voltage-Basic)Vi:5
Physical channel not specified.
07-09-2012 10:17 PM - edited 07-09-2012 10:18 PM
Lots of subVI's are missing. Where is "DAQ Assist.vi" which seems like it probaby contains the Create task VI?
Is this happening on an analog output task? Did you reduce the amount of data in the array so that it corresponds to the number of channels now in the task?
07-09-2012 10:38 PM
You may want to look in Example Finder (Help>>Example Finder) for DAQmx examples. Learn how to program multi-channel VIs, then compare them with what you have. 🙂
07-10-2012 10:09 AM
Yes it is for the analog output task and I did reduce the amound of data in the array. I have attached the DAQ Assist.vi
07-10-2012 10:19 AM
What about Untitled6.vi? That is the one that seems to be related to the analog output tasks.
07-10-2012 10:35 AM
I am only running DAQ assist and DAQ test the other file was uploaded by accident
07-10-2012 11:22 AM
At the top of your VI (at least they wound up at the top after I ran block diagram cleanup since the wiring was a mess), there are two subVI's. Untitled 6.vi and also Relay Off.vi. The DAQ create channels in one of those subVI's might be causing the problem.
Do you know exactly where the error is generated? Your error code "Error -200099 occurred at DAQmx Create Channel (AI-Voltage-Basic)Vi:5" tells it is the 5th instance of the DAQmx Create Channel (it is a reentrant subVI). But I have no way of correlating that with a particular location in your VI's. Put probes on your error wires and see where the error is actually happening!