06-01-2013 03:18 PM
Dear all,
Please tell me how to do logging and playing data in the same VI? The idea is when we click button Logger or Player, only the related area is visible. In each of those areas, there are also button for choosing file path and controlling action.
I have done a little in the attached VI and encountered the problems:
- While running, the buttons always return to False value (not clicking) state immediately after release the mouse.
Can anyone helps me?
Thank you so much.
06-01-2013 08:54 PM
try this...use a shift register to store the value of the button pressed
06-03-2013
10:52 AM
- last edited on
06-09-2025
02:17 PM
by
Content Cleaner
Hi mipro,
You can modify the mechanical action of a button by right clicking and going to the Mechanical Action menu. Right now you have your buttons set to Latch When Released. This means when you release the button it will switch states, then switch back again. If you want your button to switch states and stay that way, you should use the Switch When Released setting.
This document explains more: https://www.ni.com/docs/en-US/bundle/labview/page/changing-the-mechanical-action-of-a-boolean-object...
I hope this helps!