Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain > FB Software


Reply
 
Share Thread Tools Display Modes
Old 04-06-2008, 04:09 PM   #1
Constant Bitrate
 
mx270a's Avatar
 
Join Date: Aug 2003
Location: Iowa
Posts: 167
mx270a is on a distinguished road
Sample VB application to control a Fusion Brain

I've seen a few people here asking how to control a Fusion Brain with code in Visual Basic. I wrote a little demo application that shows exactly that, so people can copy the code into their own applications.

Screen shot:



Note: This application supports both the v3 and v4 Fusion Brains.

Compiled Application

Visual Basic Source Code (VB2008)

-Lance

Last edited by mx270a; 01-10-2009 at 09:40 PM.
mx270a is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 04-06-2008, 05:56 PM   #2
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Very nice!
2k1Toaster is offline   Reply With Quote
Old 04-06-2008, 11:06 PM   #3
FLAC
 
-zip-'s Avatar
 
Join Date: Sep 2004
Location: Ontario/Canada
Posts: 1,141
-zip- is on a distinguished road
tyvm for this!
__________________
Carputer
Installed Since April 2, 2005
Intel D201GLY|Fusion Brain|Audigy2 NX||ODBPros ODBII|Engenius362ext |Motorized lilli|GPS Rikaline 6010|Opus 150|Powermate|Ergonomic Touchpad|
Sound Stage
Eclipse CD8455|MTX TA3404+421D|Infinity Comps|ID 12" Sub
-zip- is offline   Reply With Quote
Old 04-07-2008, 09:16 AM   #4
Terminal flasher
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,307
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
wow... rr plugin might be on the way since you laid an example out. I'm good with vb6 but never used VB2k8. We'll see how it goes lol.
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance
Sonicxtacy02 is offline   Reply With Quote
Old 04-07-2008, 10:35 PM   #5
Newbie
 
Join Date: Jul 2007
Posts: 39
ginigma is an unknown quantity at this point
Excellent work. It's nice to have a third party tool to verify things are working.
ginigma is offline   Reply With Quote
Old 04-08-2008, 02:05 AM   #6
inh
Maximum Bitrate
 
Join Date: Jan 2007
Location: Fort Riley KS
Posts: 515
inh is an unknown quantity at this point
sweeeeeeeeeeeeeeet!
__________________
Space Navigator - 6 Axis input device: Take it apart - Driver App
RRCam - Video/webcam capture, text overlay, and recording: 2.0 Stable
inh is offline   Reply With Quote
Old 04-11-2008, 10:35 PM   #7
Newbie
 
Join Date: Apr 2008
Posts: 3
fjmf is an unknown quantity at this point
Thanks, I'll try to convert this over to a c# sample...
fjmf is offline   Reply With Quote
Old 04-11-2008, 11:28 PM   #8
Constant Bitrate
 
mx270a's Avatar
 
Join Date: Aug 2003
Location: Iowa
Posts: 167
mx270a is on a distinguished road
New version is out. The screenshot and URLs in the first post point to the updated code.

I had one of the outputs labeled wrong, I added progress bars for the inputs, and I changed the inputs to show all 10 bits of data instead of only 8 bits.

-Lance
mx270a is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 04-12-2008, 12:05 AM   #9
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Quote: Originally Posted by fjmf View Post
Thanks, I'll try to convert this over to a c# sample...

The main program is open source and already written in C#.
2k1Toaster is offline   Reply With Quote
Old 04-22-2008, 12:43 PM   #10
Constant Bitrate
 
mx270a's Avatar
 
Join Date: Aug 2003
Location: Iowa
Posts: 167
mx270a is on a distinguished road
This code has been updated to be compatible with the current FB firmware. The links in the original post go to the updated files. My old PIC was from late 2007, and some code had to be changed to get the new one to connect/disconnect correctly.

-Lance
mx270a is offline   Reply With Quote
Old 04-22-2008, 01:01 PM   #11
Terminal flasher
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,307
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
what time were the actual files updated.. i downloaded your source this morning and began working on converting it to an rr plugin. this was at about 11am eastern
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance
Sonicxtacy02 is offline   Reply With Quote
Old 04-22-2008, 01:07 PM   #12
Constant Bitrate
 
mx270a's Avatar
 
Join Date: Aug 2003
Location: Iowa
Posts: 167
mx270a is on a distinguished road
Update was ~5 minutes before I posted the last message. Just check the version on the Form - I use the date as the version. If it's today's date, you have today's code.

2k1toaster and I have been discussing the send/receive stuff in the Disconnect sub. It shouldn't be necessary to Receive data there, but it's the only way I can get it to disconnect and reconnect nicely. Can you try remarking out the recieve if/then in the disconnect Sub to see if it will allow you to reconnect after you disconnect?

-Lance
mx270a is offline   Reply With Quote
Old 04-22-2008, 01:14 PM   #13
Terminal flasher
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,307
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
will do once i get the new source downloaded.. i gotta say thank you VERY much for releasing this open source as it has allowed a newb like me to understand how to communicate with the brain. If/when i release an rr plugin i will DEFINITELY be sure to credit you.
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance
Sonicxtacy02 is offline   Reply With Quote
Old 04-22-2008, 01:22 PM   #14
Terminal flasher
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,307
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
ok.. when i comment then if/then statement the FB will not reconnect. the only way i can re-establish a connection is if i close the program AND disconnect/reconnect usb. Now with the if/then uncommented it connects/disconnects/reconnects as it should.
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance
Sonicxtacy02 is offline   Reply With Quote
Old 04-22-2008, 01:23 PM   #15
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Quote: Originally Posted by Sonicxtacy02 View Post
will do once i get the new source downloaded.. i gotta say thank you VERY much for releasing this open source as it has allowed a newb like me to understand how to communicate with the brain. If/when i release an rr plugin i will DEFINITELY be sure to credit you.

If you know how to make a COM object I would be forever greatful!

It just isnt working for me.

And I have not updated the source in a long time. I will package it all together and post it for you. That USB communication however has not changed at all.
2k1Toaster is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrate fusion brain commands into road runner buttons scotty562 FB Software 15 09-22-2008 09:02 AM
power fusion brain from car battery customaudioman Fusion Brain 3 03-14-2008 07:41 PM
Skinning a custom VB application RJP350Z Software & Software Development 0 01-11-2005 09:36 AM
VB front end for SB Audigy control? wysocki Software & Software Development 2 12-14-2004 08:36 PM
VB Control for Character LCD's Jamez_Warner LCD/Display 0 05-17-2004 04:55 AM



All times are GMT -5. The time now is 11:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics