How can I run a CVI panel in labview ???

Seems simple enough... I want to create a DLL to be called from my labview VI using the "call library function". The DLL will have a panel that the user can navigate around and push buttons to invoke callbacks.
Seems simple enough, but when I try this the buttons do not work. If I try to compile the DLL with the "real time only" runtime support, then it does not like the "LoadPanel, DiscardPanel, RunUserInterface", etc...  vital commands to run a panel.
So what gives? anyone know how to create a DLL with an operable panel to be called from within a labview VI?
I guess I should clarify, the callbacks are CVI callbacks.
Much thanks in advance...

Use LoadPanelEx instead of LoadPanel.
And enable this in the setup:
George Zou
http://webspace.webring.com/people/og/gtoolbox

Similar Messages

  • In TS how can I use a cvi panel launched by one .dll in a different .dll

    I have a dll file that has common functions used by
    several of our PCA's. In this dll I launch a console
    window to dump RS232 strings to for user convenience.
    Each PCA's also has it's own specific dll and I want
    to dump RS232 strings to the console window that was
    lauched by the common dll. Can I do this...

    You can definitely call one common DLL from multiple other DLL's. Some things to watch out for:
    1. If you are accessing your "common DLL" from multiple other programs (the DLL's for each of you PCA's) you need to set up some type of data protection. You may get unexpected results if one program is using the DLL, and another tries to access it. There are many ways to accomplish this. Try searching on MSDN (msdn.microsoft.com) for "multithread-safe DLL".
    2. Since you will be writing to a panel that is created by the common DLL, you will have to set up a communications scheme to accomplish this. The easiest way would be to pass strings between the DLL's using exported function calls. So the common DLL will have an exported function, say "DisplayText(...)" whi
    ch each of the PCA DLL's will call in order to pass in text to be displayed in the common window.
    regards,
    Eric Meyer
    Applications Engineering
    National Instruments

  • How Can I run multiple independant sessions of LabVIEW on one pc?

    I have tried to accomplish this by creating a second LabVIEW.exe named LabVIEW2.exe. Then I run the original and launch my application, run LabVIEW2.exe and I get a new splash screen but no new instance of LabVIEW in the Task Manager. I have seen this work before on different computers running all the same software. Any suggestions........

    > Can you provide any more info
    > about the computers that did this?
    Some applications on Windows will open a new instance each time their
    EXE is opened or double clicked on. Since LV is able to multitask many
    different VIs and applications, and it is typically useful to reuse
    subVIs, so it was decided that these actions would just open the already
    running LV. If you want to run more than one LV, rename it. Whenever
    you are wanting to open a VI into a particular LV, you really can't
    trust double clicking. The OS decides which app to launch or connect
    to, and it is rather difficult to predict what the outcome will be. For
    this reason, either drag-n-drop the VI/LLB to the EXE, or use open from
    within the EXE.
    Greg McKaskle

  • How can I run a vi developed with 7 Express?

    How can I run a vi developed with LabView 7 Express on another machine ? Do runtime versions exist ?

    Apparently, you want to run it on a machine that does not have LabVIEW installed.
    To make a standalone executable of your LabVIEW program, you need to have the Application builder (included in LabVIEW professional and higher, avaliable as an add-on for base and full).
    To run the application, the target system need to have the LabVIEW 7.0 runtime installed (available as a free download).
    There is also the LabVIEW Player. In this case you need to digitally sign your VIs and there are a few limitations. It is meant for for sharing code ideas and is not a viable substitute for the appl
    ication builder.
    Of course you could also get a second copy of LabVIEW.
    Some other options that would work in a very narrow set of situations: Read your LabVIEW license agreement. Under certain conditions you are allowed to install a second copy of LabVIEW on your home computer. If this is for personal educational use only and you qualify, you could also buy the LabVIEW student edition.
    LabVIEW Champion . Do more with less code and in less time .

  • How can I display the front panel of the dinamically loaded VI on the cliente computer, the VI dinamically loaded contains files, I want to see the files that the server machine has, in the client machine

    I can successfully view and control a VI remotly. However, the remote VI dinamically loads another VI, this VI loaded dinamically is a VI that allows open others VIs, I want to see the files that contains the server machine, in the client machine, but the front panel of the dinamic VI appears only on the server and not on the client, How can I display the fron panel with the files of the server machine of the dinamically loaded VI on the client computer?
    Attachments:
    micliente.llb ‏183 KB
    miservidor.llb ‏186 KB
    rdsubvis.llb ‏214 KB

    I down loaded your files but could use some instructions on what needs run.
    It seems that you are so close yet so far. You need to get the data on the server machine over to the client. I generally do this by doing a call by reference (on the client machine) of a VI that is served by the server. THe VI that executes on the server should pass the data you want to diplay via one of its output terminals. You can simply wire from this terminal (back on the client again) to an indicator of your choosing.
    Now theorectically, I do not think that there is anything that prevents use from getting the control refnum of the actual indicator (on the server) of the indicator that has the data, and read its "Value" using a property node. I have never tried this idea but it seems t
    hat all of the parts are there. You will need to know the name of the VI that holds the data as well as the indicator's name. You will also have to serve all VI's. This is not a good idea.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How Can I Run A SQLJ Normal Project In SAP NWDS

    I have a question about SQLJ in SAP NWDS.
    1.I created a java dictionary project,and then create the table , then depoly it.it's ok.
    2.I created a java normal project including the above java dictionary project.
    3.I used the SQLJ tech in the java normal project,exporting the opensqllib.jar,sqljapi.jar,sqljc.jar,sqljimpl.jar.
    4.I coded the normal project,and export the project .jar,everything is ok.
    <b>5.But when i runed the project in NWDS,the error appeared:java.lang.NoClassDefFoundError: com/sap/sql/log/OpenSQLException
         at com.ezkj.deom.sqlj.MainApp.main(MainApp.java:21)
    Exception in thread "main"</b>
    How Can I Run A SQLJ Normal Project In SAP NWDS?
    PLS Help me and don't let me alone!

    Tony,
    Why not try to import your SQLJ project in SAP NWDS. Add all the jars mentioned to the project path both for compile time as well as runtime. Now try running he project. Once you are able to bypass java.lang.NoClassDefFoundError, you will get other errors related to SQL statements. These Oracle SQL statements needs to be converted to OpenSQL format.
    Chill out!!!
    Sukanta Rudra
    Note: If helpful, plz donate some points.

  • How can I run the report for different input values at the same time?

    Reports version: Report Builder 6.0.8.13.1
    Oracle version: Oracle8i Enterprise Edition Release 8.1.7.0.0
    I want to run the same report for different input parameter values and spool each o/p to different file and ftp to a server. For this, as a first step, I am spooling different input values in to a file, reading those values through a loop and calling the report for that input values. Each report run/execution is taking 15 minutes. Total report execution is taking approximately 4 hours (assuming 16 different input values) to complete. So I have to wait 4 hours to see ALL outputs.
    I would like to run the report parallel for ALL the input values and I should be able to see the ALL outputs with in 15 or 16 minutes.
    In my shell script, I added & symbol at the end of the report call to start/run the job in the background. Due to this the control passed to the next step after the report call. At this place I have an ftp command to send the output file to a different server and it is giving error some thing like “o/p file is not available/created yet". This is due to the fact that report writer is NOT yet completely started/initiated or it is NOT completed the spooling.
    How can I run the report at the same time for all the input values and save the time?
    Thanks in advance.
    Kishore.

    Increase the number of server engines running right now it seems there is only one engine running ,increase it to 4 or 6
    and then atleast 4 or 6 reports will run simultaneously.
    For FTPing the output add to your sript to check whether it is locked and if not then only try to ftp .
    Also for more better functionality read the document (chapter 15 ) for 10g reports for its new fuinctionality.
    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/toc.htm
    Thanks
    Subodh

  • How can I run 2 keynote presentations on 2 different macs with only one keyboard?

    How can I have 2 different keynote presentations that I want to run simultaneously through 2 different projectors, but I'd like to try and avoid using 2 keyboards - and use a hardware solution, rather than relying on my 2 fingers!! (it's a long conference!!!) thanks for any help.

    Open the CSS in DW, and use F10 to open the Code Inspector.
    Place the
    latter as needed.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Random_Yggdrasil" <[email protected]> wrote
    in message
    news:gi2htb$j4j$[email protected]..
    > How can I run 2 Dreamweaver windows at the same time on
    my PC?
    > basically I have 2 monitors and I want to edit CSS on
    one monitor and have
    > the
    > html page open on the other so I can quickly look from
    one to another with
    > in a
    > split second instead of taking that extra time to switch
    back and forth
    > using
    > the tabs at the top, I know I should probably invest
    into a mac so i can
    > work
    > out side of the Dreamweaver application window and I
    will in the future
    > but is
    > there any way i can do this on my windows XP pro PC?
    >
    > Thank you
    > Maurice
    >
    >
    >

  • How can I run a vga monitor and projector together on my Mac Pro 15"??

    How can I run a vga monitor and projector together on my Mac Pro OSX 15"?

    You can upgrade to Snow Leopard, Lion or Mountain Lion (coming next month), but you need Snow Leopard to upgrade to Lion or Mountain Lion. Check this web to know how to add memory to your computer and the memory that it supports (probably, 3 GB).

  • How can i run a java class file from shell?

    Hi all,
    I've a .class file named "File" that contains Main method, it is in the package "File2".
    How can I run it by shell command?
    PS: "java -cp . file" doesn't work it launch->
    Exception in thread "main" java.lang.NoClassDefFoundError: File2/File (wrong name: File2/File)
    Thanks in advance.

    Just to understand: is File2 ar jar archive or not? If it is a jar archive, have you tried open File2.jar? If File2 is a directory within the current directory, have you tried java -cp . File2/File? I just tested with a set of classes and it works... Let me be precise:
    * Let us imagine you are working in a directory whole path is PathToDir/
    * in this directory you have the classes put in a directory called File2
    * in order to launch File.class then you would have to invoke :
    cd PathToDir/ (just to be sure)
    java -cp . File2/File
    *if you were to do the following then you would have the problem you describe
    cd PathToDir/File2/
    java -cp . File

  • How can I run a packet sniffer on a Router or Switch

    I have on my network several router 1700 series and switches Catalyst 2950 and I want to know how can I run ethereal on those babies to monitore what comes and goes

    The two most common methods would be (the old way) insert a hub (not a switch) in-line between the devices withthe traffic you wish to monitor or (the new way, for Cisco anyway) using port mirrroring.
    A hub (not a switch) will repeat every pulse that passes on the line to the analyzer.
    Since finding a new hub these days is virtually impossible (even some of the things sold as hubs are really switches), the more common way, at least in Cisco environments, is to "SPAN" (aka Port Mirroring) the port of the device whose traffic you'd like to monitor.
    Here's the setup guide for a 2950:
    http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_19_ea1/configuration/guide/swspan.html
    Good Luck
    Scott

  • How can i run a special name method of class?

    i dynamic created a obj
    and i don't know the method of class,
    so i use a String parameter as the method's name
    but how can i run the method?
    please give me a copy of code, thanks!

    import java.lang.reflect.Method;
    public class unknown{
         public static void main(String[] args){
              unknown thisObj = new unknown();
              Class thisClass = thisObj.getClass();
              // calling the method()
              try{
                   Class[] allParamatersType = {};
                   Method mth = thisClass.getDeclaredMethod("method", allParamatersType);
                   String returnCallingAdd = (String)mth.invoke(thisObj, null);
                   System.out.println("calling add() : " + returnCallingAdd);
              catch(Exception ex){
                   ex.printStackTrace();
              // calling the method(int , string)
              try{
                   String firstValue = "Testing";
                   Class[] allParamatersType = { firstValue.getClass() };
                   Object[] values = { firstValue };
                   Method mth = thisClass.getDeclaredMethod("method", allParamatersType);
                   String returnCallingAdd = (String)mth.invoke(thisObj,values );
                   System.out.println("calling add() : " + returnCallingAdd);
              catch(Exception ex){
                   ex.printStackTrace();
         public String method(){
              return "method() called";     
         public String method(String two){
              return "method(String) called";     

  • How can I run a Flash Projector(exe) under GNU/Linux without wine?

    I was received a flash on projector type(exe), there's no another swf file on there.
    I'd like to ask: How can I run that on a Linux?
    Thanks for reading and paying attention.

    This sounds like a question for the linux distribution forum that you're using.  The .exe is a stand alone executable, if you can run win32 binaries then you should be able to run this.
    Thanks,
    Chris

  • How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    Please advise...
    VJ

    cross posted
    http://forum.java.sun.com/thread.jsp?thread=299137&forum=31&message=1184025

  • How can i run a jar file as EXE on mouse click..

    *{color:#0000ff}how can i run a jar file as EXE on mouse click..is it possible in any way?????????{color}*

    amrit_j2ee wrote:
    *{color:#0000ff}how can i run a jar file as EXE on mouse click..is it possible in any way?????????{color}*Do you mean converting it from a jar file to an EXE file or do you mean that you would like to run the application by just double clicking it?
    If it's the latter then you need to make the jar file including a manifest.
    The manifest can be just a txt file with its content to be something like this:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: Somebody
    Main-Class: NameOfTheMainClass
    Class-Path:
    X-COMMENT: Main-Class will be added automatically by buildTo make the jar file including the manifest, use something like this in your command prompt (of course you must have compiled your java file(s) first):
    jar cfm test.jar MANIFEST.txt NameOfTheMainClass.classAfter that you'd be able to run your application just by double clicking it.
    If you're a NetBeans user, you can build your standalone application by right-clicking your project and then going to properties => run => and choosing a Main class. After that right click on that project and "Clean and Build", locate the jar file in the "dist" folder and double click it =]
    Hope it helps,
    LD

Maybe you are looking for

  • I am getting an error 1310 error writing to file

    I had to clone my computer due to motherboard going out in other.  Aodbe wanted me to update registration found out I had to uninstall and reinstall CS2.  Did it and I get the Error1310 Error: Writing to File code.  Please help

  • How to rip cd to FLAC

    I wish to eliminate my stack of CD's by archiving them onto a Hard Disk Drive. I wish to have excellent FLAC files after ripping so that I can enjoy the music quality of the CD in the future, without having the actual CD anymore. Is there a good prog

  • Problem using Extract Function

    My problem, declare v_clob clob; begin select extract(xml_details,'/ROWSET/ROW/CTRY_CODE').getStringVal() into v_clob from xml_tab where xml_name='GRN.XML'; end; xml_tab description column xml_details clob xml_name VARCHAR2(2000) This block works fin

  • IDOCs are corrupted by Idoc adapter (probably)

    Hi, in our scenario we send IDOCs to a receiver, that is a SAP R3 System. In general, It works fine, but sometimes the IDOC structure at the receiver's side is corrupt, e.g. all segments are flat insteadof organized in a hierarchy. We already have up

  • "System status AALK is active" and "System status LKD is active" errors

    Hi, We are on SRM 4.0.  When creating a shopping cart from a specific catalog the user is receiving two error messages. "System status AALK is active"    and    "System status LKD is active" How do I resolve these errors?