ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

User Control Boolean with trigger interception

Hi all,

 

I would like to use Labview FPGA to do the following function:

 

The digital output port serves two purposes. When there is a trigger input, the port output a "true" signal. When there is no trigger, the port is idle, BUT it can be controlled by the user by a boolean switch in the front panel.

 

I tried using two while loops, one contains a boolean control connecting to the DIO, with another while loop detecting the trigger and a constant "true" is connected to the same DIO when trigger is present. However, only the user control boolean works fine, but when a trigger is present, it doesn't repsonse...

 

Could anyone please kindly comment on my case?

 

Best,

Matt

 

 

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

1. There is nothing in your description that tells me you cannot use a single loop.  It will save resources and actually make things a little simpler.

 

2. You need to OR your two conditions together.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,873 Views)