DLL created by labview get stuck

I tried to run test created with lab view with external tool.
This tool load dll and call execution function.
I created a dll from the Labview test (I used simple function for test that only extract numbers) and I used __stdcall
when I use this dll from an executable It works fine. (My application call a dll, and the dll call to the dll created from labview)
however when I use it from my dll it get stuck
I tried to load the dll dynamically with loadLibrary() and It works fine only for the first time (It gets stuck when I called it again)
I found that if I call it from the same thread it works fine, but if I call it from two different threads (the second call is long after the first call has finished, so there is no race condition) It gets stuck from the second thread.
I used visual studio to see where the call get stuck, and it is in lvrt.dll 
Does anyone know what can I do to solve this problem.

Although the writeup is about .NET, the issue is the same, so check out http://detritus.blogs.com/lycangeek/2005/05/labview_and_asp.html
The problem might be that the first thread is not pumping messages and so the LabVIEW gets hung up waiting for events. This problem has been fixed in LV 8 so I'm assuming you're using an earlier version. If so, you can follow the steps outlined in the link above (creating a message pumping thread and calling your DLL with that first).
Brian Tyler
http://detritus.blogs.com/lycangeek

Similar Messages

  • Creating table statement gets stuck

    Hi everyone, i can use "select" statements without any problem but when i want to create a table with 100-1000 rows, it gets stuck and never returns and after i close the sql navigator and restart it, it creates my table easily but after 20-30 seconds when i want to create an another table, it stucks again. What can be the problem??(At the first times that i use sql, there was no problem)

    Hi,
    It's a bit difficult to answer. Members will try to help you about database problems but in this case it's impossible to know if it is a database problem. If you have the needed system privileges and some quota on a tablespace there is no reason you wouldn't be able to create tables in an Oracle database !
    Ask your DBA to try directly with SQL Plus but if he confirms it's OK there is a problem with your SQL Navigator tool.
    Best regards
    Phil

  • Is LabVIEW Runtime required for a DLL created by LabVIEW ?

    Hi
    Could some one advice me on this matter please.
    I am trying to build a DLL for a set of functions created in LabVIEW. Now I am  wondering if I need to use it with some other language like VB or C++, do I need to install the LabVIEW runtime of the same version as the original functions ?
    Any settings required while creating the DLL ?
    I am trying to create it in LV 7.0
    Thanks in advance
    Deepu.

    Alright Mike,
    Thanks !
    I was hoping it would work without the LabVIEW runtime. Anyway, thanks for the quick reply.
    Rgds
    Deepu.

  • How do I change the date/time of a dll created in LabVIEW without killing it

    I use the LabVIEW (6.0.2 of course) Application builder to create a dll, and I cannot enter creation information, nor can I modify the date time property, which labVIEW does not properly set. I have tried to modify this information in Visual C++, but that destroys the dll because it wasn't compiled in VC++, and therefore isn't compatible.
    If anyone knows how to correctly modify the date/time (and the checksum) without destroying the dll, I would be gratefull to know.
    Thank you

    Dear Sir,
    I was browsing through MSDN in trying to find the info you are looking for and I step into this next file:
    "Peering Inside the PE: A Tour of the Win32 Portable Executable File Format"
    Which you can locate in the msdn.microsoft.com page by going to the search box and typing that title. The first result is that document. Also you may want to check the "imagehlp" file of the msdn library. This documents provides information on the DLL standard and functions.
    Good luck!...
    Nestor Sanchez
    Applications Engineer
    National Instruments
    Nestor
    National Instruments

  • HDInsight Cluster Creation Functions Get Stuck

    Hello, 
    I am trying to provision an HDInsight Cluster from PowerShell and from HDInsight .NET SDK.
    I am following this tutorials: http://azure.microsoft.com/en-us/documentation/articles/hdinsight-provision-clusters/#powershell
    My problem is that in both cases the method/function that creates the cluster gets stuck. It doesn't create the cluster on Azure.
    In the case of PowerShell the function is:
    # Create a new HDInsight cluster
    $config = New-AzureHDInsightClusterConfig -ClusterSizeInNodes $clusterNodes |
        Set-AzureHDInsightDefaultStorage -StorageAccountName $storageAccountName_Default -StorageAccountKey $storageAccountKey_Default -StorageContainerName $containerName_Default |
            New-AzureHDInsightCluster -Name $clusterName -Location $location -VirtualNetworkId $vnetID -SubnetName $subNetName
    In the case of HDInsight .NET SDK is:
    ClusterDetails cluster = client.CreateCluster(clusterInfo);
    Does somebody know what am I doing wrong? Could it be something in the configuration of my storage/blob accounts? 
    Thank you in advance.

    Hi Carlos,
    The issue could be the fact that HDInsight SDK is not synchronization context aware and we have seen this in WebApp and Forms that have this. The following workarounds helps.
    override the SynchronizationContext
    var sc = new SynchronizationContext();
    SynchronizationContext.SetSynchronizationContext(sc);
    Invoke SDK commands here
    Start an Async task
    Task.Run(async () =>
                 Invoke SDK commands here
    Can you try the above and let us know if that helps?
    Maheshwar Jayaraman - http://blogs.msdn.com/mahjayar

  • Does creating a labview dll from simulink model require visual studio

    I've asked the same question at the Simulink forums, but maybe someone here has the answer: 
    I'm trying to perform this process here:
    http://zone.ni.com/devzone/cda/tut/p/id/3447
    However, I get the following errors from the Simulink Real Time Workshop:
    Error building Real-Time Workshop target for block diagram 'SensorCAN_sfcn'. MATLAB error message:
    Error using ==> setup_for_visual>LocIssueMSDevError at 324
    Invalid setting for environment variable MSDevDir or DevEnvDir.
    The setting is: ''
    You can verify the setting by checking for the existence of:
      %DevEnvDir%\..\tools\vsvars32.bat          (for Visual C/C++ 7.1)
      %MSDevDir%\..\..\vc98\bin\vcvars32.bat     (for Visual C/C++ 6.0)
      %DevEnvDir%\..\tools\vsvars32.bat          (for Visual C/C++ 8.0)
    I do not use Visual C, what little programming I do has been done in Borland Builder or with command line gcc.  Is there any way to make simulink look for a different dev environment?  Or does this process require Visual C?
    Solved!
    Go to Solution.

    Thanks, I've got SIT 5.0 installled, but it turns out we have a site license for VS 2008, so I now have that as well.  I've got a new problem though, and although I think it's related to Simulink, these forums seems a little more responsive than that Matlab forums. So....
    I’m working with someone else's s-code, and I haven't used Simulink in the past. As I said in my original post, I am attempting to use SIT to turn the s-code into a dll for use in a LabView RT application. I opened the mdl file in Simulink, and I’m now trying to build the LabView dll in the Simulink Real Time Workshop.  The target file is nidll.tlc and Matlab starts the SIT when launched, so it appears the tools are aware of each other.  However, when I attempt to build the dll, I get the following error:
    fatal error C1083: Cannot open include file: 'rtlibsrc.h': No such file or directory
    I’m using the following: Matlab 2008b, SIT 5.0, and MS Visual Studio 2008, so the libraries and includes should be fairly up to date. What I don't get is that the files that are calling for this include are auto-generated by Simulink, so I don't know why it's not finding the rtlibsrc.h. Still, I found that in the RTW subdirectory, and copied it into my local directory. This gives me a different error:
    ### Linking ...
    C:\PROGRA~1\MATLAB\R2008b\sys\perl\win32\bin\perl C:\PROGRA~1\MATLAB\R2008b\rtw\c\tools\mkvc_lnk.pl SensorCAN_sfcn.lnk SensorCAN_sfcn.obj rtGetInf.obj rtGetNaN.obj rt_logging.obj rt_matrx.obj rt_nonfinite.obj rt_printf.obj rt_sfcn_helper.obj nidll_main.obj rt_sim.obj SensorCAN_sfcn.res SensorCAN0_sf.obj
    link /RELEASE /INCREMENTAL:NO /NOLOGO -entry:_DllMainCRTStartup@12 -dll /NODEFAULTLIB:MSVCRT LIBCMT.LIB kernel32.lib ws2_32.lib mswsock.lib advapi32.lib @SensorCAN_sfcn.lnk /dll -outensorCAN_sfcn.dll
       Creating library SensorCAN_sfcn.lib and object SensorCAN_sfcn.exp
    SensorCAN0_sf.obj : error LNK2019: unresolved external symbol _rt_Lookup referenced in function _mdlOutputs
    Again, self-generated code, now with unresolved external symbols? I'm assuming that I'm linking the wrong version of a dll or obj that contains mdlOutputs, which appears to be something from Matlab. Can anyone point me in the correct direction? Missing headers and incorrect libraries lead me to believe that I've got a search path issue somewhere, but the Matlab/Simulink/LabView/Visual Studio are all fresh default installs.

  • Windows 8 installation gets stuck during create partition step in bootcamp. Any suggestions?

    windows 8 installation gets stuck during create partition step in bootcamp. I tried to restart the bootcamp with same results. I have given it more than 6 hrs for last 3 times but I was able to go past this step previously where I got stuck during registering windows8.

    Hi,
    According to your description, it seems that your all Windows 8.1 computers connect to network via normal wireless network.
    Did you have wireless router for them?
    Please delete this adhoc, then check if these computer could connect to network.
    If no, follow below guide to create and connect to adhoc :
    Create adhoc in Windows 8.1
    http://tipsandtricksforum.com/thread-210.html
    connect to adhoc with Windows 8.1 
    http://social.technet.microsoft.com/Forums/windows/en-US/56ff83ff-1f15-4fc1-aa37-6651340d46fa/windows-81-connecting-to-ad-hoc-networks
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Karen Hu
    TechNet Community Support

  • Desperate user need help. My GPIB instrument get stuck with my labview program frequently

    Hello to all labview users,
    i am a beginner in using labview. I am currently writting a labview program to automatically control a digital control rotator HD201e and a network analyzer 8720a to work with the anechoic chamber. The program receives an initial position, amount of increment and # of steps. My program will then ask the controller to rotate to the initial position and at the meantime, the program will monitor the position of the rotator to ensure the requested position is reached. After that, at the position, the program will ask the NA to perform a reading of the measurement. Once the reading is done, the program will ask the controller to rotate to the next position and does a reading of the measurement and so on.
    My program seems to be able to perform the tasks; however, the dig.controller part seems to get stuck around 50% of the time when running the program. Sometimes, even the controller receives the requested position (can be seen from the lcd screen of the controller), the rotator just simply would not rotate; also, sometimes, the controller just simply does not respond when sending the command of moving a position, as in the debug mode (the one with a lightbulb), i see that i got "ok" on all the blocks in the writing portion ofthe program, but the controller just doesnt seem to receive the position (as seen no new position received from the lcd screen) and the cursor on the lcd screen blinks weirdly, due to that problem, my program will then get stuck in an infinite loop.....
    Usually, that problem occurs after few positions have been reached.....
    so, when that happens, i have to stop my program and re-run it. that means the program will have to re-do the measurement that were read previously....
    sometimes i have to stop and re-run my program several times to get all the measurement of all the positions done.....so...that bug renders that program to be an unefficient program.
    I have been trying to resolve that bug for weeks...but no success....i have tried to put some wait time between each block....result is not much different...
    I have also tried putting "clear" block before and after the "write" block.....same problem.....
    I have heard that the serial GPIB "flush" block may help...but i tried..but it seems the controller doesnt recognize/accept flush....
    i have also tried using the "Visa open" and "Visa close" block to see if ithat reduces the stucking thing....but seems that the controller can still get stuck....
    i have also even tried using "lock asyn" and "unlock asyn" block...but didnt seem to work....
    Has anyone experienced such problem.? Is it a known problem with some gpib instrument?
    Is there any discrepancy or bugs in my program that i am unaware of that causes this problem?
    Any advice and or opinion would be greatly appreciated....
    PS: i attached the controller part of my program and the overall program
    desperate happyguy......
    Happy guy
    ~ currently final year undergraduate in Electrical Engr. Graduating soon! Yes!
    ~ currently looking for jobs : any position related to engineering, labview, programming, tech support would be great.
    ~ humber learner of LabVIEW lvl: beginner-intermediate
    Attachments:
    HD201_Controld.jpg ‏231 KB
    AChamber_Measurements_v1d.jpg ‏857 KB
    AChamber_Measurements_v1d3.jpg ‏463 KB

    hi xseadog
    i got what you meant about the gpib reference
    actually, that final frame works because the gpib reference is already done inside that subvi.
    but my problem doesnt arise from that. most of the time ive seen, it arises between the writing frame and the while loop frame. as i mentionned, sometimes. the controller just simply doesnt rotate even i can see the requested position display on the controller lcd screen; also sometimes, just the controller is stuck without acknowledging the write position command. but in labview...while in debug mode. it is shown ok on the block.
    Happy guy
    ~ currently final year undergraduate in Electrical Engr. Graduating soon! Yes!
    ~ currently looking for jobs : any position related to engineering, labview, programming, tech support would be great.
    ~ humber learner of LabVIEW lvl: beginner-intermediate
    Attachments:
    HD-201 RPosd.jpg ‏39 KB

  • Problem in creating DLL for a LabVIEW VI

    Hi
    I am facing problems in creating DLL for a LabVIEW VI. Previously i had no problems in creating DLL for the VI that transmits a message from serial port to NI - PXI 7831-R Reconfigurable I/O card (configured by FPGA MOdule). When i try the same VI with a customized port developed using IVI drivers i am not able to create the DLL. It gives me error as follows:
    Fatal Internal error: "datamgr.cpp", Line No: 1882
    Please somebody help me out to fix this error.
    Regards,
    Subramania Bharathi

    Hi,
    Thanks for your curiosity in replying my questions. I am really sorry for replying so late. Actually the problem was with the NI SWITCH 2503 functions. Actually i was multiplexing the channels of my customized serial port using NI Switch module. This switching is done before i start my communication. My VI follows a sequence as follows.
    1. Connect two channelss using Switch functions
    2. configuration of both FPGA and the customized port
    3. Transmit data from the port
    4. Receive it in FPGA.
    5. Reset the channels using Switch functions
    I never expected that the error was because of NI Switch. When i removed them from my VI i was able to create the DLL and able to create sequence successfully to run in the Testsand. And
    further i am using Switch Executive for swithcing the channels in TestStand.
    But now i am very curious why it posted me that error when i used my NI Switch function?? I tried to create DLL for a VI that switches two channels and i was successful. But the error occurs only when i combine i with my FPGA functions!! If you could trace out the reason, please let me know
    Once again thanks a lot for your support
    Regards,
    Subramania Bharathi

  • Using DLL functions created with LabVIEW 6i in CVI 4.0.1

    I want use SQL functions from LabVIEW 6i in LabWindows/CVI 4.0.1. Building DLL with this LabVIEW-functions was succesfull, but after using DLL in CVI project and run, error message was generated: FATAL ERROR : LABVIEW.LIB was not called from a LabVIEW process. Can you help me? In attachment are VIs and build script for this DLL.
    Attachments:
    DLL.ZIP ‏24 KB

    The SQL toolkit appears to be an ActiveX program. Why not call the objects with activeX in CVI directly?
    There are several hits for labview.lib on ni's site. Goto http://search.ni.com/?col=alldocs&layout=TechResources&ql=a
    and search for labview.lib.

  • Zen MircoPhoto 8gb gets stuck on Creat

    My Zen gets stuck on the Creative screen while booting up and won't do anything from there. The only thing I can do is take the battery out.
    I'm trying to re-format it now, but it's been doing that for almost 0 minutes, how long should it take? Is the player shot?

    It really sucks about your player
    ...but it was concrete.
    ...and you've got a disk dri've inside there.
    what do you think would happen if you dropped a desktop computer from 3 feet off the ground onto concrete?

  • Get Stuck in Webutil1.0.6  Configuration & Installation..

    Dear All Experts,
    I m trying to configure and Install webutil1.0.6 on Oracle Developer Suit (9.0.4) in
    Windows XP Professional having the browser Internet explorer 6.0.
    I have done almost all the steps mentioned in Runtime Setup Checklist (Appendix A)
    in “Webutil User’s Guide Release 1.0.6” . Except Step 9 Configure your webutil.cfg file.
    Have a look at my default.env & formsweb.cfg files.
    default.env
    # $Id: win32_os_default.env,v 1.5 2003/10/02 18:42:24 pkuhn Exp $
    # default.env - default Forms environment file, Windows version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value in the Windows registry
    # will be used. If no value is found in the registry, the value used will
    # be that defined in the environment in which the servlet engine (OC4J
    # or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=D:\DS10g
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    # If you need to include more than one directory, they should be semi-colon
    # separated (e.g. /private/dir1;/private/dir2)
    FORMS90_PATH=D:\DS10g\forms90;D:\invsys;D:\DS10g\forms90\webutil_106;D:\Webutil_demo
    # The PATH setting is required in order to pick up the JVM (jvm.dll).
    # The Forms runtime executable and dll's are assumed to be in
    # D:\DS10g\bin if they are not in the PATH.
    # In addition, if you are running Graphics applications, you will need
    # to append the following to the path (where <Graphics Oracle Home> should
    # be replaced with the actual location of your Graphics 6i oracle_home):
    # ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
    PATH=D:\DS10g\bin;D:\DS10g\jdk\jre\bin\client
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications. In addition, you will need to
    # modify the PATH variable above as described above.
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    #GRAPHICS60_PATH=
    # Settings for forms9i tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS90_TRACE_PATH=<FORMS_ORACLE_HOME>\forms90\server
    # System settings
    # You should not normally need to modify these settings
    FORMS90=D:\DS10g\forms90
    WEBUTIL_CONFIG=D:\DS10g\forms90\webutil_106\server\webutil.cfg
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here)
    # f90srv.jar, repository.jar and ldapjclnt9.jar are required for
    # the password expiry feature to work(#2213140).
    CLASSPATH=D:\DS10g\j2ee\OC4J_BI_Forms\applications\forms90app\
    forms90web\WEB-INF\lib\f90srv.jar;D:\DS10g\jlib\repository.jar;
    D:\DS10g\jlib\ldapjclnt9.jar;D:\DS10g\jlib\debugger.jar;D:\DS10g\forms90\webutil_106\java\frmwebutil.jar;D:\DS10g\jlib\ewt3.jar;D:\DS10g\jlib\share.jar;D:\DS10g\jlib\utj90.jar;
    D:\DS10g\jlib\zrclient.jar;D:\DS10g\reports\jlib\rwrun.jar;D:\DS10g\jdk\jre\lib\rt.jar;D:\DS10g\forms90\java\f90all.jar
    formsweb.cfg
    # $Id: formsweb.cfg,v 1.24 2003/08/22 01:07:35 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (f90servlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overriden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/servlet/f90servlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: base HTML file for use with Microsoft Internet Explorer
    # (when using the native JVM)
    baseHTMLie=baseie.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms90 if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # System parameter: JVM option for Microsoft Internet Explorer.
    # This parameter specifies how to execute the Forms applet under
    # Microsoft Internet Explorer 5.x or above. Put IE=native if you want
    # the Forms applet to run in the browser's native JVM.
    IE=JInitiator
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms90/l90servlet
    # Forms applet parameter
    codebase=/forms90/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=750
    # Forms applet parameter
    height=600
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=f90all_jinit.jar;invsysicons.jar;frmwebutil.jar;jacob.jar
    # webutil....
    WebUtilArchive=frmwebutil.jar;jacob.jar
    # Forms applet archive setting for Microsoft Internet Explorer native JVM
    archive_ie=f90all.cab
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=f90all.jar;invsysicons.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms90/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0017-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,17
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.17
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/plugin/1.3/plugin-install.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;version=1.3
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=D:\DS10g
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/servlet/f90servlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration affecting users of MicroSoft Internet Explorer 5.x.
    # Forms applet will run under the browser's native JVM rather than using Oracle JInitiator.
    [ienative]
    IE=native
    # Example Named Configuration Section
    # Example 3: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    baseHTMLie=basejpi.htm
    # Example Named Configuration Section
    # Example 4: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms90/l90servlet/debug
    # Trying own applications
    [itsys]
    form=frm_sline.fmx
    userid=docsys/docsys@orauma
    separateFrame=True
    lookandfeel=Generic
    # Inventory system UMA, applications
    [invsys]
    form=FRM_LOGIN.fmx
    userid=docsys/docsys@orauma
    lookandfeel=Generic
    # Sample configuration for deploying WebUtil.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    [webutilie]
    IE=native
    webUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTML=webutilbase.htm
    baseHTMLie=webutilbase.htm
    archive=frmall.jar
    lookAndFeel=oracle
    [webutiljpi]
    webUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTMLie=webutiljpi.htm
    baseHTML=webutiljpi.htm
    archive=frmall.jar
    lookAndFeel=oracle
    NOW while I run form from RuntimeSettings=default
    http://rana-adnan.umarine.local:8889/forms90/f90servlet?userid=docsys/docsys@orauma
    Form runs successfully on browser but while pressing button for File Open OR Save As
    It shows the error
    Oracle.forms.webutil.file.FileFunctions bean not found.
    WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
    AND while I run form from RuntimeSettings=webutil or webutilie or webutiljpi
    http://rana-adnan.umarine.local:8889/forms90/f90servlet?config=webutil&userid=docsys/docsys@orauma
    Form does not run and browser gives the error
    500 Internal Server Error
    Forms Servlet Error.
    Missing or invalid value for baseHTML parameter.
    Please check the servlet configuration to make sure this value specifies a valid file.
    I get stuck here.
    Kindly help me to use webutil1.0.6
    Thanks
    Rana Adnan

    Dear,
    Now I have Installed the Jinitiator1.3.1.22 in C:\Program Files\Oracle\JInitiator 1.3.1.22
    and edit the configuration in formsweb.cfg
    Now it looks
    # $Id: formsweb.cfg,v 1.24 2003/08/22 01:07:35 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (f90servlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overriden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/servlet/f90servlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: base HTML file for use with Microsoft Internet Explorer
    # (when using the native JVM)
    baseHTMLie=baseie.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms90 if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # System parameter: JVM option for Microsoft Internet Explorer.
    # This parameter specifies how to execute the Forms applet under
    # Microsoft Internet Explorer 5.x or above. Put IE=native if you want
    # the Forms applet to run in the browser's native JVM.
    IE=JInitiator
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms90/l90servlet
    # Forms applet parameter
    codebase=/forms90/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=750
    # Forms applet parameter
    height=600
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=f90all_jinit.jar,invsysicons.jar,frmwebutil.jar,jacob.jar
    # webutil....
    WebUtilArchive=frmwebutil.jar,jacob.jar
    # Forms applet archive setting for Microsoft Internet Explorer native JVM
    archive_ie=f90all.cab
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=f90all.jar;invsysicons.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms90/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/plugin/1.3/plugin-install.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;version=1.3
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=D:\DS10g
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/servlet/f90servlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration affecting users of MicroSoft Internet Explorer 5.x.
    # Forms applet will run under the browser's native JVM rather than using Oracle JInitiator.
    [ienative]
    IE=native
    # Example Named Configuration Section
    # Example 3: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    baseHTMLie=basejpi.htm
    # Example Named Configuration Section
    # Example 4: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms90/l90servlet/debug
    # Trying own applications
    [itsys]
    form=frm_sline.fmx
    userid=docsys/docsys@orauma
    separateFrame=True
    lookandfeel=Generic
    # Inventory system UMA, applications
    [invsys]
    form=FRM_LOGIN.fmx
    userid=docsys/docsys@orauma
    lookandfeel=Generic
    # Sample configuration for deploying WebUtil.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=on
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=AllWebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=f90all_jinit.jar
    archive=f90all.jar
    lookAndFeel=oracle
    [webutilie]
    IE=native
    webUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTML=webutilbase.htm
    baseHTMLie=webutilbase.htm
    archive=f90all.jar
    lookAndFeel=oracle
    [webutiljpi]
    webUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTMLie=webutiljpi.htm
    baseHTML=webutiljpi.htm
    archive=f90all.jar
    lookAndFeel=oracle
    Now when I run the form then browser shows Jinitiator Security Warning dialog and I clicked on "Grant this Session" and it show nothing
    and java console showing this..
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\rana.adnan
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Documents and Settings\rana.adnan\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://rana-adnan.umarine.local:8889/forms90/java/frmwebutil.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    Is there any signing jar files problem or any other?
    Please help
    Thanks
    Rana adnan

  • Calling a dll created with vision 7.0 from visual basic doesn't work

    I created a dll using some vision 7.0 functions and Labview 7.0 environment. I call this dll from visual basic. The dll will work fine as long as I don't stop the visual basic program execution. As soon as I stop the program execution the dll will no longer work. I must reload the visual basic environment and the call to the dll will start working again. I created the exact same dll but I created it with vision 6.0 in Labview 6i environment. It works great and has no issues.
    Attachments:
    Test.vi ‏36 KB

    Roberto N. wrote:
    Thank you Jordan, I'm using Labview 7.1.
    Anyway I've resolved the problem by adding the "lvanlys.dll" file (present in "..\Labview 7.1\resource\lvanlys.dll" path) as support file in the building process. Now the DLL containing the analysis functions works correctly.
    Natalino Roberto
    Ok, you probably got lucky since the lvanlys.dll seems to implement that function directly. However most Advanced Analysis functions are just redirected by lvanlys.dll to the Intel Math Kerneal Library that gets installed with LabVIEW 7.1 and higher. The only way to get that properly installed with your LabVIEW executable or DLL is to create a LabVIEW installer in your Application Builder and make sure to select under "Installer Settings->Advanced" the "LabVIEW Run-Time Engine" and the "Analyze VIs Support". Then use that installer to install your DLL on another computer.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • DLL created with LV 7.1 Application Builder doesn,t work when analysis subVIs are present

    I'm looking for a solution of the following problem.
    The DLL created by the "sum1.vi" source works properly, while the DLL create by "sum2.vi" always gives a zero result.
    The "sum2.vi" source contains an additional "Hanning Window" VI (not wired), that seems to be the cause of the problem.
    If I delete the Hanning VI and re-build the DLL, the same works fine
    Is there a solution or is it not possible to make Labview DLLs when containing analysis VIs as filters, windows, FFTs, and so on?
    Thank you for your answers.
    N. Roberto
    Attachments:
    sum1.vi ‏12 KB
    sum2.vi ‏14 KB

    Roberto N. wrote:
    Thank you Jordan, I'm using Labview 7.1.
    Anyway I've resolved the problem by adding the "lvanlys.dll" file (present in "..\Labview 7.1\resource\lvanlys.dll" path) as support file in the building process. Now the DLL containing the analysis functions works correctly.
    Natalino Roberto
    Ok, you probably got lucky since the lvanlys.dll seems to implement that function directly. However most Advanced Analysis functions are just redirected by lvanlys.dll to the Intel Math Kerneal Library that gets installed with LabVIEW 7.1 and higher. The only way to get that properly installed with your LabVIEW executable or DLL is to create a LabVIEW installer in your Application Builder and make sure to select under "Installer Settings->Advanced" the "LabVIEW Run-Time Engine" and the "Analyze VIs Support". Then use that installer to install your DLL on another computer.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Multiplication error in DLLs created with SIT

    I have a problem with a multiplication in a DLL created with the Mathwork's Matlab/Simulink and National Instruments SIT. When multiplying two values of different types (fixed point types) I get really strange and unexplainable results. When I run the simulation in Simulink only, I do not get the error. But when running the same program as DLL in Labview I get a result of 146.xxx instead of 235. Feel free to chck out the included files (.mdl, .dll, .vi).
    I'm desperately looking for solutions.
    Philip
    Attachments:
    interface_test.vi ‏34 KB
    interface_test.dll ‏130 KB
    interface_test.mdl ‏11 KB

    Go ahead and hook up your error clusters and attach them to an indicator. This way you can see if there is a labVIEW problem with your code.
    I cannot run your code myself because of a lack of software but I opened the VI up and saw it was missing error handling.

Maybe you are looking for

  • Double-sided printing P1102w

    I have two laptops and a printer P1102w on my home network. One of the laptops runs Win8 and the other one - Win7. I have installed on both laptops MS Office 2013 and I use Word to print a document. I am able to print double-sided from my Win8 laptop

  • Problem in openbox with transmission

    I've got a problem with transmission and other torrent clients like rtorrent while in openbox. When I run them and play music or watch movies with smplayer or vlc after a period of time the torrent client becomes irresponsive and the media players st

  • Sending to Many Addresses at Once

    Let's say I create an e-mail and put 20 e-mail addresses separated by commas in either the CC or BCC field. - if one of the addresses is bad - what happens to the email when sending: 1 - nothing is sent??? 2 - all are sent ( except for the bad addres

  • URGENT!iBATIS not evaluating value in #value#  when accessing ORACLE

    Hi, I am unable to run an SQl to select a record set from oracle when i specify the value in where condition in the following manner. This is my sql query in XML file: <select id="getContractor" resultMap="contractorResult" parameterClass="contractor

  • How to run 2 OSs on Sawtooth

    Hi all! I'm going to be purchasing a Sawtooth G4 soon(I hope!) so I'm posting this question in advance so I can plan ahead with what I need to do with the OSs. I'm going to get one with 10.2(at least) already installed on it. But I'm going to need to