LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

changing array size without initialize

Solved!
Go to solution

OK, that event structure does nothing! Right-click it and "remove event structure". The code inside that case structure only executes if the button is pressed and the event structure does not add anything useful to that.

Also, that property node is just wired to constants that never change. This needs to execute exactly once (or never if you set these settings as default ;)) so it belongs outside the main loop. There is no need to rewrite the same old properties over and over. 

 

I agree that the code is a bit of a mess. With a few well-placed shift registers, you could eliminate a lot of local variables.

 

 

(Since I am currently also on a laptop screen, I cannot efficiently work with a diagram of this size. Sorry!)

0 Kudos
Message 11 of 12
(589 Views)

Thanks anyway.

 

regards

 

S

0 Kudos
Message 12 of 12
(583 Views)