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
"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 (Work in progress)
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
"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 (Work in progress)
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
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:
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.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
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
"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 (Work in progress)
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
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
Bookmarks