Closed ik1xpv closed 2 years ago
Note: CCyUSBDevice::DeviceCount() (in CyAPI) returns the number of FX03 devices with ProductID == STREAMER_ID or ProductID == BOOTSTRAP_ID. In CCyUSBDevice::Open(UCHAR dev) dev = 0,1,2.. is the order in which the devices are discovered and depends on the port enumeration of this pc. Use of the same ports guarantees the same dev numbers. At startup if there are many Fx03 devices with BOOTSTRAP_ID both are loaded with the SDDC firmware and the MessageBox allows selection of 1° or 2° SDR.
This is a preliminary test using MessageBox in FX3handker that shows the FX3 Serial number
I'll move it to a dialog in ExtIO_sddc code ...
Looks really nice Oscar! I especially like the fact that now you can see the exact model of each SDR.
Now it's time to print those Dymo labels with '1716' and '1D31', and stick them on your SDRs! hihi
Franco
InitHW() in ExtIO_sddc.dll if there are many FX3 devices asks to select a device
.
bool Enumerate(...) has been added to FX3handler in Win32 implementation while in Linux the code is TBD .
If the fx3handler::GetFx3Device() finds two devices a msgBox at run time asks witch one use. It's a rude solution , a better one with the use of SN to identify the device is planned in future.
See Issue Two devices on the same system at the same time #209