LabVIEW runtime application doesn't recognize 7334 motion board

I have programmed an application with a PCI-7334 motion controller which works fine (with LabVIEW 7.0 and NI Motion 6.1.2). Then I built a runtime application with the application builder and transferred it together with the motion controller to another PC and I get a lot of error messages like "illegal board number". The board ID shown in MAX is correct and corresponds to the value in my application.
Then I installed the LabVIEW development system on this other PC and the VIs run properly and recognizes the controller.
Where is the mistake?

There is a little trap when creating an executable from a LabVIEW program that is accessing a NI motion control board. The problem is caused by a type def that is reset to its default value in an executable.
The solution of this problem is quite simple. Please refer to the following document in the NI knowledge base for a detailled explanation and to learn how to resolve this issue:
http://digital.ni.com/public.nsf/websearch/479BEE5E530908F286256E520044563E?OpenDocument
Best regards,
Jochen Klier
NI-Germany

Similar Messages

  • Communicate with LabVIEW RunTime Application

    Hi all.
    I have an application created in LabVIEW, and I built an executable file from it (Let's call it App1.exe).
    While App1 is running it sometimes generates an exception and is aborted. The problem is that the Run-Time APP1.exe GUI remains open (Which is undesirable). I need a way to close it somehow. I realized that the only way to close it is from another application (Let's call it App2).This solution can be realized in 2 different ways:
    1) App2 communicates with App1 and closes it if App1 is not alive. The problem is that sometimes App1 is simply working slowly because of system problems and I might shut it down even though It's still running
    2) To somehow obtain from the Run-Time engine what's the state of App1. I think that this way is preferable but i don't know how to communicate with the Run Time Engine.
    I'll appreciate any suggestions (Preferably with some kind of example code)
    Thanks, Nadav 
    P.S. I'm using LabVIEW 8.2.1.

    What do you mean that it is "causing an exception"? Typically, an exception is a pretty serious failure that would kill the runtime engine too (thus closing all windows associated with it). What sort of error is stopping your application, but not the runtime engine executing it? It sounds like you possible have an internal error state that you haven't handled adequately. Part of the handling for a non-recoverable error should be orchestrating an orderly shut down of the application.
    For what it's worth, if the runtime engine is still alive you can connect to it using VI Server and ask the execution state of the top-level VI. If it comes back "Idle" your code has stopped.
    Mike...
    Message Edited by mikeporter on 05-21-2007 12:43 AM
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Mail doesn't recognize contacts from my address book

    After installing snow leopard it seems that the Mail application doesn't recognize names that are in my address book. For instance when I start a new email, I will start typing a name in the "to" field, where it used to guess the contacts name it no longer does this. I have about 1800 names in my address book, do I have to introduce these to the mail application one by one in order for it to recognize them?
    Thanks for any help you can give.

    To be more clear (in hopes you can get it to work!) :
    Under Mail -> Preferences -> Composing
    1. Be sure to CHECK the box that says autocomplete addresses under the Addressing heading.
    2. Quit Mail and restart.
    If that doesn't work then I would suggest quitting Mail and trashing the Preference file (~/Library/Preferences/com.apple.mail.plist). Then restart Mail and make sure the box is checked as above and restart Mail. Note that all preferences will be reset to the default and you may need to reconfigure Mail the way you like it. You can always drag the plist file back and restart Mail.app to restore your previous settings.
    Ed

  • Subpanel doesn't work in Runtime application

    I created an application that uses a Subpanel. The Subpanel works correctly when I am running the code in LabVIEW, but nothing shows up when I use the runtime application. Are subpanels handled differently by the runtime engine than they are in the Full Development System?

    It turns out that the problem was that I was using controls with type definitions. The type definitions weren't available to the runtime application and thus the VI that I was trying to run in a Subpanel couldn't be opened. One solution is to disconnect all of the type definitions. The other solution may be to place the type definitions in a folder at the same level as the SubVI so that the runtime application can find them.

  • The Dock doesn't recognize applications

    I have a problem that the Dock sometimes doesn't recognize that I've opened an application.
    It doesn't show the little dot underneath the app in the Dock and the menus when pressing the application is also not correct since the application is open.
    It can be everything from third party apps to Apples Mail app.
    What can I do?

    Nevermind, I found another thread about this. https://discussions.apple.com/thread/4150205?tstart=0

  • Labview 8 Application Builder and VISA Runtime Engine

    Hi,
    I am using Labview 8 Application Builder and everything is working fine except for 1 small thing. My program makes use of some of the VISA functions and when I build the application I'm having to include the VISA Runtime Engine Installer as a separate item on the CD to make the .exe file work.
    What I would ideally like is for people who want to use the application to run the installer and that all necessary components (including the VISA Runtime Engine) are also installed in the one installation. At the moment they're having to do 2 installations and I would like to streamline this.
    Is this possible?
    Ken

    Hi,
      this How-To explains about making those selections and including the different drivers :
    http://zone.ni.com/reference/en-XX/help/371361A-01/lvhowto/add_installers_to_build/
    and this tutorial covers the screenshots a little more step by step.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/5ADBC06AC32E508A8625706E0062EBD1
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

  • MAS doesn't recognize custom Mobile Sales UI application for generation

    Hello,
    I've upgraded a Mobile Sales development workstation from CRM5.0 SP08 to CRM5.0 SP13.
    When I try to generate the user interface in MAS I observe the following:
    In MAS I created a new project (via menu entry "Build->Generator settings.." - project name "MON", dll name "MON", UI application "Y_MobileSales").
    But when I check the project dependencies in the visual studio project (menu Project->Project Dependencies..) there is no MON-project available (only the visual studio project itsefl and sfabol). Thus, I can't generate the dll-file, either (I've closed and re-opened MAS multiple times without any effect).
    When I change the UI project to standard values ( UI application "MobileSales"), the entry MON is available within the project dependencies.
    It seems that MSA doesn't recognize the custom UI appliction Y_MobileSales. Everything worked fine within SP08, though.
    Any ideas? Best regards
    Herwig

    Hi Shankar,
    sorry, that I couldn't reply earlier. But after implementing the note we've still the same problem. The MAS doesn't take a custom Mobile Sales UI application into account for generation.
    The option "ENABLEFORCEGEN" is be resettet to "False" after opening the Mobile Application Studio.
    In the Configuration Manager I can't see the UI-Project, only the "sfabol" project appears there. Thus, I can't build the UI solution.
    Any ideas?
    Thanks and best regards
    Herwig

  • Deploy simple Labview applications without installing the Labview runtime?

    [Labview 8.21 - Windows XP]
    Hello and a happy new year to all !
    I have coded very simple Labview applications that basically read text files (exported from Ms Excel), make some string operations, array sorting and at the end write another text file that is then imported in Ms Access. Now I would like other people from the School parents association to use this application on their own PC but ideally without having to install the Labview run-time;  for various reasons one of them being that they are not administrator of their PC, another reason being that I feel bad to ask them to install 100Mb of programs on their PC to execute my <1Mb applications. All that I can assume is that they have Excel and Access installed on their PC.
    I have read some postings on the Forum and in the Knowledge base from which I understand that the only way to use my application without the Labview runtime is to build a shared library that maybe I could then link via a VBA code from inside Excel or Access. But I cannot find any usable example on how to do that practically. And maybe it is not possible. 
    What is the easiest way to run such very simple Labview compiled applications on a PC that does not have Labview installed? Is Labview not at all built for such use?
    Thanks a lot for your help and ideas.
    Christophe

    You will need to have the runtime installed. There is a lot of other languages that also have the need for there own runtime, but they are commonly installed with the OS, so you don't realize it. Just building a dll won't solve this.
    There might be a hack possible, though. People have managed to strip down the required installation and been able to deploy the required parts of the runtime only. If you want to go this way, search on LAVA. But I'm not sure if it works with LV 8.20, and you will need to invest some time to figure out the minimum requirements. But be aware that it is a hack, so it's on your own risk.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Unable to determine the install root path for the LabVIEW Runtime Engine

    Hi,
    i have an issue with using a LabVIEW interop assembly in a .NET application. I get an exception "Unable to determine the install root path for the LabVIEW Runtime Engine" when calling the assembly.
    The little test program is attached below. It's called dotNETHost.exe. If you excecute the programm a dialog with an button appears. Clicking the button shall open another dialog (the LabVIEW Interop component). But the only thing I get is the exception message. The ZIP folder also contains the complete exception meassage (ExceptionMessange.jpg & ExceptionDetails.txt).
    The Interop Assembly was built with LabVIEW 2011. We use Visual Studio 2010 and .NET 4.0.. The dotNETHost.exe.config file is prepared as mentioned in Knowledge base - Loading .NET 4.0 assemblies.
    The Interop assembly contains only one simple dialog (loop is finished by clicking OK) without calling any other VIs or other DLL's.  In case of this there's also no support directory generated by the build process.
    I have no idea why it doesn' work. I hope anyone can help me.
    Thanks in advance
    Kay
    Attachments:
    Debug.zip ‏75 KB

    This may be unrelated, but Labview and .Net4.0 dont work well together. Not yet anyway. I had to compile my assembly in 3.5 to get it to work.
    Please read the following:
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/configuring_clr_version/
    http://digital.ni.com/public.nsf/allkb/32B0BA28A72AA87D8625782600737DE9
    http://digital.ni.com/public.nsf/allkb/2030D78CFB2F0ADA86257718006362A3?OpenDocument
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Labview runtime engine plugin problem in Mac OS X

    Hi:
    We have just recently acquired a macBook Pro and am trying to test some instrumentation modules we have previously developed online for Circuit Theory courses on the MAc platform.
    These VI's are installed on lab view server and we have no difficulty accessing them in Windows XP or Vista from a browser either Firefox or IE. Of course the latest version of runtime engine is installed on the pc prior to accessing the vi using remote panel and secondly we have to disable any virus protection software.
    I have also installed the 8.5 version of LV runtime engine on the macbook with Leopard 10.5.x OS. I can see the LV plugin with the proper version in the Installed plug in check for the Safari browser. But every time the Remote panel is accessed I get a missing plugin message.
    Here is the message:
    Safari cannot find the Internet plug-in.
    The page “Blackboard Academic Suite” has content of MIME type “application/x-labviewrpvi82”, but you don’t have a plug-in installed for this MIME type. A plug-in should be available on this page:
    http://digital.ni.com/express.nsf/express?openagent&code=exck2m&
    Do you want to open the page?
    The page it suggests is the NI site for the plugin download?
    I am really in a corner and donot know what I am doing is wrong? Any help will be appreciated?
    Vishnu

    I'm not a Mac expert, but it sounds like you are missing the LabVIEW Browser Plugin which is necessary to view remote front panels.  That plugin installs with the LabVIEW runtime engine which you can find here.  I don't think Safari requires any extra configuration to work with the plugin but it might... let us know if installing the runtime engine doesn't resolve the problem.
    Travis M
    LabVIEW R&D
    National Instruments

  • CIN (Code interface node) LabVIEW runtime engine dependency

    Hello:
    Am I correct that the old style CIN (code interface node) is not dependent on what version of LabVIEW runtime engine is being used?
    However if I create a dll  from say LabVIEW 8.2 I must then alway have LabVIEW runtime 8.2 installed on any newer machine with newer version of LabVIEW?
    Thank You!

    GE Osmonics wrote:
    Hello:
    What I have are old CIN (no source) that work in LabVIEW7.1 but will not work in LabVIEW 2010 (link error, object code not loaded). 
    What I thought I could do is generate dll from the vi's that contain the CIN using LabVIEW 7.1 with application builder.
     I could use the Call Library Function from LabVIEW 2010 to load the 7.1 generated dll  to effectively do what the old CIN accomplished
    provided I installed the LabVIEW 7.1 runtime engine on my LabVIEW 2010 machine
    Thanks for the input
    If the CIN resource doesn't load you most likely changed the LabVIEW platform. LabVIEW for Windows 32 Bit and LabVIEW for Windows 64 Bit are different platforms. Just as LabVIEW for Windows and LabVIEW for Macintosh or Linux. A 32 Bit DLL, which a CIN is internally can't be executed in a 64 Bit environment at all.
    Your solution fails for more than one reason here. LabVIEW will try to load and link a LabVIEW DLL into its actual runtime environment to avoid interprocess communication latency which would be inavoidable if the DLL is started in a seperate runtime engine, which is in fact a new process. If your issue is 32 bit to 64 Bit you won't be able to link the 7.1 32 Bit DLL into your LabVIEW 64 Bit application through the Call Library Node at all.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Installing of LabVIEW runtime is cause of InTouch can't find its licenses

    Hello All.
    I need to run executable built with LabVIEW from Wonderware InTouch 2012 runtime. But If I install LabVIEW runtime to the target PC, InTouch runtime can't find its licenses and run in Demo mode only. When I uninstall LabVIEW runtime InTouch can find licenses again and operates in normal mode. Licences for InTouch consists of files on the hard drive and software protection dongle of unknown type, connected to USB port. I have tried LabVIEW runtime versions 2012, 2012f3 and 2013, installed from standalone distributions or with distribution of application built with LabVIEW, no differences. What can be cause of conflict? What can I try to do to run InTouch runtime and LabVIEW application simultaneously?
    Target OS: Windows 7 Ultimate 64-bit MUI
    Host OS: Windows XP Professional 32-bit Russian

    Tortu wrote:
    Have you verified if this behavior is present in other computers?
    No, I have only 2 PCs for tests, both new and identical in hardware and software. I'm sure I will get same result on both.
    Have you tried changing the port at which you connect the USB key?
    Yes.
    Did you restart the computer after installing the LabVIEW RTE?
    Yes.
    Have you tried installing the LabVIEW RTE before installing the Wonderware software?
    Yes.
    Can you access other USB keys when you have the LabVIEW RTE install or does all USB communications fail?
    I have another software protection dongle for InTouch. I've  tried it, it doesn't work too. USB in general is working (HID, USB flash drives, USB HDD). 
    Have you received any troubleshooting steps from Wonderware? Please let us know.
    Wonderware support engineers sent me test license file which not require USB dongle. With this license file InTouch operates in normal mode when LVRT is installed. But it is impossible to use such license in production.

  • Labview runtime libraries

    I would like to install a labview program with another installer program, instead of using the Application Builder. I need to know what are the runtime files and registry settings that I have to distribute with my application.

    Thanks for the answer. But we are using Labview 6.1,on win2000 OS and the Application builder installs a whole group of files in the c:\program files\National Instrument directory, with Shared and Datasocket subdirectories where you can find the lvrt.dll in c:\program files\National Instrument\Shared\LabVIEW Run-Time\6.0 directory. Also, The application builder doesn't seem to be installing any lvrte.dll file.
    (NOTE: I'm using the installation of the labview runtime with the application builder in order to see what are the files and registries that are modified/added and then try to replicate that without the application builder, but it seems a bit complicated, there's a whole hierarchy of files installed and many registries modified/added)

  • Windows 7 doesn't recognize usb 6221

    Hi,
    I had an application (plus the entire package with Runtime and DAQmx) in Labview which is deployed on several PC. Until now it worked just fine on PCs with WinXP.
    Now I have to install the same application on a PC with Win7. The problem is the LabView cannot recognize the USB6221 board.
    In Windows Device Manager the board is there, but LabView sees nothing. Also, if I check in Measurement and Automation I cannot see the board there. I installed and reinstalled the entire software but no results.
    Does anzbody had the same experience or could anybody give me some hints??
    Thanks,
    Paul
    Message Edited by PaulieQ on 04-23-2010 06:02 AM
    Solved!
    Go to Solution.

    Dear Pauline,
    There are some factors you need to
    consider while porting to windows 7 platform. As far as i know, only
    labview 2009 software is fully compatiable with windows 7.
    Meaning
    to dispatch to windows 7, you will need the following.
    i)
    Labview runtime engine (Labview 2009)
    ii) Any drivers
    (DAQ, DAQmx ) compatiable with windows 7.
    iii) exe created
    by labview 2009.
    Last time, i also face similar problems. I build
    the exe in windows Xp platform (Labview 8.6) and i can dispatch to
    windows Xp and Vista platform. However when i port the exe to windows 7
    platform, i also cant get it to work well after many tries.
    Finally,
    i just upgrade to Labview 2009 and compile the exe under windows 7
    platform. Dispatch this exe together with the lastest drivers (windows 7
    drivers) and my exe works well for all platforms (XP, Vista and windows
    7) now.
    This may be something you like to try out.

  • Itunes 10.6 doesn't recognize my iphone 4s 32gb, could you please help me?

    I bought an iPhone 4s 32gb from Singapore. I'm living in Chennai, India. To connect it to my computer (windows XP,), I have downloaded iTunes 10.6.1.7. Unfortunately iTunes is not recognizing my iPhone.  I had tried to troubleshoot it by reinstalling iTunes (2 times). I have restarted the apple mobile device from control panel. I try connecting my iphone in another usb port. but no use. I don't know what am I missing?.  iTunes opens on my computer. but doesn't recognize my device. when I click on help. it says an "unknown error has occurred. your computer is not connected to internet. please check your internet connection and try again later". I don't know what to do? could you please help me? thank you so much for your help and time.
    I did the apple's diagnostics test on my computer. I'm pasting the result for your info.
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    System manufacturer System Product Name
    iTunes 10.6.1.7
    QuickTime not available
    FairPlay 1.14.37
    Apple Application Support 2.1.7
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.1.1.4
    Apple Mobile Device Driver not found.
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0013AC2C0E8DEF50
    Current user is an administrator.
    The current local date and time is 2012-06-12 20:13:12.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Intel(R) G41 Express Chipset
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {D85300A1-330D-41ED-AC5A-EC032B22FBF0}
    Description:            Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller - Packet Scheduler Miniport
    IP Address:             192.168.1.3
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Tue Jun 12 19:48:36 2012
    Lease Expires:       Wed Jun 13 07:48:36 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Basic connection to the store failed.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    The network connection timed out.
    iTunes has never successfully accessed the iTunes Store.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.0.1),
    G: Optiarc DVD RW AD-7220A, Rev 1.01
    Drive is empty.
    **** Device Connectivity Tests ****
    iPodService 10.6.1.7 is currently running.
    iTunesHelper 10.6.1.7 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27C8.  Device is working properly.
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27C9.  Device is working properly.
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27CA.  Device is working properly.
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27CB.  Device is working properly.
    Intel(R) N10/ICH7 Family USB2 Enhanced Host Controller - 27CC.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.

    Well, you do not mention what computer OS you are using, so here are the support documents for both.
    Windows:     http://support.apple.com/kb/TS1538
    OS X:     http://support.apple.com/kb/TS1591

Maybe you are looking for