LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange counter output

Hello,

 

Here are the key features of my setup:

  • one analog output: alternate analog value in the while loop
  • two digital outputs:
    • 1st: armed before analog output updates (setup time), duration can be adjusted while loop is running
    • 2nd: armed on request, i.e. on clicking on "Run single pulse" button
      • once armed, remains "ON" for "Pulse duration"  time, then goes "OFF"
      • when it's ON, other activity in the loop is suspended

In the current implementation the behavior is erroneous (purple waveform, CH3)

 

Where I've been mistaken.

 

Thnks in advance.

 

F0002TEK.jpg

 

Digital_pulse_followed_by_analog_signal_update__2nd_digital_on request.png

0 Kudos
Message 1 of 3
(2,601 Views)

Another bizarrerie - Block Diagram is encircled by red border.

0 Kudos
Message 2 of 3
(2,597 Views)

Resolved.

Event loop is armed in 2 cases: when button goes ON-->OFF and vide-versa.

So, introducing of case loop does the job.

 

Digital_pulse_followed_by_analog_signal_update__2nd_digital_on request (1).png

0 Kudos
Message 3 of 3
(2,586 Views)