LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NIVISA USB issues

    hi im installed USB-6008 using mandriva 2008, i installed with success, nikal 1.7, nivisa 4.3.0 and daqmxbase 2.1.0, my problem is when i run nivisa driver wizard i cant select the usb device, so i consult the readme file and apparentlly found the solution, i ran the AddUsbRawPermissions.sh but still cant select the USB device in the driver wizard only the pci/pxi is the onlyone avaible, what im doing wrong? i let the screens:
[root@localhost mngolo]# lsdaq
--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
NI USB-6008: "Dev1"    (USB0::0x3923::0x717A::012B88CF::RAW)
--------------------------------
[root@localhost mngolo]# exec /usr/local/vxipnp/linux/NIvisa/USB/AddUsbRawPermissions.sh

NI-VISA : Add Permissions for a Raw USB Device

This Script gives permission to all users to access a specific raw USB
device using NI-VISA.  Under the default configuration of most Linux
distributions, only the root user can access all of the USB devices.
Running this script is not necessary if NI-VISA will be run only by
the 'root' user or if usbfs (formerly known as usbdevfs) is mounted
with the "devmode=0666" option.

"udev" detected.

The Vendor ID (VID) of a USB device is a numeric identifier that
may be up to 4 hexadecimal digits.  It is found in the "device
descriptor" of the USB Device.  An example is "0xA1B2".

What is the Vendor ID (VID) of the USB Device? 0x3923

The Product ID (PID) of a USB device is a numeric identifier that
may be up to 4 hexadecimal digits.  It is found in the "device
descriptor" of the USB Device.  An example is "0xA1B2".

What is the Product ID (PID) of the USB Device? 0x717A

The following USB Device information has been entered:

   Vendor ID   (VID) :    "0x3923"
   Product ID  (PID) :    "0x717A"

Continue? [Yn] y

If the USB Device is currently plugged in, please unplug and plug
it back in for these changes to take effect.

USB Device successfully added.          
0 Kudos
Message 1 of 13
(4,323 Views)
Hi,

I think you are meeting a well known issue...  The problem is that your USB-6008 is loaded with a NI-DAQmx firmware, but when using it on linux, you must switch to NI-DAQmx base...
I really hope it will solve your problem.

Regards

Richard Keromen

0 Kudos
Message 2 of 13
(4,300 Views)

Hi Richard,

Your link leads right back to the original message. Smiley Wink  http://forums.ni.com/ni/board/message?board.id=170&message.id=310188

0 Kudos
Message 3 of 13
(4,280 Views)
hi Ricahard the problem is not solve yet because of this other problem:
i follow this instruction to change the firmware of NIUSB-6008

2)      Sous Linux

 

·        Brancher l’USB

·        Se placer dans le répertoire « usr/local/natinst/nidaqmxbase/bin »

·        Taper «. /lsdaq » cela devrait lister le périphérique USB

·        Taper «. /mxbaseconfig », cela lance l’utilitaire de configuration

but i obtain this:[mngolo@localhost bin]$ ./mxbaseconfig
Can't load LabVIEW runtime library /usr/local/lib/liblvrt.so.8.0
libOSMesa.so.4: cannot open shared object file: No such file or directory

i see this problem in another topic but the problem is that i dont have labview for linux, i installed a number os libOSMesa but i dont know if they're retrocompatible, and i dont knoe how to change te mxbaseconfig to load the new libOSMesa, can u help me? Thanks in advance and i've to sat this a great forum and NI engineers really try to help with solutions...


0 Kudos
Message 4 of 13
(4,252 Views)
Hi,

First of all I'm sorry for having given a wrong link (the good one is here 🙂 ) I don't really understand you don't use LabVIEW ? Then I don't really know how to help you. I know that LabVIEW 8.0 includes a version of Mesa that will work, but another solution would be not to install the nvidia drivers...

Could you explain a little more about what you want to do ? so that I could help you better.

Regards

Richard Keromen

0 Kudos
Message 5 of 13
(4,242 Views)
hi Richard tanks for your answer, well im developing with scilab a code to fault detection and diagnosis using de NIUSB-6008 because project requirement i must develop a solution using scilab only for linux, im using labview with NI PXI-1042 for another project, but for this i cant use it scilab have a data aqcuisition toolbox that apparentlly works with your daq board 6008, but i cant test it because NIUSB-6008 have this firmware problem, can u help me on this?
  
0 Kudos
Message 6 of 13
(4,229 Views)
hi Richard i installed labview (so Mesa problem gone) just to use the configuration program but the device selector isn't active, lsdaq works and show this:
[mngolo@localhost bin]$ lsdaq
--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
NI USB-6008: "Dev1"    (USB0::0x3923::0x717A::012B88CF::RAW)
--------------------------------
but mxbaseconfig cannot detect the device, the link that u send to me shows the following: Start >> Programs >> National Instruments >> Measurement and Automation Explorer).

but using mandriva i've menu->National Instruments and then 3 options Labview 8.5,NI-SPY,NIVISA, i dont have Measurement and Automation, i also try to install nidaqmx 8.0 because in the installation in your links say that is a requirement but i've the following problems:
******************************** ERROR ****************************************
* Kernel source in /lib/modules/2.6.22.9-desktop586-1mdv/source does not appear                                                                          to be
* configured for the 2.6.22.9-desktop586-1mdv kernel.
* Configuration of kernel source is required to continue installation.        *
* Refer to the README file for the product you are installing for information *
* about configuring your kernel source.                                       *
******************************** ERROR ****************************************

i read the readme i did the following:
[mngolo@localhost linux-2.6.22.9-desktop586-1mdv]$ make cloneconfig
make[1]: *** No rule to make target `cloneconfig'.  Stop.
make: *** [cloneconfig] Error 2
then i did this:
root@localhost linux-2.6.22.9-desktop586-1mdv]# make modules_prepare
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
[root@localhost linux-2.6.22.9-desktop586-1mdv]#
try to install daqmx80 again and i've the same error, i verify and kernel source is there because i've to install to install daqmxbase2.1.0,and system confirm that, so im stuckd here, what can i do now?...
0 Kudos
Message 7 of 13
(4,195 Views)
Hi,

The fact that mesa's problem's gone is a really good thing. Now you can't manage to open MAX ? It is absolutly normal, MAX does not exist for Linux, that's why we use mxbaseconfig, lsdaq, and so on...  What you need is :
  • another PC (with Windows)
  • doing the switching procedure from DAQmx to DAQmx base
  • try a lsdaq (it should work) since it has already worked
  • then mxbaseconfig
With this procedure you should be able to use your DAQ device properly.
Hope you will...

Regards

Richard Keromen

0 Kudos
Message 8 of 13
(4,176 Views)

         use PC with windows XP professional + SP2, installed NIDAQmxBase210 (have to use that in order to work properlly with daq toobox os scilab) and NIDAQ871f3, downloaded the switch firmaware utility run the utility and check the box (daqmx to daqmxbase), verify NI-USB6008 in device manager (was ok) back to mandriva lsdaq was ok detected the board correctlly, mxbaseconfig fail can't (detect the board device selector not active), try nivisa, driver wizard fail (USB cant be choosed), i've try the procedures twice, fail bought times, i dont understand why this is happening

0 Kudos
Message 9 of 13
(4,155 Views)
Hi,

After further researchs, and a look at this page, it seems that your version of NI DAQmx base isn't appropriate foryour distribution. You should download the v3.1. And then redo the switching operation.
Hope it will work...

Regards,

Richard Keromen

0 Kudos
Message 10 of 13
(4,145 Views)