From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Latching and de-latching(?) a boolean control, is it possible?

Hi.

 

I'm fairly new to Labview, doing a project for school. My background is in music and analog electronics, so for this free Labview-assignment I chose to build a programmable sequencer to interface with my DIY-musical instruments. Labview and programming is still new to me, so please be overbearing.

 

In short the sequencer consists of 16 steps. Each step can be activated to trigger events building up a rhythmic looping sequence. There's more features to the sequencer, but I won't bore you with details since I assume most of you don't care as much about musical instruments and rhythm as I do. 😉

 

I've searched the forum and found answers to all of my questions so far, but I've got one issue that I can't figure out:

 

Is it possible to latch a boolean switch "True" AND maintain its ability to be manually controlled "False" and "True"?

 

Wow. It's difficult to explain technical in a foreign language.

Take a look at the attached simplified version of my sequencer, where I've highlighted the issue.

 

Thanks. 🙂

0 Kudos
Message 1 of 2
(1,924 Views)

Latching means it returns to false after bein read. Thus it cannot automatically be both latching and manual. You need to simulate latching (programmatically return the boolean to false) for that to happen.

You can set another boolean and use it as a check whether you should 'latch' it or not, but the boolean it technically a switching one. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 2
(1,913 Views)