LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronous LED display with digital output

hi,

In the experiment I want to control a relay, so I use the MAX to generate a digital output task and then transfer it to example code in labview as below. How can I amend  this code so that when the module ouput 1 there is a synchronous LED display on the front board.

Thanks~~~Cat Happy

论坛1.jpg

 

 

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

Use single sample digital writes inside your loop.  Use a shift register to hold the state (T or F) and invert each iteration.  Now you can just wire the state wire to a front panel led and be sure that it is sync'd to the digital output.

0 Kudos
Message 2 of 2
(2,335 Views)