I'm looking for a way to run external programs (batch files or executable) from the FB. I've looked a lot at the external COM commands but they seem to be for programs that are already running. Pretty much all i want to do is run a batch file if an analog input goes high. Is this possible?
All these things can help.
HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327
hey gizmo, thats right, i forgot it was finals time. i guess i can cut them some slack
im running XP. this is actually for home automation stuff, so no front end. i know this is carPC forum, but the FB doesnt really have any support forums anywhere else. and i'm sure my questions could also help someone else in the carPC world someday
what im trying to do is integrate my alarm system into my custom security cam system. i'm monitoring the voltage to my alarm siren via an FB analog in. when it goes to 12v, (which i have divided down to 5v.. actually its a relay system) i need it to run a batch file that will trigger video recording and also call my cell phone via a skype script. i can also have it alter my webserver status page.
It is done... Should have it after the next update. Any exe with version number above 126.96.36.199 will have this.
Here is an example for how to call it from a button. Same applies to any logic vote:
That will open a command window anytime the button is clicked.Code:<button id="TestButtonPage1_0" enabled="yes" function="execute command" functionTargetID="cmd" vote="blah" vote_opinion="blah" vote_priority="Low">
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store