LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clear or Reset Network Published Shared Variable's

I made an Array of Clusters as a NPSV and while testing I accidently wrote too many elements.  After I fixed it I can't get the extra elements to go away.  Is there a way to clear the data.

0 Kudos
Message 1 of 5
(712 Views)

If you write a smaller array new reads don't return fewer elements??

~ Helping pave the path to long-term living and thriving in space. ~
0 Kudos
Message 2 of 5
(686 Views)

Nope, I've tried writing an empty array and reading a subset and writing that back, but if I read the array it has over 100 elements with values and I only need 24.

0 Kudos
Message 3 of 5
(679 Views)

Ideally I'd like to default them at the start of each test programmatically.

0 Kudos
Message 4 of 5
(666 Views)

Overwriting it did work, I was getting an error trying to write a reset value even though the main data was writing.  I think it mite be because I had it set to single writer.

0 Kudos
Message 5 of 5
(618 Views)