Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange button behaviour

Solved!
Go to solution

I have some program and by some reason the start button behaves strangely. After the pump start when you press it to stop the pump it takes several pushes to stop it. When pump is not working(due to different reasons) it works ok, responding on every push.

I am using LabView 8.6.

How can I fix it?

0 Kudos
Message 1 of 3
(3,376 Views)
Solution
Accepted by topic author Sergey(PSU)

It might not be your exact problem, but you really should not be constantly opening and closing your serial port.  Set it up once before the main loop and close it once after the main loop.



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
Message 2 of 3
(3,373 Views)

Thanks a lot. It did help.

0 Kudos
Message 3 of 3
(3,366 Views)