LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keypad Lock in Labview

Hi Michael,

 


@michaelkeane24 wrote:

So, my question is how to make keypad 4x4 in Arduino control boolean array indicator? My vi is not working.


Your VI may look like this:

Are you sure about those array constants you write to your Arduino?

What's the point of that case structure when every case does exactly the same???

What does the manual say about accessing those Keypad buttons?

Best regards,
GerdW


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

I'm sorry Sir, I just follow tutorial that using NI myRIO and I modify digital output and input with LINX library

0 Kudos
Message 12 of 14
(720 Views)

Hi Michael,

 


@michaelkeane24 wrote:

using NI myRIO and I modify digital output and input with LINX library


Where does that myRIO come into play?

How is the myRIO connected to your Arduino???

Best regards,
GerdW


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

You might have a 50 msec wait on your outer while loop, but that inner For Loop will run as fast as the Linx subVI's allow  So it might be cycling through writing digital outputs to fast.

 

I don't know Linx and don't know what goes on in those subVI's.  But something doesn't make sense with Digital Write N Channel.  YOu provide it with an array of 4 channels, but give it an array of 1 False element.  Should that be 4 elements?  And possible a write to turn something on, a small delay, then turn that same channel back off before moving on to the next channel?

0 Kudos
Message 14 of 14
(709 Views)