ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

return errors dll Labview

i would like to know how can i return the errors which i can have in my dll developped in CVI, because when i realize my dll in CVI in a Labview RT environnement , i can't use messages popup or Excel library.
 
Can you give me ideas,
 
TheGAme
0 Kudos
Message 1 of 2
(2,536 Views)

Hi TheGame,

You can use the Call Library Node function from within LV.  Simply make sure that the CVI code function returns a value (example: int functioname (typedef value1, etc) ).

You can send the values to the function and it returns a value linked to an error code.  For instance, 0 = no-error, -1 = bad error, etc.  You can also return messages, such as +1 = function completed, etc.. 

Ooops, I'm getting carried away 😄

The Context Help provide adequate information on how to wire the Call Library Node.  You can do a search on the function as well.

JLV

Message 2 of 2
(2,526 Views)