Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Announcing: Linux Device Drivers 2023 Q1 and LabVIEW 2023 Q1

Linux Device Drivers 2023 Q1 and LabVIEW 2023 Q1 are now available!

 

Linux Device Drivers 2023 Q1 New Features

  • Red Hat Enterprise Linux 9 support for NI-DMM, NI-FGEN, FlexRIO, NI-SCOPE, NI-SWITCH, and NI-Sync
  • openSUSE Leap 15.3 and openSUSE Leap 15.4 support for NI-DMM, NI-FGEN, FlexRIO, NI-SCOPE, and NI-SWITCH
  • Ubuntu LTS 22.04 support for NI-DCPower, NI-DMM, NI-FGEN, FlexRIO, NI-SCOPE, and NI-SWITCH
  • LV Host Interface API for FlexRIO, R Series, cRIO, and RIO
  • For details refer to the NI Linux Device Driver readme
  • For the complete list of operating system support, refer to the NI Hardware and Software Operating System Compatibility webpage

 

New Features for LabVIEW 2023 Q1

0 Kudos
Message 1 of 4
(1,866 Views)

Failed on ubuntu 22.04.1 virtual machine

 

Device: USB-6525

followed instructions in: (https://www.ni.com/fi-fi/support/documentation/supplemental/18/downloading-and-installing-ni-driver-...)

Following commands run manually, fails on latest "apt-get update" step:

apt-get update
apt-get upgrade
apt-get dist-upgrade
unzip ./Downloads/NILinux2023Q1DeviceDrivers.zip
dpkg -i ./Downloads/NILinux2023Q1DeviceDrivers/ni-ubuntu2204-drivers-2023Q1.deb
apt-get update
apt-get -y install ni-hwcfg-utility
dkms autoinstall
And re-trying the apt-get update gives following output:
Hit:1 http://fi.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://fi.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://fi.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:6 https://download.ni.com/ni-linux-desktop/2023/Q1/deb/ni/focal focal InRelease
Hit:7 https://download.ni.com/ni-linux-desktop/2023/Q1/deb/ni/jammy jammy InRelease
Get:8 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy InRelease [3,064 B]
Get:9 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni i386 Packages [27.5 kB]
Err:9 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni i386 Packages
  File has unexpected size (27469 != 27547). Mirror sync in progress? [IP: 104.18.198.58 443]
  Hashes of expected file:
   - Filesize:27547 [weak]
   - SHA256:8238a5af52a230450fc12d0a54ba24911eb6b20cca9b9d2f4959e95918a5c37b
   - SHA1:b4922855d64e2c93f7154933d7997a170b16b314 [weak]
   - MD5Sum:c5071add845f97a7ab33caf55712003f [weak]
  Release file created at: Fri, 27 Jan 2023 21:02:20 +0000
Get:10 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni amd64 Packages [85.1 kB]
Err:10 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni amd64 Packages
  
Reading package lists...

second apt-get update gives different file size comparing errors (85299 != 85114) and it seems that these two are altering every second time.

 

NI device is connected and recocnized in usb port. lsusb provides following output:

 

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 3923:71df National Instruments Corp. NI USB-6525
Bus 001 Device 004: ID 04d8:00de Microchip Technology, Inc. MCP2210 USB to SPI Master
Bus 001 Device 003: ID 04d8:00de Microchip Technology, Inc. MCP2210 USB to SPI Master
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

So the device is located in: /dev/bus/usb/001/005

 

 

0 Kudos
Message 2 of 4
(1,620 Views)

Got rid of that apt update issue by creating a clean installation of ubuntu and using only "apt" and no "apt-get" in any place.

 

Still some issues persist when using nidaqmx python library, added my comment to topic previously opened on this matter:

https://forums.ni.com/t5/Digital-I-O/install-NI-DAQmx-driver-in-Linux-device/m-p/4301217#M24671 

 

If someone knows what is wrong with this some hints would be appreciated.

I think this has something to do how the host links the usb device to the driver.

0 Kudos
Message 3 of 4
(1,614 Views)

Unfortunately the USB-6525 is not supported on any Linux OS's

 

From: NI Hardware and Software Operating System Compatibility

RayKNI_1-1682508253989.png

 

 

 

Message 4 of 4
(1,606 Views)