-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi, thank you sharing your code!
I own a KickStarter Device and try to run your code and learn about it.
Right now I am using Anaconda 2.6.6 with WIN 11 and installed the phython packages needed.
The Device is connected and blinking.
Running the first script (01_scio_usb.ipynb) I get follwing Error message. Do you have any idea about the possible rootcause?
Best regards,
Martin
Run test on unknown commands
#-----------------------------
device_list = search_scio_usb()
if(len(device_list) != 0):
# Note: No support for multiple Apogee devices. This takes the first one found!
device_address = device_list[0]['address']
print(' - Found device at', device_address)
# Now set up device
scio = scio_usb(device_address) # Create an instance for this device address
await scio.run_test(silent=False)
print('Done...')
Searching for devices:
- Found device at COM3
- Connecting to device
- Testing other commands:
[0, 8, b'\x00\x00\x00\x00\x01\x00\x00\x00']
Hex: 0000000001000000 - Disconnecting
error Traceback (most recent call last)
Cell In[3], line 10
8 # Now set up device
9 scio = scio_usb(device_address) # Create an instance for this device address
---> 10 await scio.run_test(silent=False)
11 print('Done...')
Cell In[2], line 477, in scio_usb.run_test(self, silent)
474 if not silent: print(' - Disconnecting')
475 await self.disconnect()
--> 477 print(' Int:', struct.unpack('<I', raw_resp[2]), ' Shorts:', struct.unpack('<2H', raw_resp[2]))
479 #out = await self.test_parse_response(raw_resp)
480 #print(out)
481 return
error: unpack requires a buffer of 4 bytes