The relay-control
application allows you to control relay devices via the terminal. Here is how to use this application:
-
Make sure you are in the directory containing the
relay-control.exe
file. -
Open a terminal (e.g. Command Prompt or PowerShell).
-
Type the following command to run the application and select the relay device directly from the command line arguments:
.\relay-control.exe <device_index>
Replace
<device_index>
with the index number of the relay device you want to select.
-
Make sure you are in the directory containing the
relay-control.exe
file. -
Open a terminal (e.g. Command Prompt or PowerShell).
-
Type the following command to run the application:
.\relay-control.exe
The application will display a list of available relay devices and ask you to select a relay device from the list.
-
Follow the on-screen instructions to select the desired relay device by entering the index number.
-
The application will control the selected relay device according to the instructions given.
Be sure to replace <device_index>
with the index number that corresponds to the relay device you want to use.