I am currently a student studying LabVIEW. I am using the NI 9401 DIO module to output a DO signal, and I have two requirements:
- A TTL pulse should be output when a Boolean button is pressed.
- The TTL pulse should be output at a constant 16 Hz.
I wrote a code to meet these two conditions, but I am currently facing an issue:
When I set the value to true
in the case structure in the block diagram, and also set the Boolean button on the front panel to true
before running the code, the TTL pulse is output at 16 Hz. However, even if I press the button again to change the value to false
, the signal does not stop.
Also, if the case structure and the front panel are not pre-configured as mentioned above, the signal does not output, and the button does not respond when pressed.
It seems like the Boolean button's value is not being properly passed into the case structure, but I'm not sure how to resolve this issue.
I would appreciate your assistance.
Thank you.