Results 1 to 5 of 5

Thread: Running External Programs

  1. #1
    Constant Bitrate
    Join Date
    May 2007
    Location
    Wichita, KS
    Posts
    164

    Running External Programs

    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?

    thanks

  2. #2
    Constant Bitrate
    Join Date
    May 2007
    Location
    Wichita, KS
    Posts
    164
    Anyone?

  3. #3
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,348
    Quote Originally Posted by Lithoss View Post
    Anyone?
    Its only been a couple days and the experts are probably drowning in finals, but to help them out why don't you tell us a little more about your system. What's your OS, your front-end, what type batch file are you trying to execute, what other details can you tell us that might be important?

    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

  4. #4
    Constant Bitrate
    Join Date
    May 2007
    Location
    Wichita, KS
    Posts
    164
    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.

  5. #5
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    It is done... Should have it after the next update. Any exe with version number above 5.0.0.132 will have this.

    Here is an example for how to call it from a button. Same applies to any logic vote:
    Code:
    <button id="TestButtonPage1_0" enabled="yes" function="execute command" functionTargetID="cmd" vote="blah" vote_opinion="blah" vote_priority="Low">
    That will open a command window anytime the button is clicked.
    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

Similar Threads

  1. power problems while car is running..
    By TimW in forum General Hardware Discussion
    Replies: 28
    Last Post: 03-18-2006, 10:11 PM
  2. Running Serial/VGA/USB cables
    By KyleYankan in forum Newbie
    Replies: 16
    Last Post: 04-26-2005, 02:56 PM
  3. Neocar External Application Bug Fix!
    By reddeath30 in forum NeoCar Media Center
    Replies: 10
    Last Post: 04-07-2005, 09:25 AM
  4. Replies: 6
    Last Post: 04-01-2005, 09:09 AM
  5. Replies: 23
    Last Post: 03-21-2005, 04:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •