Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Analysis of NI USB 6211 Connection Issue: Is It a Hardware or Software Problem?

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

0 Kudos
Message 1 of 2
(123 Views)

@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: -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


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.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(114 Views)