LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is there a null value in labview?

how can I pass a null into an array?
0 Kudos
Message 1 of 4
(9,483 Views)

Drop a numeric control on the panel and type NaN in it. NaN is the Not-a-Number. On the diagram, drop a numeric constant, change its representation to Double (DBL) and type in NaN.

For strings there's an empty string constant in the palette.

Hope this helps,

Khalid


0 Kudos
Message 2 of 4
(9,483 Views)
cn_tower wrote:

> how can I pass a null into an array?

Where? When at what?

Do you mean a NULL pointer instead of an array for instance to a Call
Library Node? If so configure the array pointer to be an uInt32 passed
by value instead. Now wire an integer with the value 0 to that terminal.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 3 of 4
(9,483 Views)
> how can I pass a null into an array?

As others have already pointed out, it is hard to know what you are
looking for. LV doesn't expose pointers on the diagram as being
dataflow, it is much preferred to send the values around. Please
clarify if everyones guesses don't solve your problem.

Greg McKaskle
0 Kudos
Message 4 of 4
(9,483 Views)