LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Device call aborted

How can a solve the error Code 41? Device call aborted. 

 

0 Kudos
Message 1 of 12
(4,216 Views)

@diana777 wrote:

How can a solve the error Code 41? Device call aborted. 

 


The question is about as clear as mud.

 

 

0 Kudos
Message 2 of 12
(4,201 Views)

We need to see the context in which this error occurred.  Attach the code that caused the error.

 

Bob Schor

0 Kudos
Message 3 of 12
(4,193 Views)

I need to set a read analog signal, but in this port configuration the error occurs 41.
Maybe it's the memory configuration of the PCI in 2511, but do not know how to configure it otherwise.
Follows the current configuration of the image.

Thank you.imagem3.JPG

0 Kudos
Message 4 of 12
(4,183 Views)

I'm not sure what device you are using, but before trying to code a device in LabVIEW, try "manually" gathering data from the device using MAX.  When you do so, pay attention to the parameters that MAX asks you to specify.  Indeed, if you get a configuration that gives you the data that you want, save it (in MAX) as a Task and wire that Task to DAQmx calls.

 

Bob Schor

0 Kudos
Message 5 of 12
(4,177 Views)

I'm using as device a PCI 2511 of Adventch, implementing the Labview. I do not know what would this MAX setting. But either way thank you, I'll keep trying.

diana777.

0 Kudos
Message 6 of 12
(4,168 Views)

You'll have to contact Advantech to find out what error code 41 means.  MAX won't help you since this is not an NI product.

 

Why are you writing to an indicator and a local variable of that indicator at the same time at the end of your loop?

0 Kudos
Message 7 of 12
(4,156 Views)

I understood, I will contact the Adventch then. I'm using this local variable in another program loop. This variable is read in another loop, following the program, so it's there at the end of the cycle. This cycle is later than that of reading, is it ok? or not? I do not have much experience with Labview.

0 Kudos
Message 8 of 12
(4,143 Views)

You don't need to write to the local variable.  You are likely duplicating that value in the chart as a result.  (Unless that local variable is actually pointing to a different control than the chart, and you happened to give them the same name, which is a bad idea because it is confusing.)

0 Kudos
Message 9 of 12
(4,140 Views)

Oh thank you, fix it here now.
But still the problem of error 41, accusing perssite of memory error, I believe that should be the interaction of the loops.

0 Kudos
Message 10 of 12
(4,134 Views)