10-24-2011 08:11 AM
Hi,
As you can see, I try to read a physical channel used to create an event for the timed loop. Labview show me the following message (Error -200587 occurred at an unidentified location). Do you have any hint about to avoid this.
see the attached VI.
10-24-2011 12:08 PM
You're trying to do an analog read on a digital task. Try selecting the correct instance of DAQmx Read.
10-24-2011 12:48 PM
Thanks, my mistake. I changed it for a digital read.
But it still doing the same error code.
Any hint would be appreciated.
10-24-2011 01:23 PM
@Santorro wrote:
Thanks, my mistake.
I changed it for a digital read.
But it still doing the same error code.
Any hint would be appreciated.
(Hint: don't fry bacon undressed)
Similarly, do not mix DAQmx and Traditional DAQ calls! go through your app and find the reason (T-DAQ) that will not release the DAQ card.
10-26-2011 10:30 AM
Hi Santorro,
It looks like you are trying to use the same physical channels in multiple tasks. When you create the digital input task, it reserves line 20, then when you use the digital change detection vi, it makes a new task which also tries to use line 20. If you open it up and view its block diagram, you can see the create task vi. Since the line is already in use, you get an error.
I'd suggest using different physical lines for your two tasks.
I hope this helps,
Regards,
Luke B.