Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to communicate with a USB device on NI Linux Real-Time controller?

Hello, everyone.

 

I want to communicate with a USB RAW device on the NI Linux Real-Time controller (PXIe-8881). The USB device is a STM32F746 development board and is programmed to send data out through USB when one of its buttons is pressed. And the data should be received by the controller through a LabVIEW vi.

 

I have communicated with this USB device successfully with LabVIEW on my Windows PC, so I thought it might be simillar on the controller.

 

I installed NI-VISA on the controller and installed the .INF file generated by the NI-VISA Driver Wizard in the USB device. However, when I plug the USB device into the controller, it doesn't show in NI MAX. I run 'lsusb' command on the controller and find the device can be recognized by the controller. But it just cannot be recognized by NI MAX or the LabVIEW program.

 

I have read USB Device Not Recognized by NI-VISA on NI Linux Real-Time Target - NI. But it doesn't help because my USB device does not load a new module with 'lsmod' when plugged in.

 

I've also read Control a USB Device with NI-VISA on a Real-Time Controller - NI. But it doesn't seem to tell me what could I do actually.

 

So what should I do to achieve this communication? Thank you!

0 Kudos
Message 1 of 1
(824 Views)