Open ulipoto opened 2 years ago
It seems this error is coming from easy_biologic.lib.ec_lib#init_channels
where BL_LoadFirmware
is called.
From the User's manual (EC-Lab Development Package: Users Guide, Version 6.00 - April 2017) The error is (ERR_GEN_NOCHANNEL[S]ELECTED, no channel selected)
.
Back tracking a bit, it appears that the issue is coming from easy_biologic.device.BiologicDevice#connect
where self.info.NumberOfChannels
is being used to determine the channels to initialize. This info is coming from the call to easy_biologic.lib.ec_lib#connect
to get information about the channels, My best guess is that this is where something is going wrong.
Unfortunately, I don't have access to a VMP3B-10
and can not recreate the error on my devices, so you may have to do some playing around. I suggest printing out BiologicDevice.info
before the call to ec_lib#init_channels
to verify the channels are correct, and if not, try to traceback from there where the issue is being caused.
I used
python -m easy_biologic.find_devices
in the terminal to find my potentiostat and got "VMP3: USB0" as a result. Using that forbl = ebl.BiologicDevice('VMP3: USB0')
does not work. The error received is:EcError: ERR_COMM_CONNECTIONFAILED (-201): Could not establish communication with instrument.
Using only "USB0" returns
KeyError: -7
. And apparently, error -7 does not exist in the error list.The Biologic USB driver is installed and the EC-lab software works fine with USB connection. I'm using the Biologic VMP3B-10 potentiostat.
Do I maybe use the wrong keyword with 'USB0'?
Code:
Full error: