02-23-2025 07:54 PM
Hello. I have a question regarding the NI USB 6211. Please excuse the GPT translation.
First, let me explain the current structure of how the USB 6211 is connected to the PC.
NI is connected via USB to a USB-to-LAN connector. A 5V voltage is applied to this connector, which is used to power the NI device. The LAN cable coming from this connector is then converted back to USB using a LAN-to-USB adapter and connected to the PC.
This setup has been implemented according to the specific conditions of the facility, so it is difficult to change.
Currently, I am using NI in a .NET environment with the NI-Daqmx.dll library.
The problem is as follows:
On the PC, the NI device intermittently disconnects and then reconnects. Although measurements eventually become normal after several retries, in some cases, no matter how many retries are attempted, normal measurement cannot be achieved. I have confirmed that the measurements work properly only after restarting the PC.
The related error messages are as follows:
Error Message 1:
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.
Task Name: _unnamedTask<6>
Status Code: -50808
Error Message 2:
Some or all of the samples requested have not yet been acquired.
To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger, make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock.
Property: NationalInstruments.DAQmx.DaqStream.ReadRelativeTo
Corresponding Value: NationalInstruments.DAQmx.ReadRelativeTo.CurrentReadPosition
Property: NationalInstruments.DAQmx.DaqStream.ReadOffset
Corresponding Value: 0
Task Name: _unnamedTask<1>
Status Code: -200284
My question is: Is this issue simply a hardware problem or a software problem?
Thank You
02-23-2025 08:28 PM - edited 02-23-2025 08:29 PM
@CHANAHEE wrote:
Hello. I have a question regarding the NI USB 6211. Please excuse the GPT translation.
First, let me explain the current structure of how the USB 6211 is connected to the PC.
NI is connected via USB to a USB-to-LAN connector. A 5V voltage is applied to this connector, which is used to power the NI device. The LAN cable coming from this connector is then converted back to USB using a LAN-to-USB adapter and connected to the PC.
This setup has been implemented according to the specific conditions of the facility, so it is difficult to change.
Currently, I am using NI in a .NET environment with the NI-Daqmx.dll library.
The problem is as follows:
On the PC, the NI device intermittently disconnects and then reconnects. Although measurements eventually become normal after several retries, in some cases, no matter how many retries are attempted, normal measurement cannot be achieved. I have confirmed that the measurements work properly only after restarting the PC.
The related error messages are as follows:
Error Message 1:
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.
Task Name: _unnamedTask<6>
Status Code: -50808Error Message 2:
Some or all of the samples requested have not yet been acquired.
To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger, make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock.
Property: NationalInstruments.DAQmx.DaqStream.ReadRelativeTo
Corresponding Value: NationalInstruments.DAQmx.ReadRelativeTo.CurrentReadPosition
Property: NationalInstruments.DAQmx.DaqStream.ReadOffset
Corresponding Value: 0
Task Name: _unnamedTask<1>
Status Code: -200284My question is: Is this issue simply a hardware problem or a software problem?
Thank You
It looks like the USB-Ethernet-USB adapter is not doing its job correctly in meeting the USB requirements of the DAQmx driver. A simple way to confirm is by directly connecting the DAQ to computer, check if it works for long duration, then repeat with the USB-Ethernet-USB adapter, if it fails only in the latter, then it is clearly the adapter.