LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using DAQmx with Wine

Hello,

 

is there any experience if it is possible to access I/Os using DAQmx when running a LabVIEW executable under Wine?

I want to use the NI USB 6210.

The host operating system is Ubuntu and I want to run my LabVIEW executable in the Wine environment.

The executable itself is running fine but up to now, I wasn't able to get access to the hardware.

Do I need to install the Linux drivers for the USB box?

Or do I need to pass the USB device to Wine somehow?

 

Any help is apppreciated.

 

Thank you,

 

Christian

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

Christian,

 

I have no personal experience with DAQmx and Wine, but here's what I see about their drivers on the wiki page

 

  • Hight level HW drivers usb, printer, scanner.. (in terms of driver stack) might eventually work as they don't talk directly to the hardware but to the lover level drivers. It's possible to create those [lower] level "drivers" that talk to the hardware via Linux drivers. Example is experimental support for USB drivers.
  • Low level HW drivers (network cards, video drivers, specific hardware, etc). won't ever work as they talk directly to the hardware which Wine can't do. And emulating this won't by feasible. Besides you'll have better chances getting Linux driver instead.

This does not look like a good way to go, through you can try using the DAQmx Base driver (which is different from NI-DAQmx and is supported on some Linux distributions) directly in Ubuntu. Here's a post that may help get you up and running. 

 

Good luck, 

Misha
Message 2 of 3
(3,289 Views)

I can verify that NI-DAQmx, even with USB devices, will fall in to the second category, so it's unlikely that WINE will work with NI-DAQmx.

 

Regards,

Seth B.
Principal Test Engineer | National Instruments
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 3 of 3
(3,264 Views)