LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 8.0, Error output on call library function

I'm using LabVIEW version 8.0, the 'call library function' node. I see in later versions, there is an error node which can be connected to the next error node. Is there another way to go about implementing this functionality with version 8.0? 

 

Thanks, 

Andrea 

0 Kudos
Message 1 of 4
(2,784 Views)
You can create a wrapper VI around the node and place error in/error out terminals. Note that the error out simply tells you if the call itself generated an error (such as an incorrect calling convention). It doesn't tell you if the function itself encountered an error. If the function itself does not provide some sort of error code as a return value, then there's not much more that you can do.
Message 2 of 4
(2,778 Views)

Okay, thanks, will give that a try 🙂

 

Along with obtaining the error of the node, I'm also trying to connect from one call function library node to another call function library node. How would I connect one to another in sequential order, so they don't all run at the same time? 

 

Andrea 

0 Kudos
Message 3 of 4
(2,774 Views)
If you create a wrapper VI for each function call then it's easy - just connect the error out from one to the error in of the other. If you don't create wrapper VIs for each function call then it depends on whether the output of one is an input for another. If so, then connecting them together will force execution order.  If not, then you can simply put a sequence frame around one and use a dummy wire to establish data dependency. E.g.:
Message 4 of 4
(2,766 Views)