Page 52 of 113 FirstFirst ... 2424344454647484950515253545556575859606162102 ... LastLast
Results 511 to 520 of 1124

Thread: *NEW* USB Input/Output Board -- Fusion Brain

  1. #511
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Would it makes peoples lives easier if I create a *.dll that can be interfaced from outside programs?

    It would have 2 accessible functions. Both would take the port id of either the analogue or digital item, and return either a double or a boolean value. I have pretty much got the 1way communication between them. I just have to figure out how to create shared memory within the dll for it to be usefull.

    Would this be needed at all?
    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

  2. #512
    Variable Bitrate P3D4T0R's Avatar
    Join Date
    Dec 2006
    Location
    MA, USA
    Posts
    403
    Quote Originally Posted by 2k1Toaster View Post
    Would it makes peoples lives easier if I create a *.dll that can be interfaced from outside programs?

    It would have 2 accessible functions. Both would take the port id of either the analogue or digital item, and return either a double or a boolean value. I have pretty much got the 1way communication between them. I just have to figure out how to create shared memory within the dll for it to be usefull.

    Would this be needed at all?
    Im only speaking for my self but I don't need it, Im content with my setup and when I am done I hope it wont be to complicated
    "Mess with the best, die like the rest."
    Work Log --> Old Car (Totaled)
    Work Log v2 --> New Car (Totaled)
    Work Log v3 --> GMC Suburban K2500 (Engine died)
    Work Log v4.5 --> 05 Toyota Tundra DC SR5

  3. #513
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by P3D4T0R View Post
    Im only speaking for my self but I don't need it, Im content with my setup and when I am done I hope it wont be to complicated
    So did you write your own dll or how are you interfacing? Is it direct from the raw byte stream?
    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

  4. #514
    Variable Bitrate P3D4T0R's Avatar
    Join Date
    Dec 2006
    Location
    MA, USA
    Posts
    403
    Quote Originally Posted by 2k1Toaster View Post
    So did you write your own dll or how are you interfacing? Is it direct from the raw byte stream?
    Yes and yes, I still haven't figured out (or tried) what all of it means but what I did was write a DLL off the example code that you provided to interface with the DLL provided with Fusion Brain which gives me access to the byte stream
    "Mess with the best, die like the rest."
    Work Log --> Old Car (Totaled)
    Work Log v2 --> New Car (Totaled)
    Work Log v3 --> GMC Suburban K2500 (Engine died)
    Work Log v4.5 --> 05 Toyota Tundra DC SR5

  5. #515
    Variable Bitrate Redian's Avatar
    Join Date
    Apr 2006
    Location
    Connecticut, USA
    Posts
    399
    yo guys... finish it already... i wont have this 60 bucks in my wallet for long =p

    or at least send meh a beta board ^^
    2004 Impreza WRX CarPC Install

    I am willing to host any legal downloads that may benefit the CarPC community - PM for info

    "When you go 0-60 in 4.5 seconds, you don't need a made up character called fast. Thats what makes a Subaru, a Subaru."

    DG4L

  6. #516
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,692
    Blog Entries
    1
    Quote Originally Posted by 2k1Toaster View Post
    Would it makes peoples lives easier if I create a *.dll that can be interfaced from outside programs?
    That would be fantastic, and would also open up any 3rd party software being able to access and control the board. The software you have written is perfect for a CarPC environment and use on a touchscreen. However, if you enable complete control through a DLL it will open it up for many other applications as well, and a broader market. Such as using it to monitor temperatures around the home, fish tank water temperature, opening and closing of motorized devices such as blinds, drop down movie screens, garage doors...... and about 1,000 other uses.

    Having standard procedure calls to the DLL, would work perfectly. Those types of calls can be done in just about any languste VB6, VBScript, AutoIt ect.

    Just a couple of examples:

    AutoIt Code
    ObjCreate("FusionBrain.ReadDigital3")
    $result = FusionBrain.ReadDigital3

    Here is an example of calling it in vbscript:
    Set Fusion = CreateObject("CDDBControl.FusionBrain")
    Result = Fusion.ReadDigital3
    Fusion.WriteToDigital3 "on"

    (This code should be sound, but is hypothetical at the moment, and no way to test it)

    P3D4T0R Wrote:
    what I did was write a DLL off the example code that you provided to interface with the DLL provided with Fusion Brain which gives me access to the byte stream
    You have done some amazing work with this for sure, but if the DLL was written to do this, you could communicate directly with that DLL, and not from your DDL, to another DLL to read from the brain, thus only having to work with one language, and "cutting out the middleman" and tightening up the code as well.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  7. #517
    Variable Bitrate P3D4T0R's Avatar
    Join Date
    Dec 2006
    Location
    MA, USA
    Posts
    403
    Quote Originally Posted by JohnWPB View Post
    You have done some amazing work with this for sure, but if the DLL was written to do this, you could communicate directly with that DLL, and not from your DDL, to another DLL to read from the brain, thus only having to work with one language, and "cutting out the middleman" and tightening up the code as well.
    Thank you, first off, secondly this would be true but I hate rewriting code so Id rather it stay this way but if it truly is a way to simplify everything and the rewrite would be smaller and faster than Im all for it... but as of now I like my way :P
    "Mess with the best, die like the rest."
    Work Log --> Old Car (Totaled)
    Work Log v2 --> New Car (Totaled)
    Work Log v3 --> GMC Suburban K2500 (Engine died)
    Work Log v4.5 --> 05 Toyota Tundra DC SR5

  8. #518
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Quote Originally Posted by Redian View Post
    yo guys... finish it already... i wont have this 60 bucks in my wallet for long =p

    or at least send meh a beta board ^^
    You should preorder, then.

  9. #519
    Constant Bitrate spaceskater's Avatar
    Join Date
    Feb 2005
    Location
    Boston,MA
    Posts
    185
    I just got some money and preordered! No wonder I am always broke
    Will never be DONE! There is always something to add
    VIA EPIA SP13000,1GB DDR,80Gb 2.5 SATA HDD,8" Xenarc LCD with t/s,Linksys Bluetooth,Logitech wireless trackball,OBDII,RearView wide angle cam,XM radio,2 Wifi external antennas, Frodo,Navivoice

  10. #520
    DM2
    DM2 is offline
    Newbie DM2's Avatar
    Join Date
    Apr 2007
    Location
    Houston, Texas
    Posts
    26

    Amp Meters

    Previously there were several posts on integrating an amp meter into the system and some hesitation on measuring current in the 200 amp range.

    One thing that may make this less of a concern would be the use of a "Clamp" on meter. Absolute Process Instruments has a model CTX-DC-1 that is selectable from 0-100, 0-150, and 0-200 amps. and has a 4-20mA output.

    http://www.api-usa.com/currentsensors.php

    Regards

Similar Threads

  1. Best mountable, DC powered USB Hubs?
    By Dan Marsh in forum General Hardware Discussion
    Replies: 24
    Last Post: 05-19-2010, 02:34 PM
  2. Via Epia Mii10000 USB
    By buurin in forum General Hardware Discussion
    Replies: 19
    Last Post: 07-22-2006, 02:52 PM
  3. Problem with ITPS / hibernation and External USB HD
    By veetid in forum Power Supplies
    Replies: 5
    Last Post: 01-02-2006, 08:35 PM
  4. Will this layout with a remote USB hub work?
    By NoPistonPC in forum General Hardware Discussion
    Replies: 14
    Last Post: 08-21-2005, 03:24 PM
  5. Replies: 4
    Last Post: 04-06-2004, 09:52 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
  •