Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: .dll / VB questions - hardware instances

  1. #11
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by Iamthehor View Post
    I've only tried v3 + v4 with no luck, sounds like burgersforall got it working with 2 v4s & I have no reason to believe that it wouldn't work with my multi-brain code (which was lost in a HD crash ). If someone wants to loan me an extra v4, I'll test & report back, probably won't buy another v4 for a while (unless they go on sale, I'm a sucker).

    I think the problem I have is with the way windows & the .dll connect to & "locate" the v3 vs v4 - both list as hardware instance 0 (which is true, just not handled properly by the .dll, which was written before v4 was conceived IIRC)

    BFA - since you said before that you will be using 4-6 brains, you might loop your send/receive function with i=hardware instance to make it scale to however many brains you have connected. I think you can use FindAllDevices & get the last instance connected, then you could also redim your DigOut array to match ( (i+1) *16 - 1 ) (all this should be done in the connect function)
    Could save you a lot of copying code (I always screw something up when i do that)
    Just FYI, I will be testing the DLL more with mixed versions, it is on the list. But it probably wont happen until after May 15th or 18th or so. These next few weeks are going to be hell with university, so it has to wait.
    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. #12
    Constant Bitrate
    Join Date
    Jun 2004
    Posts
    148
    Quote Originally Posted by 2k1Toaster View Post
    Just FYI, I will be testing the DLL more with mixed versions, it is on the list. But it probably wont happen until after May 15th or 18th or so. These next few weeks are going to be hell with university, so it has to wait.
    Who the hell decided finals week should be on/about Cinco de Mayo?

    x64 driver support cause i just nuked my laptop & ordered a new one with vistaX64 (forgot about FB compatibility until after i placed the order) If I can help, I will. Never worked with drivers though & you've probably noticed I'm not a programmer.

    I still have a cheapie x86 laptop (with no $!&#%^ screen) that i can use to test (and I use remote desktop to control anyway), but it would be nice if the drivers wire x64 before too long. I'm not sure this POS`(using it now) has enough juice to run MDX or VB2k8, it barely handle firefox & Outlook.

  3. #13
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Found the bug in the software/driver.

    I can hook up V3's and V4's no problem, in any order and amount and it will work now. I had an index variable referencing the wrong version in a few places thanks to copy/paste, so it would try to configure the nth FB instance as the same version as the 0th. So before N of the same version would work, but mixed required luck. Now it is all fixed. It will be in the next release.
    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

Page 2 of 2 FirstFirst 12

Similar Threads

  1. A few hardware questions for the experienced CARpcErs
    By nadroj81 in forum General Hardware Discussion
    Replies: 0
    Last Post: 04-15-2004, 07:53 PM
  2. First post, some hardware questions (check these out)
    By Leitnin in forum General Hardware Discussion
    Replies: 0
    Last Post: 04-06-2004, 01:34 PM
  3. A few VB questions
    By veedubya in forum Software & Software Development
    Replies: 3
    Last Post: 12-31-2002, 11:48 AM
  4. Hardware Questions
    By snafu83 in forum General Hardware Discussion
    Replies: 2
    Last Post: 05-21-2002, 02:59 AM
  5. Hardware Questions
    By MP3runner in forum General Hardware Discussion
    Replies: 6
    Last Post: 07-24-2001, 10:33 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
  •