.dll / VB questions - hardware instances
is causing both FBs to be = the same "fusion index" if either is plugged in separately, they're found at i=0 & the program works. If both are plugged in, both the v3 and v4 are found at i=0 and the v4 brain works, but has intermittent outputs set (inputs don't seem to be affected) as the v3 code is evaluated & sent to the same hardware instance as the v4. the v3 brain registers nothing (in or out). Basically, to the .dll, both FBs are at index 0, but the v4 overrides the v3 and process the bitstream (in and out, both v3 and v4 streams).
For i = 0 To 1
FoundFBv4 = FusionBrain_WinUSB.MainUSBClass.FindMyDevice(i, 4)
If FoundFBv4 Then
FBv4 = i
holderv4 = True
FoundFBv3 = FusionBrain_WinUSB.MainUSBClass.FindMyDevice(i, 3)
If FoundFBv3 Then
FBv3 = i
holderv3 = True
is there another/better way to distinguish between the 2? Or a way to set the hardware instance? I'm guessing windows reads them as separate device types since one is v3 & one is v4, causing the hardware instance to be 0 on both. Would this happen with 2 v4s? or v3s?
It would be nice to have 20+ outputs for my project, i could get by with 16, but I bought 2 FBs for a reason. (I'm sure i could eventually find a use for another but this project is nearing max budget).