Description
When reading the digital out samples, the voltage values come as 24 bit integers. To correctly convert the values into microvolts, one needs to divide the original values in DC mode with 1000/100. However, for Tesla amplifiers in AC mode, the values should be divided with the following value 1000/20. This does not seem to be implemented in the software.
Possible solution
The last bytes of measurementStart packet define the ChannelTypes for each digital out channel. I.e., whether a channel was recorded in AC or DC mode. Please refer to the NeurOne manual for details. The mtms I/O for digital out could automatically detect the channel types from the measurementStart packet.
Description
When reading the digital out samples, the voltage values come as 24 bit integers. To correctly convert the values into microvolts, one needs to divide the original values in DC mode with 1000/100. However, for Tesla amplifiers in AC mode, the values should be divided with the following value 1000/20. This does not seem to be implemented in the software.
Possible solution
The last bytes of measurementStart packet define the ChannelTypes for each digital out channel. I.e., whether a channel was recorded in AC or DC mode. Please refer to the NeurOne manual for details. The mtms I/O for digital out could automatically detect the channel types from the measurementStart packet.