You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GForceHandle::onExtendedDeviceData: datatype = 8, datalength = 0, first byte: ff, last byte: ff
GForceHandle::onExtendedDeviceData: datatype = 8, datalength = 0, first byte: ff, last byte: ff
GForceHandle::onExtendedDeviceData: datatype = 8, datalength = 0, first byte: ff, last byte: ff
GForceHandle::onExtendedDeviceData: datatype = 8, datalength = 0, first byte: ff, last byte: ff
Because data length is zero, the code is not progressing any further. Please note that the same thing happens when I am using your original code in visual studio.
What should I change to store the EMG data in the output file?
Hi,
My team bought an gForcePro+ EMG armband.
I am trying to run a project named EMGRawDataCapture. Actually, I converted it to a CMake project.
https://github.com/ashfaq1701/gforce-data/blob/master/main.cpp
Both the original visual studio project and my copied version doesn't output anything in the output file. The output file remains empty.
I tried to uncomment these log lines,
https://github.com/ashfaq1701/gforce-data/blob/fe2c065cabf36af26805b9531b8679f68d84ad4c/main.cpp#L290
And got these outputs.
GForceHandle::onExtendedDeviceData: datatype = 8, datalength = 0, first byte: ff, last byte: ff
GForceHandle::onExtendedDeviceData: datatype = 8, datalength = 0, first byte: ff, last byte: ff
GForceHandle::onExtendedDeviceData: datatype = 8, datalength = 0, first byte: ff, last byte: ff
GForceHandle::onExtendedDeviceData: datatype = 8, datalength = 0, first byte: ff, last byte: ff
Because data length is zero, the code is not progressing any further. Please note that the same thing happens when I am using your original code in visual studio.
What should I change to store the EMG data in the output file?
Do I need to change the function call here?
https://github.com/ashfaq1701/gforce-data/blob/fe2c065cabf36af26805b9531b8679f68d84ad4c/main.cpp#L376
E.g. do I need to call DeviceSetting::setAccelerateConfig?
If yes, then what should be the value of the parameter fullScaleRange_g?
The text was updated successfully, but these errors were encountered: