Good day,
I tried all the examples available for analog inputs and the results are far from the expected values received from DAQami. It seems that all the examples are set-up for differential measurement and I couldn't find a way to set the configuation to single-ended. Example "usb_2408_2416.py" shows these functions:
# Set channel type to voltage
ul.set_config(InfoType.BOARDINFO, board_num, channel, BoardInfo.ADCHANTYPE, AiChanType.VOLTAGE)
# Set to differential input mode
ul.a_chan_input_mode(board_num, channel, AnalogInputMode.SINGLE_ENDED)
# Set data rate to 1000Hz
ul.set_config(InfoType.BOARDINFO, board_num, channel, BoardInfo.ADDATARATE, 1000)
Unfortunately, all the functions return the following error: "Error 41: This function can not be used with this board"
Thanks for the support,