LabVIEW Relay Timer Operation

LabVIEW Relay Timer Operation

In This Guide we will learn how to setup LabVIEW Relay Timer Operation, Pulse activated relay board and fixed time schedule relay.

A) Timer Calibration

This guide illustrates how to set Calibrate a timer and read back its calibration value.

Related Example in Driver: Timer Calibration.vi

VIs Required:

–> Initialize (Main Palette)

–> Calibrate (Timers Palette)

–> Read Calibration (Timers Palette)

–> Close (Main Palette)

Following figure shows the steps for this guide. Their detail follows the figure.

Details of steps is as under.

  1. Port is initialized in Initialize VI with fixed baud rate of 115200.
  2. Calibrate VI is placed. It sends the command to calibrate the timer and also verifies the returned status.
  3. Read Calibration VI is placed. It reads back the calibration value which is displayed for the user.
  4. Port is closed.
  5. Text boxes for TX and RX data are placed and their references are passed to the Instrument VI which display the serial data sent and received by the instrument driver.

 

Front Panel

Labview time activated relay board serial setup


B) Simple Duration Timer

This example illustrates how to setup a Simple Pulse Timer (which activates with the command and does not require separate command for activation)

Note: It is assumed that the user has already calibrated the timer

Related Example in Driver: Simple Duration Timer.vi

VIs Required:

–> Initialize (Main Palette)

–> Enable Duration or Pulse Timer (Timers Palette)

–> Close (Main Palette)

Following figure shows the steps for this guide. Their detail follows the figure.

Details of steps is as under.

  1. Port is initialized in Initialize VI with fixed baud rate of 115200.
  2. Enable Duration or Pulse Timer VI is placed. It allows users to send multiple type of commands which are referenced in help for this VI.
  3. Port is closed.
  4. Text boxes for TX and RX data are placed and their references are passed to the Instrument VI which display the serial data sent and received by the instrument driver.

 

Front Panel

RS232 Labview time activated relay board

Settings on the front panel indicate that Timer 2 will be utilized for switching relay 3 On (duration) for 15 seconds.


C) Simple Pulse Timer

This example illustrates how to setup a Simple Duration Timer (which activates with the command and does not require separate command for activation)

Note: It is assumed that the user has already calibrated the timer

Related Example in Driver: Simple Pulse Timer.vi

VIs Required:

–> Initialize (Main Palette)

–> Enable Duration or Pulse Timer (Timers Palette)

–> Close (Main Palette)

Following figure shows the steps for this guide. Their detail follows the figure.

Details of steps is as under.

  1. Port is initialized in Initialize VI with fixed baud rate of 115200.
  2. Enable Duration or Pulse Timer VI is placed. It allows users to send multiple type of commands which are referenced in help for this VI.
  3. Port is closed.
  4. Text boxes for TX and RX data are placed and their references are passed to the Instrument VI which display the serial data sent and received by the instrument driver.

 

Front Panel

Labview time duration relay board

Settings on the front panel indicate that Timer 6 will be utilized for switching relay 3 On (pulse) after 15 seconds.


D) Duration Timer

This example illustrates how to setup a Duration Timer (which does not activate with the command and requires separate command for activation)

Note: It is assumed that the user has already calibrated the timer

Related Example in Driver: Duration Timer.vi

VIs Required:

–> Initialize (Main Palette)

–> Enable Duration or Pulse Timer (Timers Palette)

–> Halt Resume (Timers Palette)

–> Close (Main Palette)

Following figure shows the steps for this guide. Their detail follows the figure.

Details of steps is as under.

  1. Port is initialized in Initialize VI with fixed baud rate of 115200.
  2. Enable Duration or Pulse Timer VI is placed. It allows users to send multiple type of commands which are referenced in help for this VI.
  3. Halt Resume VI is placed. It allows users to activate timer which was setup in previous step.
  4. Port is closed.
  5. Text boxes for TX and RX data are placed and their references are passed to the Instrument VI which display the serial data sent and received by the instrument driver.

 

Front Panel

Labview time activated relay board wireless

Settings on the front panel and block diagram indicate that Timer 3 will be utilized for switching relay 6 On (duration) for 15 seconds.


E)LabVIEW Relay Pulse Timer

This example illustrates how to setup a Pulse Timer in the Labview time activated relay board(which does not activate with the command and requires separate command for activation)

Note: It is assumed that the user has already calibrated the timer

Related Example in Driver: Pulse Timer.vi

VIs Required:

–> Initialize (Main Palette)

–> Enable Duration or Pulse Timer (Timers Palette)

–> Halt Resume (Timers Palette)

–> Close (Main Palette)

Following figure shows the steps for this guide. Their detail follows the figure.

Details of steps is as under.

  1. Port is initialized in Initialize VI with fixed baud rate of 115200.
  2. Enable Duration or Pulse Timer VI is placed. It allows users to send multiple type of commands which are referenced in help for this VI.
  3. Halt Resume VI is placed. It allows users to activate timer which was setup in previous step.
  4. Port is closed.
  5. Text boxes for TX and RX data are placed and their references are passed to the Instrument VI which display the serial data sent and received by the instrument driver.

 

Front Panel

pulse timer usb relay board labview

Settings on the front panel and block diagram indicate that Timer 11 will be utilized for switching relay 6 On (pulse) after 15 seconds.

To Download the Labview Relay Timer Operation Driver and relay controller checkout Installing Labview relay controller Driver.