From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove NaN

Solved!
Go to solution

tried but still cant work

0 Kudos
Message 31 of 40
(1,971 Views)

Hi nyp,

 

"tried but still cant work"

What have you tried?

What isn't "working"?

Have you done any debugging?

Have you received any error messages?

How looks your current VI?

 

Didn't you learn to give meaningful information when asking for help?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 32 of 40
(1,948 Views)

sorry!

I tried removing the header lines which i deleted but i am still unable to show the colmn names.

my current vl look like this

0 Kudos
Message 33 of 40
(1,939 Views)

Hi nyp,

 

well, you still delete zero columns beginning from column #7. Don't know what you want to achieve with that operation...

 

"I tried removing the header lines which i deleted"

First you deleted some lines and then you try to remove them???

 

See attachment. It uses those header lines to display the column headers.

Sometimes it really helps to read the context help for LabVIEW primitives...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 34 of 40
(1,930 Views)

i deleted from row not col.

is it possible to place the "column headers" in to the same arrary of"2000776707" from the vl u shown me?

0 Kudos
Message 35 of 40
(1,920 Views)

Hi nyp,

 

yes, that's passible: Use BuildArray or InsertIntoArray...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 36 of 40
(1,914 Views)

how should I remove the NaN for a 2D array?

0 Kudos
Message 37 of 40
(1,693 Views)

This is a 2 year old thread unrelated to your question.  There are many other threads that are more pertinent in discussing NaN.

 

If you remove an NaN from a 2-D array, what you really want it to do?  Do you want to replace it with something else?

0 Kudos
Message 38 of 40
(1,685 Views)

I was directed to this thread for the XLR8 toolkit. I want to remove NAN that it creats for blank cells and replace them with Zero.

0 Kudos
Message 39 of 40
(1,683 Views)

I don't know how a toolkit directs you to a forum thread.

 

Look at the comparison palette, you'll see a comparison for "Not a Number".  Use that when indexing through an array to determine whether to replace with zero.

0 Kudos
Message 40 of 40
(1,676 Views)