LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to switch a realy once rather than repeatedly

Hi,

 

I am using a TB-2627 terminal block in a PXI-2527 relay multipleaxer and i am having trouble switching a relay.

 

In the terminal block i have a simple pos and neg which goes out to a enable button on my rig. I want to open and close this relay. I have taken part of the relay switching example but no matter what i try, when i press "close relay" rather than just staying closed it keeps openeing and closing really fast continuously.

 

Can anybody help me or share a bit of code that will enable me to simply keep the realy open or closed?

 

Kind Regards,

 

Kieran

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

Hi!

   Just post your code! 

 

  I guess that switching is inside a while loop that is continuously launched...looking at your code would help!

 

graziano

Message 2 of 2
(2,607 Views)