LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid NaN

Hey Mike,

thanks for your prompt answer. If this works for you that means something ist goes wrong with my PC!!?

are you german?

best regards

0 Kudos
Message 11 of 37
(1,501 Views)
Hi Lauvia,
i´m not sure if it is a problem with your pc. I think you should check first if the array size is greater than "0". And you should check the array size if you use the divide function with two arrays. The output is the number of elements of the smallest array. Smiley Happy
 
Yes, I´m german.
Mike
0 Kudos
Message 12 of 37
(1,498 Views)
Hey Mike,
also du hast fast gar nichts geändert!! das VI "array größe" hast du eingeführt, die "case-schleife an DAQ assistant und natürlich die konvertierung
der bool'sche variablen unten. habe gerade geändert und... nichts. gleiches ergeibnis wie vorher. ist komisch. hat gestern bei mir zu hause funktioniert! ich laufe zum betreuer kurz.
lg
 
0 Kudos
Message 13 of 37
(1,492 Views)

Hi Lauvia,

yes, you are right. I changed only little things, but for me it runs without "NaN`s".

Mike

0 Kudos
Message 14 of 37
(1,470 Views)
Hey together,
once more thanks for your usefull help. I am definitively convinced that my programm works. I've simulated it at home successfully, so did Mike too!
I think something is wrong with my PC. I need maybe to reinstall LabView!
Otherwise you can consider the problem as solved and I can do the next step Smiley Happy
 
This consist
 
-to use the VI "value range comparison" (see point 5.) to return in the last array's row the String  value "pass"  or "fail" instead of... 0, 1
 
- to save the final array in a file (i.e. excel) and to print it.
0 Kudos
Message 15 of 37
(1,435 Views)


Lauvia wrote:
...
This consist
 
-to use the VI "value range comparison" (see point 5.) to return in the last array's row the String  value "pass"  or "fail" instead of... 0, 1
 
- to save the final array in a file (i.e. excel) and to print it.

Hi Lauvia,
if you want to use strings, then you have to transform all values into strings. See the attached example.
Mike
0 Kudos
Message 16 of 37
(1,428 Views)

Hi Mike,

how are you doing?

I can't open your file. It no error message, just none new window!

can you send it once more? (LabView 7.1)

0 Kudos
Message 17 of 37
(1,419 Views)
Hi Lauvia,
sorry. Smiley Happy
see the picture please.
 
Mike
0 Kudos
Message 18 of 37
(1,414 Views)
Hey Mike,
where did you  have the  String VI in the last "For" cycle?
I'm working with LabView 7.1 and I can't find it!
0 Kudos
Message 19 of 37
(1,393 Views)
Hey Lauvia. Is this what you are looking for?


Message Edited by lmtis on 05-08-2008 08:07 AM

Message Edited by lmtis on 05-08-2008 08:07 AM
Jim

LV 2020
0 Kudos
Message 20 of 37
(1,386 Views)