08-29-2016 05:10 AM - edited 08-29-2016 05:11 AM
Hey guys,
I have build a small program to control 8 relays on a conrad relay card.
Individual relays are controlled by sending commands with 19200 Baud without handshake signals, 8 data bits, without parity bit and with one stop bit.
The programs shown works perfectly if individual relays need to switched on/off.
Now i would like to add a timing function i.e. controlling the timing of individual relays based on user input.
Any suggestions on how to go about it would be appreciated.
Thanks
08-29-2016
06:19 AM
- last edited on
05-13-2025
01:53 PM
by
Content Cleaner
Hello,
Try to refactor your code into State Machine:
It will help you to manage timing properly 🙂
Marcin
08-29-2016
06:22 AM
- last edited on
05-13-2025
01:54 PM
by
Content Cleaner
Use State Machine Architecture for your application and for controlling Timing you can use Elapsed Timer.
03-12-2018 10:43 AM
Hi Zezendapus,
Could you please upload the vi for Labview 2012? I have the same issue and would like to give it a look but with the old version of labview that I have.
Thaks in advance.
Vanessa