Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6218 NI-DAQ / driver versions Windows 10 1909 vs 1709 Data Freezing

Running on a computer with Windows 10 64 bit build 1909 the readings into a data  acquisition application freeze. Most often this is after 6 - 7 hours.

 

The green LED indicator on the USB-6218 continues flashing slowly.

 

Following this most times the application just collapses.once a on-screen function button is selected.
However once an error pop-up appeared stating

Onboard Device Memory Overflow.

This is attached.

 

This has never occurred before running the same application on Windows XP Pro, Windows 7 Pro 64 bit nor an earlier build of Windows 10 Pro 64 bit1709.

 

All systems are totally stand-alone i.e. no connection to internet or a local network.


The NI device being used for this system is a USB-6218.
The USB port the NI USB-6218 is connected to has been swapped.


The computer is a Dell Optiplex Micro 5070
i5 CPU  i5-9500T, 8GB memory.
128GB M2 SSD as drive C: and 500GB SATA SSD as drive 😧
Windows 10 Pro 64bit build 1909

Please note I am not a programmer. My role is simply system installation and configuration. For the custom application this is to a defined procedure.

 

The application is written in C# based on dotNet 4.0 extended built, I understand, in Visual Studio 2010.
When written NI-DAQmx 9.6.2 was the platform used for the driver pack.


The Windows XP Pro and Windows 7 Pro systems have used PCI cards e.g. PCI-6225 & PCI-6229

The earlier Windows 10 system used a USB-6210.
The computer was a Dell Optiplex Micro 3050, again i5 CPU and 8GB memory but with single 500GB Hard drive, not SSD, partitioned as C: & 😧

The installed application is 64bit build.
The initial NI-DAQmx installation was 9.6.2 as all previous installations.

The computer has all of the following set
Hibernation off - set via command prompt " powercfg.exe /h off "
USB Power Saving - disabled in both power profile and device manger
LAN Power Saving - disabled in device manager ( LAN not used )
Graphics - maximum performance
Hard Drive Sleep - 0 ( = never )
Sleep - never
Display Turn off - never
No screen saver
No log off period i.e. never return to lock screen

Reading that NI-DAQmx 9.6.2 is not specifically supported by Windows 10
I uninstalled this, although see below, then installed 15.1.
With this for one test only the readings froze within 2 hours.
I then uninstalled this and tried 19.6.
Here the USB-6218 simply was not found at all.
I uninstalled 19.6 and tried 18.6.
Here the USB-6218 was seen in device manager but only as USB Firmware loader.

Needing to have the system running for other tests I uninstalled this to revert to NI DAQ 9.6.2.
However this would not install as the installed stated a later version was installed.
This is despite uninstalling but clearly uninstallation is not complete.

 

Generally my biggest gripe with NI software is the uninstallation never leaves the system exactly as before. I always first use the NI installer remove feature where available in preference to Windows Program Manager. I always check Windows Program Manager after to see if any NI entry remains.

My only recourse was to a windows restore point before installing NI-DAQ 15.1
Even here issues to get 9.6.2 to reinstall as installer first reported ' nothing to do '.

 

Any guidance will be appreciated but particularly
- Settings for Windows 10 64 bit and device drivers

      Are they any command line power settings for USB I am unaware of ?
- Specifically which version of NI-DAQ / drivers to use for the USB-6218

      and how to configure to recognise this device.

- Is the full NI-DAQ required or just the driver for the USB-6218 ?

      If the latter how do I correctly just install the driver ?

 

Due to Covid-19 restrictions I am now away from the system but as soon as these are eased resolving this will be very high priority.

The long time for the freeze to occur adds to the difficulty.

 

Modorators.

The sub-forum seemed the best place to post but if another might be more appropriate please kindly move or duplicate.

0 Kudos
Message 1 of 3
(3,159 Views)

While we have been working on this as a Service Request, I just want to include the details of the next steps here for future reference.

 

Based on the description and the error message I've seen, the issue appears to be involving the speed at which measurement data is being transferred from the USB-6218's on-board memory to the computer's memory. One of the tests I would like you to undertake with that is running a LabVIEW DAQmx example (I would recommend the Voltage - Continuous Input.vi). You can find this under: Help > Find Examples > Directory Structure > DAQmx > Voltage - Continuous Input.vi

0 Kudos
Message 2 of 3
(3,037 Views)

Eventually this is resolved.

 

The Dell pre-installed operating system was replaced by a clean installation of Windows 10 1909 64-bit.
The ISO was downloaded from https://tb.rg-adguard.net/public.php

 

A bootable USB flash drive was created following this procedure
https://win10.guru/usb-install-media-with-larger-than-4gb-wim-file

 

The appropriate Dell driver pack was downloaded from
https://www.dell.com/support/article/en-uk/sln312414/dell-command-deploy-driver-packs-for-enterprise...

 

This was installed by following the details here to create a system specific batch file.
Note the batch file must be started from the right-click option " Run as Administrator "
https://1337admin.org/tutorials/manual-installation-of-a-dell-driver-pack-on-a-local-machine/

 

The root of the problem seemingly was some aspect of the Dell Windows 10 build or a feature added by Dell.

The same of course could apply to other OEM builds.

 

NI-DAQ 18.6 was used for the USB-6218 drivers.

While not tried I suspect 15.5.1 and even 9.6.2 would have worked as drivers even if some aspects of the package did not.

0 Kudos
Message 3 of 3
(2,957 Views)