Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Not a Refnum Constant

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Returns a refnum whose value is Not A Refnum. You can use this refnum as an output from structures and subVIs when an error occurs.

For example, you can use the not a refnum constant to verify that the refnum is valid before passing the refnum to the next file I/O operation. Wire the error out cluster of a file I/O function to the selector terminal of a Case structure. Place the not a refnum constant in the Error subdiagram and wire the constant through the output tunnel and to the next file I/O operation. In the No Error subdiagram, wire the refnum output of the file I/O function through the Case structure and to the next file I/O operation.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit