LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mandriva 2009: trying to use a raw USB device through VISA

Hi,

I'm a real beginner at Unix, so please be patient 🙂

I have just installed Mandriva 2009 and LabVIEW 2009 on my laptop. My objective is to drive a USB raw device.

I went through some difficulties to install NI-VISA 4.5 and solved them by browsing in the forum. Some issues remain:

 - As I am not familiar with Unix, I am not sure to understand what "usbfs should be mounted with devmode=0666". Could someone tell me the rigth command line to enter?

 - When running AddUsbRawPermissions.sh, I am told that /etc/hotplug cannot be found. Reading the script, I saw that it is looking for /sbin/udevcontrol. I don't have it, I only have under /sbin the "udevadm" and "udevd" executables.

 - When running the VISA driver wizard, I only have access to PXI/PCI. Maybe it is related to former points.

 - When trying to launch the VISA Interactive Control, I get a nice bouncing cursor animation, but nothing else.

 - When trying to use the "VISA Find Resource" VI, Labview just crashes.

Thank you in advance for your answers.

Achille

Message Edité par Achille Taylor le 08-11-2009 11:01 AM
0 Kudos
Message 1 of 3
(2,772 Views)

Hello,

 

First, you should allow software to use USB devices by entering this command : 

 

mount -o devmode=0666 usbfs /proc/bus/usb

 

or this one :


mount -o remount,devmode=0666 usbfs /proc/bus/usb

 

And then tell me if you are still getting the same issues.

 

Regards,

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

Hello,

First command line generated an error (translation from French: mount: you must specify the file system type). Second command line seemed to work. At least it didn't cause an error. Therefore I went ahead and tried the AddUsbRawPermissions.sh script, leading to the same error: -Cannot find "/etc/hotplug".-

Besides, VISA Driver Wizard and VISA Interactive Control still behave the same way.

Regards,

Achille

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