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: 

?Simple - array problems?

Hey..

This is a simple question, but I have one number that I want to find in an

array of numbers. However, every time I close LABVIEW and reopen the
VI, the array reinitialises to something other than what I originally set
it to.

Easy I know, but very confusing...

Thanks Amie
0 Kudos
Message 1 of 4
(3,244 Views)
amie wrote:

>
> array of numbers. However, every time I close LABVIEW and reopen the
> VI, the array reinitialises to something other than what I originally set

Right click on the array and select set current value to default
then save the VI. It will always open with those values.

Kevin Kent
0 Kudos
Message 2 of 4
(3,244 Views)
"Kevin B. Kent" wrote:

> amie wrote:
>
> >
> > array of numbers. However, every time I close LABVIEW and reopen the
> > VI, the array reinitialises to something other than what I originally set
>
> Right click on the array and select set current value to default
> then save the VI. It will always open with those values.
>
> Kevin Kent

Make sure you right-click on the array INDEX and not one of the array elements
when you do this - it does make a difference!

Rod
--
Roderic Don
Research Associate II
University of Delaware
Center for Composite Materials
302-831-8701
302-831-8525 (FAX)
0 Kudos
Message 3 of 4
(3,244 Views)
Thanks. I figured that one out the long way!!

Roderic Don wrote:
>"Kevin B. Kent" wrote:>>> amie wrote:>>>> >>> > array of numbers. However,
every time I close LABVIEW and reopen the>> > VI, the array reinitialises
to something other than what I originally set>>>> Right click on the array
and select set current value to default>> then save the VI. It will always
open with those values.>>>> Kevin Kent>>Make sure you right-click on the
array INDEX and not one of the array elements>when you do this - it does
make a difference!>>Rod>-->Roderic Don >Research Associate
II>University of Delaware>Center for Composite Materials>302-831-8701>302-831-8525
(FAX)>>
0 Kudos
Message 4 of 4
(3,244 Views)