From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Different error codes are passed each time

Hi,

By different, I mean 2.  Have a look at the screen shot of my VI. I am not connected to hardware at the moment and I am just working on error handling.

Reading from the daqmx throws an error: -200279 in the Block diagram. But when I look look at the front panel, it shows an error:7 in the write data to file.This does not happen when I highlight it. Just to be sure, I enveloped the write to file with case structure but still I am receiving error 7.

 

Any thoughts?

0 Kudos
Message 1 of 4
(2,567 Views)

Can you please post the actual VI instead of just screenshots of it?  We can't see everything we might need to see in the pictures.

 

Also I think most of us don't speak German, so running it on our own PCs would let us see the English error text.

0 Kudos
Message 2 of 4
(2,535 Views)

I have attached the project as a zip

0 Kudos
Message 3 of 4
(2,471 Views)

Here is a 2015 version of it with exit case corrected

0 Kudos
Message 4 of 4
(2,460 Views)