08-01-2018 03:11 AM
Hi
I am trying to write a single value to a NI-9263 based on the NI example https://github.com/ni/nidaqmx-python/blob/master/nidaqmx_examples/ao_voltage_hw_timed.py
import nidaqmx with nidaqmx.Task() as task: task.ao_channels.add_ao_voltage_chan('cDAQ1Mod2/ao0') print('1 Channel 1 Sample Write: ') print(task.write(1.0))
But I get a "nidaqmx.errors.DaqError: A USB transfer failed due to a transaction error reported by the USB host controller. This may be due to a fault in the system's USB host controller, a USB cable, or a USB device.", error code -50808, when the write is performed.
I can write to a NI-9401 in the same chassis so the connection should be ok.
Do I need additional steps to write to the analog output?
Best regards
Thorbjørn
Solved! Go to Solution.
08-01-2018 05:43 AM
Hi again
I am not totally sure why but the issue has been resolved. I installed the new NI-DAQ driver with tools which resolved the issue. Guess it must have been an update of the firmware in the module or an update of the driver that has resolved the issue.
/Thorbjørn