NI VISA OpenSUSE 12.2

Hello,
I`m trying to install NI-VISA on my OpenSUSE 12.2 64-bit system. The latest version for Linux, that I found, was NI-VISA 5.1.2. The instalation aborted with the error:
  NI-VISA for Linux
     version 5.1.2f0 for Linux
National Instruments products support the following Linux distributions:
   openSUSE
   Red Hat Enterprise Linux Desktop + Workstation
Refer to README.txt for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.
Continue? [Yn] y
Checking required install tools...
Checking installer tool versions...
rpm        4.9.1.2 can be used with a default installation path
tar        1.26
Checking dependencies...
glibc      2.15
Unpacking install files to /tmp/nivisa-5.1.2f0.install...
*********************************** ERROR ************************************
*       ERROR: 3.4 kernels are not supported!          *
*    Running a 2.6.x kernel is required to continue this installation.       *
*********************************** ERROR ************************************
Installer is aborted.
Is there a version for SUSE 12.2 available, or some other way so that I can install NI-VISA?
Thank you for help,
Stefan

Hello,
NI VISA 5.4 is supported in OpenSUSE 12.2:
http://joule.ni.com/nidu/cds/view/p/id/4234/lang/en
Mason M
Applications Engineer
National Instruments

Similar Messages

  • Depandancy conflict when installing NI-VISA 5.2 under OpenSuse 12.3

    Hi everybody,
    I have some trouble when I install NI-VISA 5.2 under OpenSuse.
    See below the output of the NI-VISA installer :
    Installing NI-VISA for Linux version 5.2.0f0...
    Pre Installation .
    Post Installation .
    Skipping nisvcloc-10.0.1-1.i386.rpm installation, same or newer already installed.
    Pre Installation ..................................
    Preparing... ################################# [100%]
    file /usr/local/natinst from install of nirpci-4.3.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nirpci-4.3.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nirpci-4.3.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of nikali-2.3.0-f0.noarch conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nikali-2.3.0-f0.noarch conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nikali-2.3.0-f0.noarch conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of nipalki-2.8.1-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nipalki-2.8.1-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nipalki-2.8.1-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of nipali-2.8.1-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nipali-2.8.1-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nipali-2.8.1-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of niorbki-1.10.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of niorbki-1.10.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of niorbki-1.10.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of niorbi-1.10.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of niorbi-1.10.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of niorbi-1.10.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of nidimki-1.13.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nidimki-1.13.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nidimki-1.13.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of nidimi-1.13.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nidimi-1.13.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nidimi-1.13.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of nimdbgki-1.11.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nimdbgki-1.11.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nimdbgki-1.11.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of nimdbgi-1.11.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nimdbgi-1.11.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nimdbgi-1.11.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of nimxdfki-1.12.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nimxdfki-1.12.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nimxdfki-1.12.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of nimxdfi-1.12.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nimxdfi-1.12.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nimxdfi-1.12.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst conflicts between attempted installs of nipxipfki-1.5.1-f0.i386 and nimxdfi-1.12.0-f0.i386
    file /usr/local/natinst from install of nispyi-2.8.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nispyi-2.8.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nispyi-2.8.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst conflicts between attempted installs of nispyi-2.8.0-f0.i386 and nipxipfki-1.5.1-f0.i386
    file /usr/local/natinst from install of nimdnsresponder-2.1.0-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of nimdnsresponder-2.1.0-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of nimdnsresponder-2.1.0-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst from install of niapalerri-2.1.1-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of niapalerri-2.1.1-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of niapalerri-2.1.1-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst conflicts between attempted installs of nipxipfi-1.5.1-f0.i386 and niapalerri-2.1.1-f0.i386
    file /usr/local/natinst from install of niiotracei-3.0.1-f0.i386 conflicts with file from package nitdmsi-2.4.0-f0.i386
    file /usr/local/natinst from install of niiotracei-3.0.1-f0.i386 conflicts with file from package nigmpi-12.0.0-f5.i386
    file /usr/local/natinst from install of niiotracei-3.0.1-f0.i386 conflicts with file from package niwebpipeline20_dep-2.0-5.i586
    file /usr/local/natinst conflicts between attempted installs of niiotracei-3.0.1-f0.i386 and nipxirmi-2.7.3-f0.i386
    Error installing NI-VISA for Linux 5.2.0f0.
    Installer is aborted.
    Could some one can help to install or debbug the installer ?
    Regards Marc

    Hi Marc-henri,
    have you tried to install NI VISA 5.3?
    you can dowload it on ni.com.
    Best regards
    Aurélien Corbin
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Cahiers de vacances de NI
    Présentations en ligne : 12 fondamentaux à réviser, du 9 juillet au 29 aoû...

  • LV 8.5, NI-KAL 1.6, NI-VISA 4.2 on openSuSE 10.3

    Hi,
    I've been trying out various options from the recommended distros of Mandriva, RHEL and Suse to zero in on the right one for my Labview 8.5 application which would involve heavy GPIB and Serial comms interfaces.
    I tried my hand at Mandriva, Mandriva 2008 to be precise as many posters had suggested over here that Mandriva provides the best support for LV alongwith the NI-KAL associated hardware drivers. It was a no-go, I tried several techniques from recompiling the kernel to the steps mentioned in the README.txt file. I couldn't install it...still.
    Then I turned to the latest Opensuse version 10.3, which runs the 2.6.22.xx kernel. The installation was flawless from the word go. NI-KAL and NI-VISA installed beautifully (at this point I will have to mention that one would need to perform the steps mentioned for Suse in the NI-KAL Readme.txt file). Labview 8.5 too installed without any hitches.
    I am currently using Windows developed VIs which involve a lot of TCP/IP and Serial comms on Linux, and all of it runs as it is supposed to.
    I would recommend Opensuse 10.3 for anyone wanting to use the 2.6.22.xx kernel distros alongwith Labview.
    -Anshul

    Any hints on how to do this?
    I'm assuming by "this" you mean install the correct kernel source?  First from a terminal I would run:
    rpm -qa | grep kernel
    If you have a package called "kernel-source" installed you have the wrong package for Mandriva 2008.  Uninstall it with "urpme <package>" or use the graphical package manager.
    Next from a terminal run "uname -r" to see exactly what kernel you have installed.  Then I would recommend using Mandriva's graphical package manager to search for "kernel", and install the kernel-<something>-devel package that matches your current kernel.   For example if uname -r returns something like "2.6.22-desktop586", then you want to install the package named something like "kernel-desktop586-devel-2.6.22".  Note these names might not be exact and may be different for you kernel, but if you use the graphical package manager and simply search for "kernel" it shouldn't be too hard to find the right package.
    Shawn Bohrer
    National Instruments
    Use NI products on Linux? Come join the NI Linux Users Community

  • Error while trying to install NI-VISA driver on SUSE LINUX 11.1(The version of gcc in the path does not match the version of gcc used to compile the currently running kernel.)

    hi i am trying to install NI-VISA driver on SUSE LINUX 11.1.
     the error message it shows is
              ******************************** ERROR ****************************************
    * The version of gcc in the path does not match the version of gcc used to    *
    * compile the currently running kernel.  This can cause unpredictable         *
    * behavior in kernel drivers and should be fixed.                             *
    * gcc version: Linux)                                                          *
    * kernel compiled with: 4.3.2                                                 *
    ******************************** ERROR ****************************************
    my kernel source version is 
       linux-8nes:/home/admin # rpm -qi kernel-source
    Name        : kernel-source                Relocations: /usr/src
    Version     : 2.6.27.29                         Vendor: openSUSE
    Release     : 0.1.1                         Build Date: Sun 16 Aug 2009 03:43:52 PM IST
    Install Date: Sat 24 Oct 2009 02:13:12 AM IST      Build Host: rinck
    Group       : Development/Sources           Source RPM: kernel-source-2.6.27.29-0.1.1.src.rpm
    Size        : 309251954                        License: GPL v2 only
    Signature   : RSA/8, Sun 16 Aug 2009 03:57:25 PM IST, Key ID b88b2fd43dbdc284
    Packager    : http://bugs.opensuse.org
    URL         : http://www.kernel.org/
    Summary     : The Linux Kernel Sources
    Description :
    Linux kernel sources with many fixes and improvements.
    Authors:
        Linus Torvalds <[email protected]>
        see /usr/src/linux/CREDITS for more details.
    Source Timestamp: 2009-08-15 17:53:59 +0200
    GIT Revision: 8a413546901c407e96f7fba18574cceeb40452af
    GIT Branch: SLE11_BRANCH
    Distribution: openSUSE 11.1 
    i had also installed GCC 4.3.2.
    it shows the error message as i had posted.
    please kindly help me on this.
    Thanks and regards,
    P.karthick

    Check this solution

  • NI-VISA installation fails on Scientific Linux 6.0

    Hi!
    I am trying to install Labview 2012 on Scientific Linux 6.0 (regarding to the NI website this distro is supported).
    The LabView installation works fine, but the subsequent NI-VISA installation terminates with the following error msg:
    # ./INSTALL
      NI-VISA for Linux
         version 5.2.0f0 for Linux
    National Instruments products support the following Linux distributions:
       openSUSE
       Red Hat Enterprise Linux Desktop + Workstation
    Refer to README.txt for the latest information at the time of release.
    Refer to www.ni.com/linux for the most recent information about Linux
    support at National Instruments.
    Continue? [Yn]
    Checking required install tools...
    Checking installer tool versions...
    rpm        4.8.0 can be used with a default installation path
    tar        1.23
    Checking dependencies...
    glibc      2.12
    2.12
    Unpacking install files to /tmp/nivisa-5.2.0f0.install...
    ******************************** ERROR ****************************************
    * The version of gcc in the path does not match the version of gcc used to    *
    * compile the currently running kernel.  This can cause unpredictable         *
    * behavior in kernel drivers and should be fixed.                             *
    * gcc version: gcc-Version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)                                                           *
    * kernel compiled with: 4.4.6                                                 *
    ******************************** ERROR ****************************************
    Installer is aborted.
    Obviously the installer finds the kernel source and gcc 4.4.6. Is there anything I can do to install NI-VISA on the system? If not, could you suggest me a linux distro which works with LV2012? I am tired trying several ones.
    Thanks for you help!

    Hi,
    have a look to this link:
    http://digital.ni.com/public.nsf/allkb/463B062FB2416B2F86257942007233B4?OpenDocument
    Maybe this could help you
    Regards
    Philipp

  • OpenSUSE Repos in Zenworks - Read timed out?

    Hi,
    we have some openSuse13.2 Workstations that we like to update and install Software via Zenworks. The same way we update an install Software on our SLES11 Server via zac is not possible?
    So we try to download the repos from http://download.opensuse.org and make a yum Repository so that we can update and install Software with zypper on openSuse13.2.
    The Problem now is that we have trouble to download a RPM package that is very big. The package is kiwi-image-livecd-gnome-promo-part with 866.745 MB ...to big for Zenworks? We got following the Error Message:
    An error occurred while trying to download the package "kiwi-image-livecd-gnome-promo-part 13.2-3.27 sled-11-x86_64 (x86_64)".Read timed out.
    the complete message:
    Code:
    INFO Anzahl der Kataloge = 0 ; Anzahl der Bundles = 0 ; Anzahl der heruntergeladenen Pakete = 0 ; Anzahl der bereits verfgbaren Pakete = 0. 20.03.2015 18:20:08
    FEHLER Fehler bei der Reproduktion fr Abonnement "openSUSE/opensuse-OSS" : An error occurred while trying to download the package "kiwi-image-livecd-gnome-promo-part 13.2-3.27 sled-11-x86_64 (x86_64)".Read timed out. 20.03.2015 18:20:08
    INFO 5175 von 23366 Paketen "kiwi-image-livecd-gnome-promo-part 13.2-3.27 sled-11-x86_64 (x86_64)" werden heruntergeladen, Dateigre: "866.745 MB (908,848,256 bytes)" 20.03.2015 18:04:37
    INFO 5174 von 23366 Paketen "kiwi-image-livecd-gnome-promo-part 13.2-3.27 sled-11-x86_64 (x86_64)" werden heruntergeladen, Dateigre: "866.745 MB (908,848,256 bytes)" 20.03.2015 17:46:35
    INFO 5173 von 23366 Paketen "kiwi-image-livecd-gnome-promo-part 13.2-3.27 sled-11-x86_64 (x86_64)" werden heruntergeladen, Dateigre: "866.745 MB (908,848,256 bytes)" 20.03.2015 17:27:57
    INFO 5172 von 23366 Paketen "kiwi-doc 7.01.16-2.1 noarch (noarch)" werden heruntergeladen, Dateigre: "5.151 MB (5,400,883 bytes)" 20.03.2015 17:27:51
    Can I set the timeout higher? Or can I exclude the package... I dont need kiwi-image-livecd-gnome-promo-part.
    Thanks and Regards
    Ronald

    ronaldhafer,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://www.novell.com/support and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Forums Team
    http://forums.novell.com

  • Install NI-VXI on openSUSE

    I am trying to install NI-VXI on a machine with openSUSE
    10.3 (Linux kernel 2.6.22.17). I got LabVIEW 8.5, NI-KAL 1.7 and
    NI-VISA installed and working perfectly. But when I run the .INSTALL
    script for NI-VXI, I get the following output when the makefile is
    building the VXI driver
    Would you like to automatically configure and build the driver? [Yn] Y
    Configuring the NIVXI Makefile to build on your system.
    Kernel sources headers found in /lib/modules/2.6.22.17-0.1-default/source/include.
    The kernel contains the vprintk symbol.
    The remap_pfn_range() function is from a post-2.6.9 kernel.
    Editing Makefile
    Finished configuring.
    Attempting to build the NI-VXI driver.
    make -C /lib/modules/2.6.22.17-0.1-default/build SUBDIRS=/usr/local/nivxi/src KBUILD_VERBOSE=0 modules
    make[1]: Entering directory `/usr/src/linux-2.6.22.17-0.1-obj/i386/default'
    make -C ../../../linux-2.6.22.17-0.1 O=../linux-2.6.22.17-0.1-obj/i386/default modules
      CC [M]  /usr/local/nivxi/src/vxi.o
    In file included from /usr/local/nivxi/src/vxi.c:13:
    /usr/local/nivxi/src/mutex.h:59:42: error: macro "mutex_acquire" requires 4 arguments, but only 1 given
    In file included from /usr/local/nivxi/src/vxi.c:13:
    /usr/local/nivxi/src/mutex.h:59: warning: ‘regparm’ attribute only applies to function types
    /usr/local/nivxi/src/mutex.h:59: warning: ‘cdecl’ attribute only applies to function types
    /usr/local/nivxi/src/mutex.h:61:42: error: macro "mutex_release" requires 3 arguments, but only 1 given
    /usr/local/nivxi/src/mutex.h:61: warning: ‘regparm’ attribute only applies to function types
    /usr/local/nivxi/src/mutex.h:61: warning: ‘cdecl’ attribute only applies to function types
    /usr/local/nivxi/src/vxi.c: In function ‘vxi_install_interrupt_handler’:
    /usr/local/nivxi/src/vxi.c:111:
    warning: ‘deprecated_irq_flag’ is deprecated (declared at
    /usr/src/linux-2.6.22.17-0.1/include/linux/interrupt.h:66)
    /usr/local/nivxi/src/vxi.c:111:
    warning: ‘deprecated_irq_flag’ is deprecated (declared at
    /usr/src/linux-2.6.22.17-0.1/include/linux/interrupt.h:66)
    /usr/local/nivxi/src/vxi.c:112: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
    /usr/local/nivxi/src/vxi.c:128:31: error: macro "mutex_acquire" requires 4 arguments, but only 1 given
    /usr/local/nivxi/src/vxi.c:133:31: error: macro "mutex_release" requires 3 arguments, but only 1 given
    /usr/local/nivxi/src/vxi.c:146:31: error: macro "mutex_acquire" requires 4 arguments, but only 1 given
    /usr/local/nivxi/src/vxi.c:158:31: error: macro "mutex_release" requires 3 arguments, but only 1 given
    make[4]: *** [/usr/local/nivxi/src/vxi.o] Error 1
    make[3]: *** [_module_/usr/local/nivxi/src] Error 2
    make[2]: *** [modules] Error 2
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.22.17-0.1-obj/i386/default'
    make: *** [default] Error 2
    Done!
    NI tech support said that openSUSE
    in not supported (even though the web site says it is) and that I need
    to change my Linux distribution to one that is. Has anyone out there
    have a workaround to install it on openSUSE. I rather not change the Linux kernel if I can help it since all my other applications are running perfectly.
    p.s. this is a repeat message of one I poster on the wrong forum

    I had this same exact problem except on RHEL 5.6, and RHEL *is* a supported OS and it actually compiles fine on RHEL 4.7.   Since NI hasn't released a driver update after 2.1, I decided to see if I could fix it myself.  The problem lies in the fact that the header 'lockdep.h' was added with the following code:
    #ifdef CONFIG_DEBUG_LOCK_ALLOC
    # ifdef CONFIG_PROVE_LOCKING
    # define mutex_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 2, i)
    # else
    # define mutex_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 1, i)
    # endif
    # define mutex_release(l, n, i) lock_release(l, n, i)
    #else
    # define mutex_acquire(l, s, t, i) do { } while (0)
    # define mutex_release(l, n, i) do { } while (0)
    #endif
    As you can see, the above function names directly conflict with the 'mutex_acquire' and 'mutex_release' function names defined in the NI source code.
    The *correct* fix would be to simply rename 'mutex_release` and 'mutex_acquire' to 'ni_mutex_release' and 'ni_mutex_acquire' respecitvely in the files mutex.h, mutex.c and vxi.c so they no longer conflict with the function definitions in lockdep.h.  Unfortunately, the source code for nivxi.o is not given and this object file calls the two aforemented functions and this cannot be changed without the source.  However, NI has the source so they could do the function name change no problems. 
    There is also a name conflict with the struct named 'mutex' and this can be fixed by changing the following in mutex.h:
    OLD
    typedef struct mutex mutex_t
    NEW
    typedef struct ni_mutex mutex_t
    And also the following in mutex.c:
    OLD
    struct mutex {
    struct semaphore sema;
    NEW
    struct ni_mutex {
    struct semaphore sema;
    Finally, in vxi_kernel.c there is a call to '__put_page()' that needs to be updated like so:
    OLD
    NIVXICC void vxi_dec_page_usage_count(struct page *pg) {
    __put_page(pg);
    NEW
    NIVXICC void vxi_dec_page_usage_count(struct page *pg) {
    put_page(pg);
    If NI were to do all of the above, this kernel module should compile cleanly under the latest 2.6.X kernels.   In the interim, since we don't have the luxury of changing the names of 'mutex_acquire' and 'mutex_release' due to not having the 'nivxi.o' source, we have to do a small kludge and alter the 'lockdep.h' directly (mine is in /usr/src/kernels/2.6.18-238.el5-i686/include/linux/lockdep.h)
    OLD
    #ifdef CONFIG_DEBUG_LOCK_ALLOC
    # ifdef CONFIG_PROVE_LOCKING
    # define mutex_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 2, i)
    # else
    # define mutex_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 1, i)
    # endif
    # define mutex_release(l, n, i) lock_release(l, n, i)
    #else
    # define mutex_acquire(l, s, t, i) do { } while (0)
    # define mutex_release(l, n, i) do { } while (0)
    #endif
    NEW
    #ifndef NOLOCKDEP
    # ifdef CONFIG_DEBUG_LOCK_ALLOC
    # ifdef CONFIG_PROVE_LOCKING
    # define mutex_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 2, i)
    # else
    # define mutex_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 1, i)
    # endif
    # define mutex_release(l, n, i) lock_release(l, n, i)
    # else
    # define mutex_acquire(l, s, t, i) do { } while (0)
    # define mutex_release(l, n, i) do { } while (0)
    # endif
    #endif
    And finally we need to alter the Makefile script in 'nivxi/src' to pass the 'NOLOCKDEP' define when compiling so that the offending block of code above is skipped for only the compilation of vximod.ko
    OLD
    EXTRA_CFLAGS := -DVXI_MAJOR=0 $(KERNEL_VARIANT) $(DEBUG_KERNEL)
    NEW
    EXTRA_CFLAGS := -DVXI_MAJOR=0 $(KERNEL_VARIANT) $(DEBUG_KERNEL) -DNOLOCKDEP
    To reiterate, if NI were to update the source code of nivxi.c, vxi.c, mutex.c and mutex.h by changing all instances of 'mutex_acquire', 'mutex_release' and 'struct mutex' to 'ni_mutex_acquire', 'ni_mutex_release' and 'struct ni_mutex' then everything would be fixed.  They also need to change '__put_page()' to 'put_page()'.  But until they do (if they ever do), then we as users are forced to leave the names as-is, and instead do the -DNOLOCKDEP kludge in lockdep.h and the Makefile as well as fix '__put_page()'

  • NI-VISA on ubuntu 14.04

    Hi,
    I'm trying to install NI-VISA on Ubuntu 14.04 and I get a message "unexpected operator" during ./INSTALL (log attached). After rebooting visaconf crash with the following message (libnipalu.so failed to initialize).
    Does anyone face similar experience?
    Attachments:
    INSTALL_VISA.log ‏7 KB

    fred95 wrote:
    Hi,
    I'm trying to install NI-VISA on Ubuntu 14.04 and I get a message "unexpected operator" during ./INSTALL (log attached). After rebooting visaconf crash with the following message (libnipalu.so failed to initialize).
    Does anyone face similar experience?
    NI officially supports OpenSUSE, Scientific Linux, Red Hat Enterprise Linux  http://download.ni.com/support/softlib//visa/NI-VISA/5.4/linux/README.txt

  • Open and Close a command line exec via OpenG.lib in seperate VIs

    Hi,
    I'm aiming to perform tests on my UUT - over a command line based executable which established a USB connection, so - sendings commands and checking the return string. 
    So far i'm reusing the pipeNight.vi which is shared in the following post.
    http://forums.ni.com/t5/LabVIEW/How-to-pass-input-to-a-DOS-executable-that-is-running-in/m-p/1763182...
    However i wish expand from LabVIEW and utilise NI-TestStand sequence files to ramp up the test coverage and perform the tests automatically.
    The issue i've encountered - every time i call the pipeNight.vi from a TestStand sequence Step, the USB connection is build up and torn down.
    Although i'm not encountering any performance issues to date, i would ultimately like to open a session (i.e.establish the usb connection) - at the beginning of a sequence file, send a bunch or commands and check return strings, before closing the session at the end of the sequence file. This is surely a more effecient and elegant solution.
    Is it somehow possible to split the pipeNight.vi into several VIs to realise this objective?
    - Open 
    - Write/Read
    - Close
    i'd appreciate and help or alternatice solutions on this!
    B.Regards
    Kech
    Solved!
    Go to Solution.

    I had tried to explain in my initial post, that if i call the pipeNight.vi from a TestStand sequence file step, then establishes a USB connection and tears it done - for every command that i send/ respectively every sequence step that i run in TestStand. As i envisage multiple (several hundred) test steps, i woul like to improve effeciency by establishing the ESB connection once instead of multiple times.

  • Use two VIs with the same name, different functionality on a single Project

    Hi, I'm working with vision builder al labview, I need to integrate the vision builder migration Vis into my main program, (Is not an option), but I have multiple Vis autogenerated with the same name, how can i integrate them in the same project without dependency problems
    Thanks in advance

    Hi,
    Unless you really need tight integration between the Vision code and the rest of your LabVIEW application, or would rather not have to pay for a Vision Builder AI runtime license on the targets on which you want to deploy your final application, I would recommend you look into using the Vision Builder AI LabVIEW API instead of migrating the inspection to LabVIEW.
    The API allows to control Vision Builder AI by launching a Vision Builder AI engine, running the inspection and retrieving resulting images and results.
    The advantage of the API is that it allows for easier modification and debugging of the Vision Inspection that you designed in Vision Builder, if you need to make changes later. (i.e. all you need to do is open the inspection in Vision Builder AI, modify parameters, add steps etc).
    You won't have to change your LabVIEW application, unless you want to output additional results.
    When you build and deploy your application, you will need to install Vision Builder AI on the target machine and get a runtime license for it.
    Migrating the inspection to LabVIEW is a one way deal. If you need to make changes to the inspection, you will have to migrate the inspection again, or modify the code outside of the Vision Builder AI environment.
    As you might have noticed, the code generated is quite complex, and it is recommended to go this route only if you need really tight integration/synchronization between the vision code and the rest or your LabVIEW code, or if you would rather pay for a cheaper Vision runtime license rather than a VBAI runtime license for the deployment machine (in case of deploying multiple systems where cost is a big consideration).
    Vision Builder AI API examples are located in this folder:
    C:\Program Files (x86)\National Instruments\Vision Builder AI\API Examples\LabVIEW Examples
    Hope this helps clarify the use cases and help you make the right decision for your design.
    Best regards,
    Christophe

  • How can I change my apple ID region after reedeeming a gift card from USA, since I want to use my visa which is from canada?

    Dear Mr/ Mrs:
    I am pooria, my apple ID id **********@*****.com
    well actually I have a problem, I have a Visa card and as I recieved a gift card from my friend from USA, aftrer redeeming the card and spend it through app strore, now, I have 0.98$ and I can't spend for other apps since there is not any app which is exactly 0.98$ . So I've tried several times to get back to my visa card to go to appstore and buy my favorate apps, but the matter is that my visa is from Canada and I recieved a notice in which untill I didn't spenc the 0.98$, I'm not able to change my location and this really is a big problem for me. Would you please fix the problem that I can change my apple ID location to use my visa card?
    Moreover I have to say that as I go to a trip several times a year, I prefere to use giftcards insted of my visacard specially when I'm not in canada, and most goftcards sold in these countries are from US. So It would be a big problem that I always should email apple support inorder to do sth to allow me to change my location scince I would like to have my visa also.
    would you please help me with this matter?
    sincerely
    Pooria
    <Personal Information Edited by Host>

    Pooria
    Contact Apple. Before you do, think about telling the story in order
    I travel a lot
    I have a balance that prevents me from transacting with Apple... please help me.
    I prefer to use Gift Cards, is this wise?
    What would you suggest to achieve my goal of [ whatever your reason may be for your current methods ] ?

  • Ok Apple users...Is there a way to delete e-mails on my Mac and not have to delete the same e-mails on my iPhone, and iPad...and vise-versa. I have the Cloud, and thought that everything would sync all of the time. If you know of a setting I need to adjus

    Ok Apple users...Is there a way to delete e-mails on my Mac and not have to delete the same e-mails on my iPhone, and iPad...and vise-versa. I have the Cloud, and thought that everything would sync all of the time. If you know of a setting I need to adjust, please let me know.

    Are you referring to @mac.com, @me.com or @icloud.com emails? Or some other email providers emails?
    If the former, it should do that automatically. If the latter, no. iCloud does not (nor is it supposed to) sync non-Apple provided emails.

  • How can I create a Teststand (1.0.3 or 2.0) distribution without having all of the VIs (6.0.2 or 6.1) in the same directory?

    How would I create a Teststand distribution of LabVIEW VIs and maintain the test VI directory structure that I want?
    I know that I have to use the application builder to build the custom operator interface, configure it as an ActiveX server, and launch the Teststand engine installation.
    The only problem that I have is using the VI packager which puts all of the test code and sequences in a single directory.
    This gets quite messy. There are just over 1000 files in the neatly orgainzed directory structure that I have now. (this includes support files, dll's and such)
    I have read brief appnotes on configuring the ini file(s) to use
    the vi search path that I want, but have not been able to get this to work. Maybe I'm not updating the correct ini? or have to include each subdirectory?
    I have currently upgraded from LabVIEW 6.0.2 to 6.1
    I am currently using Teststand 1.0.3
    I have not upgraded to Teststand 2.0 yet because I have not decided if I want to build at this revision or go through the extra work to mass compile Teststand at LabVIEW 6.1, install the LabVIEW 6i VI Packager Fix, and update the new Teststand LV operator interface with my changes.
    At present, I'm not getting the results I want and am quickly running out of time. I have to deliver the project by the 14th of July 2002.
    Sorry for the long question and thanks for you help.

    Hi,
    I dont think the problem is really related to using the VI Packager but more to how the OI interface applications relates to labVIEW File constants.
    If you are using the LabVIEW as the ActiveX Server then there should be no problems. But if you are using the Runtime LabVIEW server such as 'TestStandLVRTS' then the file constant would return different paths.
    eg for the Default Path you would get 'C:\TestStand\Components\User\RuntimeServers\LabVIEW' instead of 'c:\Program Files\National Instruments\LabVIEW'.
    Attacted is an example to show how to change these paths when using your runtime server. Unzip this into your teststand examples folder
    Put the INI file in the location of the \user\runtimeservers\labview folder.
    Change the labview adapter t
    o use TestStandLVRTS.exe. You can run the example sequence from either the OI or seqeditor.
    I hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    UsingLVOI.zip ‏20 KB

  • TS1424 I can no longer purchase music or books. Visa etc up to date. Downloads sign just keeps flashing but not downloading

    I have downloaded books and music for two years. Now when I try to the songs do not download. When I press green buy book it goes blank and nothing downloads. My visa is fine and details current. Also when I shut down and next day open up iTunes the same download light is still flashing but nothing downloading. I do not know how to stop or delete this.
    Can anyone help?

    Ah yes school boy error there out of frustration and discontent..
    My issue is with music/apps/films etc not downloading from iTunes / App Store.
    They initially fail and message is displayed stating unable to download / purchase at this time, yet if I retry it says I've already purchased (?) or alternatively I go to the purchased section and there they are waiting with the cloud symbol..
    However some items get frozen in the download window and cannot be retried or deleted. Message appears stating to tap to retry, but even if you stole every bath and sink in the uk you'd still not have enough taps.
    I post here as the iTunes guys are useless in there 'help' and have only advised posting here or phoning apple, at my expense, to explain a problem that could be rectified by forwarding my original email to a techie. However the tech team apparently don't have an email address as they're from ye olde Middle Ages..!
    Anyways I digress.
    So I tried sync to pc, but instead of showing the file as ready to listen/use/view, the iCloud symbol shows and I'm back to square one as the item is unable to download..
    At frustration station waiting for a train from pain...
    All my software is up to date, and had all worked fine prior to the last big iOS update that resulted in all the changes in display and dismay.
    Answers in a postcard :-)
    Much love

  • How do I restrict access so users can only visit certain sites?

    At work we are setting up a laptop in order to do only one thing - use one particular website. I'd like to make sure nobody can visit any other sites.

    Your secure computer has a piece of unpleasant software - My Web Search. Remove any signs of it in Add-ons>Extensions and Plug-ins. Also check in Add/Remove Programs(Programs and Features in Win7). Also make sure you don't have any entries for Fun Web Products.
    You are showing Fx3.5.8. If that is so, it is high time you updated. Chances are, though, that My Web Search has frozen your User Agent String.
    Google for further information but don't accept advice from people behind these products. You can also look in the Search Firefox Help box above.

Maybe you are looking for

  • Highlight root node in jtree

    When I build my JTree, I have just one single node, the root node. So in order to highlight it, I basically do setSelectionRow(0);, however this is not highlighting the node as if a user clicked it with a mouse, WHEN THE APPLICATION COMES UP. Once th

  • Fade und visibilty

    I an using the Fade-Effect with a "div" that is set to "visibility: hidden". When the "div" fades in, the visibility is set to "visible" but not set back to hidden when the "div" fades out again. Is there a way to set it back to "visibility:hidden"?

  • Muse sizing issue

    Hello! I am having a problem with the sizing of my website. When i view on a large screen (iMac) everyone looks spaced fine, but then when i test the same design on a Macbook laptop the design is no longer centered. Does anyone know how to fix this i

  • Moved to a bundled service that is more than double my old bill

    I was originally on a plan where my internet was bundled with basic cable for $39.99. I was then in the last few months moved to a plan that is more that double that with HBO and Starz I did not ask for. If I can't find a plan that significantly redu

  • Premiere Pro CC crashes before completing application startup on Dell Latitude E6530 (i7,16G, Win 7)

    Premiere Pro CC crashes before completing application startup on Dell Latitude E6530 (i7-3720QM,16G RAM, Win 7 64 bit). Is this a know issue? Could this be a video display issue (I see both Intel HD Graphics 4000 and NVIDIA NVS 5200M device support i