Stand-Alone exe not seeing my VISA instruments

Hello, I am attempting to build a standalone installer application from my VI using LV 7.1 on a Win 2k machine. I have gone through the build application wizard making sure to enable hardware configuration checkbox and select the desired VISA TCP/IP instruments from the list. I am able to build the application without errors and install the stand-alone app on a new PC without LV installed. When I try and run the app, I do not see my TCP resources.
I have tried to install the NI-VISA runtime ver 4 with no success.
Now, when I was installing the app on the new PC, I did recieve an error saying that MAX wasnt avalible. So is there a way to get MAX without installing Labview? Is there someplace on NI's website that allows you to download just the MAX. I would think that the whole purpose of building a standalone application is to NOT have to install labview and therefore MAX.
So what am I missing here? Any help would be great.

I have done some additional digging and here are my results. On my front panel I have a VISA Resource Combo box that selects which instrument I want to use over ethernet (they are both Agilent RF sources). In the visaconf.ini file on my development PC, I see that the aliases for my instruments TCPIP0::xxx.xxx.xxx.xxx::instr0::INSTR are present. There is also a TCPIP-RSRCS section in the config file with more info relating to the TCPIP0 instrument.
On my target PC with only my stand-alone application installed (and no LV), my visaconf.ini file doesnt say a thing about TCPIP0. There is no TCPIP-RSRCS section in the file either. This probably explains why I am not seeing my Agilent instruments in the standalone application.
I do have the MAX configuration file (.nce) but I see no obviously way to load this file into my stand-alone application. I think I bundled it with the installer, but I am really stuck.
Any thoughts???
Attachments:
Labview MAX error.jpg ‏21 KB

Similar Messages

  • Stand alone region not seeing AM definition when added to seeded page...

    I have created a stand alone region of type stackLayout that contains a messageLOVInput and a table for employee selection and forwarding to predefined pages. I then created a test page in JDeveloper where I added a FlexLayout region and extended my stackLayout region. This works as desired.
    I then wished to test my stand alone region by adding it via personalization to a seeded page. I first copied the files to the appropriate directory in $JAVA_TOP into my custom directory. Then I loadd into the MDS, then bounced apache and OC4J. The controls renders as desired. However clicking upon the messageLOVInput in my stand alone region it opens a window and I get "Cannot find LOV in ... AM". Looking at the About this page link, I see that it is not recognizing my AM even though when I added the item via personalization (SITE LEVEL) I specified it. What am I missing here? This should be reusable functionality that can be added to any page, seeded or custom. But for whatever reason it fails to see my AM and thus cannot find the LOV. I know I didn't get the AM reference wrong during the personalization because it would throw an error if I had (ask me how I know this).
    Has anyone ever done this before?

    Hi,
    If your issue is resolved, you can close the thread so that it can be helpful for others :)
    --Sushant                                                                                                                                                                                                                               

  • Stray Blob with Dual Monitors and a Stand Alone exe

    Hi,
    When I run any stand alone exe that I make on a dual monitor system (XP Media Center) I get a blob (see attachment) that is stuck in the middle of the primary monitor.  I tried a very simple app and a complicated one.  Clicking on this blob will make my app run in the foreground and if my app is in the foreground then the blob will show up in front of everything else except for my app.
    I'm using LabVIEW 8.01.
    Thanks,
    Albert
    Attachments:
    Blob1.GIF ‏8 KB

    Have you tried a CO2 fire extinguisher on it? (reference to the movie "The Blob")
    Message Edited by AnalogKid2DigitalMan on 09-19-2006 01:35 PM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    Attachments:
    200px-The_Blob_poster.jpg ‏16 KB

  • Logic Pro 8 not seeing MOTU Symphonic Instrument or MOTU Ethno Instrument

    I've installed Logic Pro 8.0.2, MOTU Symphonic Instrument 1.1.3, and MOTU Ethno Instrument 1.0.1. Logic 8 does not recognize the MOTU plug-ins. The stand-alone MOTU apps work, MOTU Ethno Instrument.component and MSI.component are both properly installed in Library>Audio>Plug-ins, and both MOTU plug-ins are available in Garageband.
    Are there any known issues with MOTU and Logic Pro 8?

    invisibleman wrote:
    I've installed Logic Pro 8.0.2, MOTU Symphonic Instrument 1.1.3, and MOTU Ethno Instrument 1.0.1. Logic 8 does not recognize the MOTU plug-ins. The stand-alone MOTU apps work, MOTU Ethno Instrument.component and MSI.component are both properly installed in Library>Audio>Plug-ins, and both MOTU plug-ins are available in Garageband.
    Are there any known issues with MOTU and Logic Pro 8?
    Sounds like a job for the Motu people.
    What does Motu tech support have to say about this?

  • Build stand alone (exe),help?

    hi i want to make build stand alone (exe) but i cant do that, can you tell me where i can found some example
    to make it (explain with images)?
    tanx

    smercurio_fc wrote:
    Reading the manual might be worth trying as well. You keep asking VERY basic questions which can be answered by just looking in the Help, which NI spent a great deal of time making, or doing a simple search. Your question has been asked many times before, all with the same answer.
    Come on Smercurio, that is too much work!  It would really be easier for him if you would just fly to wherever Marp lives, sit next to him, and handhold him through programming for the rest of his LabVIEW career.
    Marp,
    Take the tutorials. How to Learn LV
    Pay for taking some LabVIEW courses that NI offers.
    and RTFM!

  • Stand alone exe errors using report generation vi's

    I have a stand alone application that uses some report generation vi's. I have added the _wordsub.llb as a support file. In the main program I have told the report generations vi's where to find the _wordsub.llb so it can load the dynamic vi's as needed. The problem is when I run the stand-alone executable I get an open refernce error for one of the dynamic vi's that says that vi is not executable. But when I reconfigure the executable and include that vi as a dymaically loaded vi in addition to the _wordsub.llb, the stand alone works error free. Any suggestions?

    It really depends on what version of office you are using. Some methods have different set of parameters or even different names, labview does not adjust them accordingly, even though the code might execute but it will fail during build process. You must reselect the methods manually in order to build the executable. Most time you need to build different executables for each office version.
    -Joe

  • Does a stand-alone EXE built with Labview 8.2 return a return code?

    My application is an executable that was built from a VI in Labview 8.2. I'm expecting a return code of this stand-alone executable after the execution, however couldn't find a way to control the return code of the application.
    Does a stand-alone executable built with Labview 8.2 return a return code? If yes, how is this code controllable?

    Hi Tdot!
    Thank you for contacting National Instruments.  It looks like your question is something that many others have run into.  This topic is discussed here, and looks to be answered along with a couple of suggestions.  I hope this helps!  Let me know if there is anything else I can clarify.  Have a great day!
    Jason W.
    National Instruments
    Applications Engineer

  • Discoverer Server stand alone or not?

    Hello,
    Can Discoverer Server share a server with any other application, or must it be a stand alone server? Would it effect another apllication if it was sharing a server?
    Thanks,
    Suzanne
    null

    discoverer server must now be installed with oracle 9iAS and can be run on a server that is housing other application or as a standalone server. it depends on the amount of users and the power in the box.
    Christopher

  • Stand-Alone exe for Windows

    Hi -
    I would like to use Java to create executables that will run by themselves with their own icon in Windows 2000 prof. - preferably without any other software installed. I am learning Java but at this point I am confused by all the choices for compilers, interpreters, GUIs, IDEs, etc.
    Which of these elements and which versions will I need?
    Thanks,
    dppatt

    I don't think it's worth doing this. If all you want is a standalone installation that has an icon shortcut, you can do all of that with the JVM.
    1. Distribute the JRE in your application. Installs are for suckers. You don't need them. Create a subfolder in your application direcory and put the JRE you want to use in it.
    2. Write the java command to run your app using the jre from 1, don't just use java because you have no idea what the user has installed.
    3. Create a shortcut in windows. Right click, open properties. Select your icon. In the target, enter your java command but use javaw instead of Java.

  • Java works stand alone does not when called from PL/SQL

    I have this piece of code, which works as a standalone program: It takes in the en_var and returns a path.
    But it wont work when called from a store procedure the line of code p = rt.exec("echo "+envar); returns a path as a standalone program returns null when called from a Oracle store procedure.
    Thanks for any help just going around and round in circles.
    import java.util.*;
    class translate
    public static String translatePath(String envar)
    Runtime rt = Runtime.getRuntime();
    int bufSize = 4096;
    byte buffer[] = new byte[bufSize];
    String path = null;
    Process p = null;
    String os = null;
    String name = null;
    String home = null;
    String dir = null;
    SecurityManager sm = null;
    int len = 0;
    try
    System.out.println("Calling echo "+envar);
    os = System.getProperty("os.name");
    name = System.getProperty("user.name");
    home = System.getProperty("user.home");
    dir = System.getProperty("user.dir");
    sm = System.getSecurityManager();
    p = rt.exec("echo "+envar);
    BufferedInputStream bis = new BufferedInputStream(p.getInputStream());
    while ((len = bis.read(buffer, 0, bufSize)) != -1)
    System.out.write(buffer, 0, len);
    path = new String(buffer);
    //p.waitFor();
    bis.close();
    return path;
    catch(Exception e)
    System.out.println("Exception "+e);
    return "ProcessProblem";
    //path = "/rims/live/log";

    Still cant get it to work, it doesnt fall over anymore, but when I input $PATH, it will output $PATH instead of the path for $PATH i.e /rims/live: What does your program output please:
    Here is my code:
    import java.io.*;
    import java.util.*;
    class translate
         public static String translatePath(String envar)
              Runtime rt = Runtime.getRuntime();
              Process p = null;
              String echoOutput = null;
              int len = 0;
              try
                   System.out.println("Calling echo "+envar);
                   p = rt.exec(new String[]{"/bin/echo",envar});
                   InputStreamReader isr = new InputStreamReader(p.getInputStream());
                   BufferedReader br = new BufferedReader(isr);
                   echoOutput = br.readLine();
                   br.close();
                   isr.close();
                   return echoOutput;
              catch(Exception e)
                   System.out.println("Exception "+e);
                   return "ProcessProblem";
              //path = "/rims/live/log";
    Thanks for all your help so far.
    Tony

  • Stand alone labview application (.exe file) does not run properly

    Hi all,
    I am trying to make a stand alone labview application to run on another computer ( I have never done this before).
    I went through the tools->build application prompts and was able to build an exe file.
    the program is supposed to control a power meter and make power measurements then save them to a text file.
    When I run the exe file, on the same computer I compiled the exe file on, the program generates a text file to save data to but it can not communicate with the power meter.
    There are some sub-VIs and a dll file that are used to communicate with the power meter. Could it be that I am not telling labview to correctly
    include these files when I create an executable?
    What are some common problems that occur when generating stand alone applications that could be causing my issues?
    And does anyone know of any good tutorials on generating stand alone applications in labview other than the NI help files?
    Thanks for your help,
    Solved!
    Go to Solution.

    edCubed wrote:
    Hi Bill, thanks for your suggestions.
    I haven't tried to run this app on another computer yet. I'm just trying to run it on the computer it was developed on.
    The computer I developed it on has all the drivers/resources I need to control the power meter.
    Also, I don't know how to include the VISA runtime with my installer. could you explain how this is done?
    This is the first time IV tried to turn any labview programs into stand alone exe files so I don't anything about how to do it other than what I've seen in youtube videos and help files.
    If you know of any good tutorials that will help me figure this out I would appreciate it.
    Thanks,
    My fault - I didn't read that this was the same computer.  I know the very end of Core 3 studies shows how to build an executable and installer, but even that is very general.  I'm not sure if there exists a tutorial on how to do it.
    As for including the runtimes, when you build an installer, you have to include the runtimes that your executable will need.  It's fairly straightforward.
    Since it won't run on the machine that built it, I'll have to think about it a little bit...
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Server side script not running on stand-alone XE

    Hello,
    In my application I created a Server side script (AJAX) which presents a select-list based on other fields on the page. The very same application runs on a 10g+APEX3.0.1 database AND on a standard XE+APEX2.1 database, which are both accessed via a HTTP-server. The application with the script runs fine on this platform (XP).
    I have two other XP-machines on which I also installed XE+APEX2.1. Both are stand-alone versions NOT accessed via a HTTP-server. I installed exactly the same application which runs on the platform with HTTP server on both of the machines. While testing the correct functioning, I noticed that everything works ok, EXCEPT the server side script which gives me a better select list. Instead of this I get the old-fashioned version of the select-list which is not able to use the value elsewhere on the page.
    I found a similar problem on the XE forum (Re: Server side scripts features ) but it doesn't answer my question how to get the script working on a standalone version of XE (= without access via a HTTP-server).
    Can anybody please help me?
    Thanks & regards,
    Jan.
    Message was edited by: Jan
    J. Hulsing

    Carl,
    Thanks for your suggestion to install FireFox and the Firebug tool (which I wasn't aware of).
    After having looked at the problem for hours, I found what I think is the problem: the htmldb_html_elements.js script.
    As already mentioned, the properly functioning XE on my local PC is accessed via a HTTP-server, as well as the 10gR2+APEX3.0.1 version also running on that PC.
    On the laptop, not running HTTP-server, I get the message: <br>
    <FONT COLOR="RED">$x is not defined <BR>
    <FONT COLOR="BLUE"> f_21_select_kpn<FONT COLOR="RED">(<FONT COLOR="BLUE">input<FONT COLOR="BLACK">#P21_GBREKNR 405<FONT COLOR="RED">, "P21_KOSTENPOST") <BR>
    <FONT COLOR="BLUE">onblur<FONT COLOR="RED">(<FONT COLOR="BLACK">blur <FONT COLOR="RED">)
    </FONT><BR>
    That is in the 'Console' of Firebug.
    When changing to Script I do see a remarkable difference.
    On the PC there the following text is found in the first lines of htmldb_html_elements.js:
    /*htmld_elements will contain the lower level html access js*/<br>
    var gDebug = true;<br>
    var gkeyPressTime;<br>
    var gLastTab=false;<br>
    var gRegex=false;<br>
    var ie=(document.all)?true:false;<br>
    if(ie){document.expando=true;}<br>
    var gDebugWindow = false;<br>
    /*<br>
    $x functions have to do with either single elements or array of elements<br>
    $v functions have to have to do with manipulating values or interaction based off a value<br>
    $xml function have to do with manipulating xml values<br>
    $a functions are based on ajax<br>
    $d functions are specific dhtml constructs<br>
    */<br>
    /* begin $x functions */<br>
    function $x(pNd){<br>
    try{<br>
    var node;<br>
    ...<br><br>
    On the laptop however the first few lines are:<br><br>
    /*htmld_elements will contain the lower level html access js*/<br>
    <br>
    var gDebug = true;<br>
    var gkeyPressTime;<br>
    var gLastTab=false;<br>
    var gRegex=false;<br>
    if(document.all){document.expando = true;}<br>
    // Elements //<br>
    <br>
    function html_GetElement(pNd){<br>
    try{<br>
    var node;<br>
    switch(typeof (pNd)){<br>
    ...<br><br>
    I think that the difference is in these two scripts.
    But why are the scripts different: it is the same XE that is installed on the laptop and the PC.<br>The answer I found in the images/javascript directory of APEX3.0.1 which is located in the APACHE directory-tree (you have to copy the images to APACHE when you use the HTTP-server). And indeed: the htmldb_html_elements.js has exactly the same text as what I see in Firebug on the PC. So XE on the PC is using the javascripts in the image-directory of APACHE on the PC and not the XE-version of the scripts, embedded in XE.
    <br><br>
    So the answer seems to be: copy the APEX3.0.1 versions of the script over to the PC and try to get them into the database. Or...???
    <br>
    Can it be loaded into the database? Will XE accept it?
    <BR><br>
    Would be nice to have answers if the conclusion I found is the right one and if it can be fixed by loading the js into XE.
    <br>
    Best regards and thanks for your help so far.
    <br>
    Jan.

  • Exe Not Executing

    My exe program works when I am logged in but does not work for other users.  On the computer I gave all rights to the executable but they do not have access to the source code VI’s.  This should work since I am compiling it but it does not and I was wandering if it was because so VI’s call dll’s.
    How do I solve the problem?  I do not want my source code available to others.
    I have included the error pasted into work and one of the VI’s that cause the problem (AerAxisMove.vi within llb).
    Thank you for any support.
    Paul

    Hi:
    I've checked out the VI that's causing the problem and I can infer the
    following: The VI attempts to call the dll "A32sys.dll", and it can't
    find it. That's why the error is shown.  One of this three
    strategies may work to fix this. Try them secuentially.
    - 1. Right click the Call Library Function Node and select
    "Configure..." in the pop-up menu. In the Library Name of Path Field
    type the Absolute Path of the DLL, for example
    "C:\Development\Motion\A32sys.dll". Build the application and check if
    it works.
    - 2. When you build the application into an Stand Alone EXE go to the
    Source File tabs and click the "Add Support File..." button. Select the
    DLL. Configure anything else you need and build the application and
    check if this solves the problem.
    - 3. Copy the DLL to the same directory of the .EXE or to the C:\Windows\System32 dir.
    Regards.
    Robst
    Robst - CLD
    Using LabVIEW since version 7.0

  • Deploying Java stand alone application in Weblogic server

    Hi All,
    We have an java stand alone application which our client uses. Suddenly they came up with a requirement of using this application from web logic server.We have following directory structure for our application
    myapp
    - config -> contains all configuration files
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    How to deploy our standalone application in to weblogic server?.
    We tried putting whole myapp folder in WEB-INF folder , and from the servlet we are able to invoke an method in an class file( in myapp.jar say Test.getInstance()) but it couldnt find configuration files (in config folder ) and it is throwing an error. We have a class called Test in myapp.jar and when we call getInstance of the class it loads all config files - config file location is hardcoded as /config/myconfig.xml , and we are facing problem here because it couldnt find myconfig.xml.
    We also tried packaging whole myapp folder in to jar , but with that also we faced the same problem
    Please let us know are we proceeding in the right way and how to deploy our application in weblogic server.We dont prefer making changes to our code at this point of time.
    Any info on this will be very helpful to us.
    Regards,
    Suresh

    Hi René van Wijk,
    Thanks for quick reply. Link you mentioned gave a basic idea of application structure , but still i couldnt get deployment process.
    Am very much new to weblogic.Can you please let me know how to deploy our standalone application in to weblogic, with out making any changes to the code.
    Below is folder structure of my java stand alone application *( not webapplication)*
    myapp
    - config -> contains all configuration files , for ex:- myconfig.xml
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    We have logic to load configuration file (config/myconfig.xml) , in an class and we are not allowed to make any changes to this code, so we cant use Thread.currentThread().getContextClassLoader().getResource(...) .
    Regards,
    Suresh

  • Starting Oracle 8i listener when under stand alone Windows NT 4.0 workstation.

    Hi,
    I am finding it difficult to start oracle listener under a stand alone Windows NT4.0 workstation. My NT machine is stand alone and not connected to any n/w. Since I was not able to bring up listener, I was not able to create any database. I have installed Oracle8i Enterprise Edition on my machine. Please help.
    -- Shesha

    Dear Philip,
    I have attached the listener.ora and tnsnames.ora.
    listener.ora
    # LISTENER.ORA Network Configuration File: D:\Oracle\Ora81\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS = (KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ASHWIN)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = ASHWIN)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ashwin.sheernali)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (SID_NAME = ashwin)
    tnsnames.ora
    ASHWIN.SHEERNALI =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ASHWIN)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ashwin.sheernali)
    Also, I am getting the following error messages when tried with "lsnrctl start" command at command prompt.
    TNSLSNR for 32 bit Windows version 8.1.6.00 - Production
    System parameter file is D:\Oracle\Ora81\network\admin\listener.ora
    Log Message written to D:\Oracle\Ora81\network\log\listener.log
    Listening on (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0IPC)))
    Attempted to listen on (DESCRIPTION=(ADDRESS=(KEY=EXTPROC0)))
    TNS-12538: TNS: no such protocol adapter
    TNS-12560: TNS: protocol adapter error.
    TNS-00508: No such protocol adapter.
    Thanks for everything.
    I will use the simplest forms of listener.ora and tnsnames.ora, as suggested in your mail and try tonight.
    -Shesha
    null

Maybe you are looking for

  • How to permanently delete files from trash?

    I usually see TV series online. Every time I visit to the website, it automatically downloads a Mac_Installer file to my Downloads folder. I delete the file without opening it and secure empty the trash. When I visit the website again, the same file

  • I can't sync my iphone 3gs

    Hi, my iphone 3gs does not appears on "my computer" and when I want to sync it with itunes it does not work. ¿What can I do?

  • How to use camera of new mac book air on skype or google hangouts

    Named programmes can not see new macbook Air's camera.

  • Calling methods from Command prompt

    Hi, OK this may seem crazy:). Is it possible to call a method from the command prompt directly?. For eg. I have a class UFOSeeker that has a static method getPosinSky. Is it possible to just call this method directly form the cmd prompt?, something l

  • Why does the ringtone sound worse AFTER I download it?

    Hi guys, I'm having an odd issue. I just bought three ringtones direct on my iPhone 4S from the iTunes 'Tones' section, and when I set them as ringtones and preview them on the phone they sound really crappy. When I previewed them in the 'Tones' sect