LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event response

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.

 

0 Kudos
Message 1 of 5
(2,290 Views)

You're trying to do an analog read on a digital task.  Try selecting the correct instance of DAQmx Read.

Message 2 of 5
(2,254 Views)

Thanks, my mistake. Smiley Happy  I changed it for a digital read.

 

But it still doing the same error code.

 

Any hint would be appreciated.

0 Kudos
Message 3 of 5
(2,243 Views)

@Santorro wrote:

Thanks, my mistake. Smiley Happy  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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 5
(2,236 Views)

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.

Message 5 of 5
(2,207 Views)