PDA

View Full Version : [Question(s)] turn light on and off from an .exe file.



aussie
03-12-2017, 06:56 PM
I have a Phidgets InterfaceKit 2/2/2, which uses the data 1 lead to operate a relay which in turn, turns on and off an outside light. I got everything to work with the interface kit that came with the kit but now I want to make an executable file "onoff.exe" that i can call with a .bat file to preform this function. How would I go about doing this? I am just starting to learn about computers in school and this has been a great project so far, thanks for your help
aussie

jwatte
03-13-2017, 04:23 PM
You have to write the program using a regular programming language, and then build the EXE as an output program.
You can do this in C# or C++ for example, according to the Phidgets support page: http://www.phidgets.com/docs/Programming_Resources