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: 

Empty Numerical Constant?

Solved!
Go to solution

This is more of an asthetic thing than anything else, but I am looking for a numerical analog to the 'empty string constant'.

 

Empty Numerical Constant.jpg

I am going to save this data to a file with the 'write to spreadsheet.vi', the array of strings on top will be saved first as a header for the data that is in the lower array.  I would like to separate the peaks and valleys with an empty column, and would rather not just have a giant column of zeros.

0 Kudos
Message 1 of 5
(5,214 Views)
Solution
Accepted by topic author LarsUlrich
There is no such thing as an empty numeric. I would suggest you simply convert everything to strings.
Message 2 of 5
(5,211 Views)

Yeah that's what I was thinking I'd have to do.  Thanks for the advice!

0 Kudos
Message 3 of 5
(5,204 Views)

Hi Lars,

 

how do you input an "empty number" into your calculator resting on your desk or drawer? 😄

 

I really look forward for a concept of math involving "empty numbers"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(5,186 Views)

If dealing with floating points, an "NaN" might help....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 5 of 5
(5,170 Views)