
Originally Posted by
rEegLer
I don't know where you want me to put this post but FuseGL is not working for me. I have the latest .Net installed as it gave me that prompt when I first tried it. Anything I'm missing? Does it need to go in a certain directory? The error signature event type is clr20r3, not sure if that helps or not.
Here is fine for now. You can also use the beta test thread or create a new thread and post a link anywhere.
Do you have all the versions of .NET? By Microsoft's infinite wisdom, .NET4 is not an "update" to previous versions, it is separate ontop. So you need to separately install .NET2.0, .NET3.0, .NET3.5, and .NET4.0. Once I make an installer it will do so automatically. Try that first.
Also, what hardware (specifically video card) do you have?
If you can capture the error, and if there is a "view details" option, then those details too, that would be great. First I would make sure you have all the .NET's though.
It does not need to be in any specific directory, it can be run anywhere. I am going back to my old methodology from way back when. Single EXE with as few accompanying DLLs as possible so you can just drag the folder around where you want.

Originally Posted by
Sonicxtacy02
So far over my head its not funny

. Can i still use the FindMyDevice method to find a v6 brain? I can successfully use
RRFusion to control/read from my v6 (again, via virtual com port only) but only in single instance scenario. What i'd like to do is add v6 compatibility to the existing connect function
...
I realize that the read/write method from the previous brains doesn't harness the
power of the v6, but the read/write on-the-fly nature would require alot more user configuration in my plugins.
You are free to do write-then-read operations, it will work just fine. It just won't (as you said) "harness the power" of the V6 and potentially eat up USB bandwidth.
FindMyDevice has been depreciated for a looooooooooong time now.
I went back in my code, and I don't even have it give a "depreciated warning" message anymore, I just commented it completely out of compilation. So no you can't. That method does not even exist anymore.
All you have to do is call this static method:
Code:
MainUSBClass.FindAllFusionBrains();
It will enumerate everything (V3, V4, and V6) and store it internally. It is automatically called when devices are plugged in and disconnected as well. So you can *optionally* subscribe to that event, or not and just poll like the old times.
Once you do that call, you can find out how many FBs (all versions) are connected by doing this:
Code:
int how_many_are_connected = MainUSBClass.allFusionBrains.Count;
0 means none, and N means N connected.
To turn on a single Digital output like port 8 (so to replace the first write portion of your code) the byte array looks like:
Code:
int _code = 0x03;
int _length = 1;
int port = 8;
byte[] _toSendArray = new byte[1 + (_length * 2)];
_toSendArray[0] = (byte)((_code << 5) + _length);
_toSendArray[1] = (byte) ((port) << 3);
_toSendArray[2] = 0xFF;
And then to actually send it to the first FB (allFusionBrains[0]), it looks like:
Code:
MainUSBClass.allFusionBrains[0].SendDataToFusionBrain(_toSendArray, 0x01);
That's all. Super simple.
Bookmarks