LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple boolean control similar to hysterisis. Turns on at SPhigh then turn off at SPlow, but stays on on the way down.

Hi Jean,

 


@Meanjean2119 wrote:

If you think there is a better way to do it,


  • When you use this as a subVI then I would use a scalar speed input instead of the whole 2D array. (Simple rule: one VI per function, one function per VI.)
  • To get the last element of a 1D array you could use a plain DeleteFromArray function with no additional inputs. No need to determine the array size…
  • Depending on your requirements I would use a feedback node inside this subVI instead of a shift register in the main VI…

@Meanjean2119 wrote:

I'd be happy to look at it.


Unfortunately you forgot to attach your VI (and maybe downconvert before attaching).

We cannot edit/debug/run images of code in LabVIEW…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 11
(51 Views)