bcierr and bciout
Posted: 24 Feb 2006, 18:18
Hi,
I experienced some problems with the RDAClient module. The bcierr message was :
RDAClientADC::Preflight: The SourceChGain values for the first 7 channels must match the channel resolutions settings in the recording software (0.0488281)
The error still occured with the mentionned value provided in SourceChGain.
I wrote a small program with RDAQueue.* in order to play again the preflight phase, using cout instead of bcierr. The reported values (both the value in Parameter and the value from the RDA server) were the same. Eventually, I used printf and I got a different value, with many decimal digits (0.04882812731921149 with a V-Amp16).
Hence cout and cerr (as well as bciout and bcierr) seem to limit the number of decimal places when displaying floatting point numbers, and the problem I encountered may not be limited to the RDAClient module.
If you are in the same situation, you could compile again the EEG source module after removing the test in the Preflight method (the introduced error is neglectible), or query the acquisition program as I did.
I hope this could help.
I experienced some problems with the RDAClient module. The bcierr message was :
RDAClientADC::Preflight: The SourceChGain values for the first 7 channels must match the channel resolutions settings in the recording software (0.0488281)
The error still occured with the mentionned value provided in SourceChGain.
I wrote a small program with RDAQueue.* in order to play again the preflight phase, using cout instead of bcierr. The reported values (both the value in Parameter and the value from the RDA server) were the same. Eventually, I used printf and I got a different value, with many decimal digits (0.04882812731921149 with a V-Amp16).
Hence cout and cerr (as well as bciout and bcierr) seem to limit the number of decimal places when displaying floatting point numbers, and the problem I encountered may not be limited to the RDAClient module.
If you are in the same situation, you could compile again the EEG source module after removing the test in the Preflight method (the introduced error is neglectible), or query the acquisition program as I did.
I hope this could help.