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
(988 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 LV2020 on Win8.1+cRIO
0 Kudos
Message 32 of 40
(965 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
(956 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 LV2020 on Win8.1+cRIO
0 Kudos
Message 34 of 40
(947 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
(937 Views)

Hi nyp,

 

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

Best regards,
GerdW


using LV2020 on Win8.1+cRIO
Message 36 of 40
(931 Views)

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

0 Kudos
Message 37 of 40
(710 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
(702 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
(700 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
(693 Views)