«.. . handle is invalid': error only when closing the Application, the runtime, everything seems fine...

Hello

first of all: I am relatively new to LabWindows, working on it for some practical work as a student

(Yes and sorry for the bad English, I'm from the Germany)

The problem:

The first important Information:

After searching for a solution, I don't know, what to do,

My project consists of a Main.uir file with a tab, a 'Main.c' which manages essentially the main .uir-stuff and some stuff-Initiating and in addition to that several Sub-Sourc-files, one for each tab panel of the Main.uir - tab.

To use the user interface elements on the main tab with secondary Sources, I'm launching tab handles at startup, which can be used by SubSource files, such as:

GetPanelHandleFromTabPage (PANEL, PANEL_TAB, 2, &BALU);)

With this controller, I can identify each UI elements when working with secondary sources

The second important information:

 

In some of the TabPages in the .uir, there are several ControlArrays. To use them, I create a ControlArrayHandle, such as:

MWSAverageHandle = GetCtrlArrayFromResourceID (BALU, MWSAverageArray);

No, I'm able to identify specific paintings, as items:

SetCtrlVal (BALU, GetCtrlArrayItem (MWSProgressHandle, ActiveBalun), ProgressString);

Now there is a problem, I am not able to solve:

 

During execution, everything works fine, I can use all the elements of a ControlArray with this ControlArrayHandle ("MWSProgressHandle"), everything works perfectly, no errors at all. BUT, when you close the program, I get the following error message:

RUNTIME ERROR NO MORTAL: "Baluns.c", line 313, col 16, id 0x00000AB8 thread:

Library function error (return value ==-4 [0xfffffffc]). Panel, menu bar or a control table handle is invalid

But this seems somewhat ridiulous for me, because when executing that each line works perfectly, each element of Array can be used without problem...

Is it something I'm not able to see?

Thanks a lot for your help.

Greeting from Lübeck, Germany!

Mathias

In the reminder of your timer, you check for (event == EVENT_TIMER_TICK)? Might get called for various events, not just the one you have in mind...

Tags: NI Software

Similar Questions

  • Error occurred when parsing the plug-in software

    I'm upgrading to 11g 11.1.0.1.0 Cloud control grid control 12.1.0.3.0 using 1-system approach. And I patched to the pre-upgrade console.

    After that I downloaded all the agents and plugins form upgrade to Oracle Enterprise Manager Cloud control 12.1 & lt; / title & gt; & lt; meta name = & quot; Title & quot; content = & quot; Upgra...

    When I try to validate the software, you can validate only agents, for the plugins, it displays:

    I use the root user, and zip files are all 777, unzip it works, I can see the plugin_bin file in my directory, but it is empty

    Thanks for any help!

    Error occurred when parsing the plug-in software.

    • Impossible to validate sar agent software: /tmp/plugins/12.1.0.3.0_oracle.em.smss_2000_0.zip
    • Impossible to validate sar agent software: /tmp/plugins/12.1.0.5.0_oracle.sysman.db_2000_0.zip
    • Impossible to validate sar agent software: /tmp/plugins/12.1.0.3.0_oracle.sysman.emrep_2000_0.zip
    • Impossible to validate sar agent software: /tmp/plugins/12.1.0.3.0_oracle.sysman.csa_2000_0.zip
    • Impossible to validate sar agent software: /tmp/plugins/12.1.0.3.0_oracle.sysman.beacon_2000_0.zip
    • Impossible to validate sar agent software: /tmp/plugins/12.1.0.5.0_oracle.sysman.emas_2000_0.zip
    • Impossible to validate sar agent software: /tmp/plugins/12.1.0.3.0_oracle.sysman.oh_2000_0.zip
    https://vanpgoragc01:7799/em/cabo/images/t.gif

    https://vanpgoragc01:7799/em/cabo/images/t.gif

    Hello

    Please note the plugin software used in the upgrade page 12 c Console is different from the one used during the upgrade of the WHO, so please make sure that the correct software is used

    1. navigate to the following location, where the binaries of software are installed and verify the plugin .opar file listed in the error message:

    $ cd <12c_OMS_HOME>/sysman/install/undeployed_plugins

    If available, copy them to a location that is accessible.

    2. If the plugin Internet files do not exist in the 12 c SGD Oracle Home, then download and stage the agent and software plugins correctly in the intermediate directory from the following URL.

    http://www.Oracle.com/technetwork/OEM/grid-control/downloads/OEM-upgrade-console-502238.html

    After you download the software and verify that the intermediate directory is properly referenced, run again the validation of the software.

    Check also the steps are as

    EM 12: the upgrade of the 11.1.0.1 Enterprise Manager on Linux x86_64 to 12.1.0.1 with method 1-System (Doc ID 1364931.1)

    Kind regards

    Rahul

  • Receive an error message when updating the iPad to 9.2.  What should do?

    Receive an error message when updating the iPad to 9.2.  What should do?

    What is the wording accurate and complete error message? What troubleshooting

    did you?

  • Win2k3 Server IIS SChannel event 36871 "a fatal error occurred when creating the SSL server credential information."

    To make a long story short, I went to use client software that I use a few times a week and it would not connect to the server, complaining not found or number of SSL.  When research various dcom, schannel errors errors in the event logs and a few others, I systematically over the last 24 hours cleared up the boot is so now clean (no time starting network on startup and no message on the service could not start).  It seems that something has happened a month ago after that the server crashed where at least the first DCOM messaged presented themselves, but everything has been working well until it didn't.  The dcom patches end up having to do with the ...\rsa\machinekeys (and the way that it) had a few "account unknown" in it, I cleaned everything that (at a time since I removed all items in this folder, but then put their subsequent return (by crushing all except 2 after creating a new certificate), had to reinstall virtual server and iis 6) , at some point as well.  In any case, I'm at the point where everything works (no event log errors/etc) from startup until you try to connect to the IIS 6 Server using https:... at this point, you get the event SChannel 36871 "a fatal error occurred when creating the SSL server credential information." (no additional information) is connected and the client browser cannot access the site (you can keep trying and it does not work but no event log entry more).  So that's where I'm sitting, http: works fine, https: No.  Certificate appears in the default Web site correct, said valid and possesses the private key, port 443 is there, all addresses by default, netstat shows port 443 same process id as the port 80.  I can't find a copy of SSLDiag do test to see if that prove something?

    So I need help what is not going to get this new job of fixing.  What should I do?

    Thank you!

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the TechNet forums. Please post your question in the TechNet forums.

    You can follow the link below to ask your question:

    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

    I hope that helps!

  • Control arrays disappear when closing the window .uir

    Using LabWindows/CVI 2010, I created a program of simple test with a panel containing a couple of buttons push, three tumbleurs and three control LED. I can create arrays of controls containing the toggle switches and/or LEDs in the .uir editor and access in the program, but when I close the .uir editing window and reopen the .uir file, control arrays are gone from the .uir file and of course when I rebuild the program I can't access it. This happens if I leave LW/CVI entirely or if I just close the editor of .uir. If I explicitly the file .uir after creating tables, everything seems fine, but then when I close the .uir window I see an asterisk briefly appear in the tab of the file name, as if it is modify the file, and then re-register on the goal.

    I can duplicate this just creating one or two control panels and by closing the window. Sets disappear, even though I explicitly save the .uir file after I created them. Is there something I can do to prevent this?

    Thank you

    Brian

    Brian.

    It seems that your UIR may have have been saved for an earlier at some point.  If you open the UIR and look in the lower right corner, you say 'file UIR 2010'?  "Otherwise, you need to click on File ' Save *.uir as and save the UIR under a 2010 UIR.

    If you choose to save the IUR for an earlier version, CVI remembers this decision and always saves the IUR for than the previous version.  You will have to explicitly choose to save them for the current version.

    Let me know if this does not fix things for you-

    NickB

    National Instruments

  • Failed to create the required registry key: vmware, Inc. error: 2 when installing the vm 7 wareinwin and the installation of any software of a few errors in registry pls help...

    Failed to create the required registry key: vmware, Inc. error: 2 when installing the vm 7 wareinwin and the installation of any software of a few errors in registry pls help...

    Hello mnaveen.kumar,

    Search the registry to see if this key was created. Sometimes, the installation program does not have permission to this key.

    HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.

    You can try to manually create the key to see if this will help.

    Please reply back and let us know if this can help.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • I'm trying DVD maker allows you to create a slideshow of photos and music: "year error occurred when burning the DVD.

    I'm trying DVD maker allows you to create a slideshow of photos and music. I can set up just fine. When I try to burn the DVD, I get an error message while it's coding. "Year error occurred when burning the DVD" no other information available. Any thoughts on the problem and how to fix it? I can save the project.

    Running windows 7

    original title: cannot burn DVDs

    Hello

    You can disable video filters in Windows DVD Maker, and then check.

    Video filters in Windows DVD Maker: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/video-filters-in-Windows-DVD-Maker-frequently-asked-questions

  • I get the A12E5 error code when starting Adobe Application Manager, I use a Mac and want to have Illustrator running

    I get the A12E5 error code when starting Adobe Application Manager, I use a Mac and want to have Illustrator running

    Products of Adobe Creative Cloud installation error A12E5

  • ODI-40837 ERROR: an error occurred when creating the schema

    Hi I'm testing a file xml server and receive the following error message.

    ODI-40837 ERROR: an error occurred when creating the schema: ODI-40738: SAXException has been surprised by reading the model saying: expected 'DOCTYPE '.


    JDBC URL jdbc:snps:xml?f=C:/Projects/prd.xml & ro = true & DOD = YES

    could someone help because I can not find any blog or documentation on this error?

    Thank you

    Published by: user626688 on May 31, 2013 13:26

    There seems to be a problem with your xml file. Please work with channel support to investigate this issue.
    You can also view the details of settings xml driver to http://docs.oracle.com/cd/E28280_01/integrate.1111/e12644/appendix_xml_driver.htm#CHDECBHH

  • Do not save when closing the file.

    Maybe all respond you to a situation that if you edit the pdf with adobe reader or acrobat form and close, he jumps out of the window and asks "do you want to save changes before closing?

    Does anyone know how cancle this request? Because users cannot save the file directly and I added a function to export to the xml file, it doesn't need to put more.

    Could you me how to advoid asking to save when closing the pdf form?

    Thanks to you all!

    Ellie

    I've corrected the link broken :-)

    Adobe Acrobat.com

  • An error occurred when creating an application

    With the help of EMP 11.1.2.3.

    I want to create a classic application.

    I created the user database with all of the grants.

    I created a data source in EPM.

    When I try to create the application, it returns "an error occurred when creating the application."

    I searched through all the directories of newspapers and can not find a single log file that captures the reason for the failure.

    Last time that this happened, someone said I should check and make sure that all services were running.  I'm not quite sure where to look for this on a Linux machine.

    I don't know where to another to watch, or what else to do.

    Any suggestions would be helpful, because I am relatively new to EMP.

    Thank you.

    Bingo, now, you must run the configurator and check the details of planning for the datasource planning repository. It should point to your R & A schema. If its correct.

    Then, change the details to have your outline plansys and redeploy the application planning both by the configurator. In the end, you will need to reconfigure the web application of the Foundation. so that all the information updated in the registry.

    You can check the location and measures of reference in my post above.

    Hope that solves your problem.

    See you soon!

    SH! going

    PS: If your outline plansys have tables of HSPSYS_, then you will need to select drop and re-create option of the configurator. as the safest stages, you can take backup of plansys.

  • Bluescreen error: bccode 116; computer turns off on the reboot screen everything seems fine.

    Original title: while using the computer turns off on the reboot screen, everything seems fine. received message the last time. Signature of the problem: any suggestions?

    While using the computer turns off on the reboot screen, everything seems fine. received message the last time.

    Signature of the problem:

    Problem event name: BlueScreen

    The system version: 6.0.6002.2.2.0.768.3

    Locale ID: 1033

    More information about the problem:

    BCCode:                                               116

    BCP1:                                                    863A52A0

    BCP2:                                                    8DC1C152

    BCP3:                                                    C000009A

    BCP4:                                                    00000004

    OS version: 6_0_6002

    Service Pack: 2_0

    Product:                                               768_1

    any suggestions?

    Hello

    Try the procedure described in the following article.

    How to fix BlueScreen (STOP) errors that cause Windows Vista to shut down or restart unexpectedly?

    http://support.Microsoft.com/kb/958233

    In addition, update the drivers for graphics cards and check if it helps.

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • I have Acrobat Pro 8 and 9 for Mac. Can't install (CD media). Has already been installed on an old 17 '' Mac; failed hard drive. Everything seems fine, activation passes through, but when I go to start the program, nothing. Nada. No respo

    I have Acrobat Pro 8 and 9 for Mac. Can't install (CD media). Has already been installed on an old 17 '' MacBook Pro; failed hard drive. Then, new facility, MBP 13 "most recent. Everything seems fine, activation ADOBE passes through, but when I go to launch the APPLICATION, nothing. Nada. No response from the application. Suggestions?

    Acrobat 9 (and 8, of course) is not compatible with your operating system.

  • Error 1327 when updated the adobe reader software

    can someone help me with this error code when the software adobe reader update

    Hello
     

    Adobe has published a KB article for this problem. Refer to the article below:
    Error 1327.Invalid Drive: [drive letter] while installing or updating Adobe CS4, Acrobat or Adobe Reader products affected
    http://kb2.Adobe.com/CPS/404/kb404946.html

    Registry warning:
    Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    How to back up and restore the registry in Windows:
    http://support.Microsoft.com/kb/322756
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Blue error screen when indexing the files on Vista computer

    Original title: Problem Event Name:_BlueScreen__ OS Version:_6.0.6002.2.2.0.768.3__ Locale ID:_1033__

    BCCode: f4

    BCP1: 00000003

    BCP2: 872E2D90

    BCP3: 872E2EDC

    BCP4: 81E33710

    OS version: 6_0_6002

    Service Pack: 2_0

    Product: 768_1

    Before I tear off my hard drive and throw it out the window, please tell me I can recover from this error. The above error when I try to rebuild my Index. I regularly get messages "index has stopped working". I select the indexer rebuild to the original configuration. He tried to do, but stopped after the indexing of files about 1700, restarted, and then returned with the above event. I had several problems with my OS for a few days. I have run chkdsk and chkdsk/r several times. I use Norton 360, analysis tell me that all files are up to date, Windows update is performed regularly and is up to date. I was initially received an error "parameter has exceeded its normal range" train SMART. I disabled this option considered, but service to have problems with my system. Everything seems to work okay in safe mode, where I am now. I am at a loss. I have a recovery partition on my drive, but did not know what options to use. I have the installation CD Vista too, but avoided to reinstall, have done this before for another question. For any help or suggestion will be greatly appreciated. Please see my other post earlier this week, I was only partially successful with this process. Thank you very much!

    Hello

    If a PC remove all power to the system:

    Check and replace the cards, memory and cables (at both ends) actually remove and replace
    -do not just tight. Memory could be the problem, so if you have more than 1 stick swap
    in and out to see if the problem follows a stick or try the new memory. How to test
    memory in the next message.

    -------------------------------------------------------------------------------------------------------

    Pick up the pieces after a computer crash - includes "what to do if Windows doesn't.
    start correctly'
    .
    http://Windows.Microsoft.com/en-us/Windows-Vista/picking-up-the-pieces-after-a-computer-crash

    Check this thread for more information using BlueScreenView, MyEventViewer and other methods
    to troubleshoot the BlueScreens - top 3 responses (+ 1 other).

    http://social.answers.Microsoft.com/forums/en-us/vistarepair/thread/3deab2fa-4000-4136-8c78-a3d22b1db009

    We can analyze the minidumps if make you it available to the SkyDrive or another file
    sharing sites (such as MediaFire). If you have problems to download the copy of minidumps
    for the office or in the Documents folder and download them from there.

    ZIP or download the content of the C:\Windows\minidump

    Use SkyDrive to upload collected files.
    http://social.technet.Microsoft.com/forums/en-us/w7itproui/thread/4fc10639-02dB-4665-993a-08d865088d65

    ================================================================

    BCCode: F4 0x000000F4

    Check and reinstall the cards memory and cables (at both ends where possible) actually remove and
    replace - do not just tight. On a laptop computer on all you can do is reinstall the memory and possibly check
    the contacts/connection to the hard drive. Memory could be the problem, so if you have more than 1
    stick swap them in and out to see if the problem follows a stick or try the new memory. Antivirus/anti-
    spyware/security programs have been known to cause or have a role in this matter.

    More general patch updates day and low level chipset BIOS drivers and other software to control.
    Also check wiring for hard drive.

    ======================================================

    Bug Check 0xF4: CRITICAL_OBJECT_TERMINATION

    CRITICAL_OBJECT_TERMINATION bug control has a value of 0x000000F4. This indicates that a process or thread crucial to system operation has unexpectedly is released or ended.

    Important info if you received a STOP Code

    If you received a blue error screen, or a stop code, the computer stopped abruptly to protect against data loss. A hardware device, its driver or software might have caused this error. If your copy of Windows is shipped with your computer, contact your computer manufacturer. If you purchased Windows separately from your computer, Microsoft provides support. To find contact information for Microsoft or the manufacturer of your computer, Contact Support.

    If you have experience with computers and try to recover from this error, follow the steps in the Microsoft article solution STOP (blue screen) errors in Windows.

    These actions could prevent a mistake like this does not happen:

    1. Download and install updates for your computer from Windows Update device drivers.
    2. Scan your computer for computer viruses.
    3. Check your hard drive for errors.

    CRITICAL_OBJECT_TERMINATION parameters

    The following settings are displayed on the blue screen.

    Parameter Description

    1

    The Terminal object type:

    0 x 3 : Process of

    0 x 6 : Thread

    2

    The endpoint object

    3

    The name of the process image file

    4

    Pointer to a string ASCII containing an explanatory message

    Cause

    Several processes and threads are necessary to the functioning of the system. As they are completed for some reason, the system can no longer function.

    BCCode: F4 0x000000F4<-- read="" this="">
    * 1241.html http://www.faultwire.com/solutions-fatal_error/A-process-or-thread-crucial-to-System-Operation-has-0x000000F4-

    -----------------------------------------------------------------------------

    Look in the Event Viewer to see if something is reported on those.
    http://www.computerperformance.co.UK/Vista/vista_event_viewer.htm

    MyEventViewer - free - a simple alternative in the standard event viewer
    Windows. TIP - Options - Advanced filter allows you to see a time rather
    of the entire file.

    http://www.NirSoft.NET/utils/my_event_viewer.html

    Here are a few ways to possibly fix the blue screen issue. If you could give the blue screen
    info that would help. Such as ITC and 4 others entered at the bottom left. And all others
    error information such as codes of STOP and info like IRQL_NOT_LESS_OR_EQUAL or PAGE_FAULT_IN_NONPAGED_AREA and similar messages.

    As examples:

    BCCode: 116
    BCP1: 87BC9510
    BCP2: 8C013D80
    BCP3: 00000000
    BCP4: 00000002

    or in this format:

    Stop: 0 x 00000000 (oxoooooooo oxoooooooo oxoooooooo oxooooooooo)
    Tcpip.sys - address blocking 0 x 0 00000000 000000000 DateStamp 0 x 000000000

    It is an excellent tool for displaying the blue screen error information

    BlueScreenView scans all your minidump files created during ' blue screen of the.
    death ' crashes and displays information about all accidents of a table.
    Free
    http://www.NirSoft.NET/utils/blue_screen_view.html

    BlueScreens many are caused by drivers of old or damaged, in particular the video drivers
    However, there are other causes.

    You can do mode if necessary safe or the Vista DVD command prompt or
    Options recovery if your system is installed by the manufacturer.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    You can try a system restore to a point before the problem started when one exists.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    -------------------------------------------------------------------------

    Start - type this into the search-> find COMMAND to top box and RIGHT CLICK-
    RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe)
    program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    The log can give you the answer if there is a corrupted driver. (Does not work
    tell all possible driver issues).

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -------------------------------------------------------------------------

    Often drivers up-to-date will help, usually video, sound, network card (NIC), WiFi, part 3
    keyboard and mouse, as well as of other major device drivers.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    -------------------------------------------------------------------------

    How to fix BlueScreen (STOP) errors that cause Windows Vista to shut down or restart
    quit unexpectedly
    http://support.Microsoft.com/kb/958233

    Troubleshooting, STOP error blue screen Vista
    http://www.chicagotech.NET/Vista/vistabluescreen.htm

    Understanding and decoding BSOD (blue screen of death) Messages
    http://www.Taranfx.com/blog/?p=692

    Windows - troubleshooting blue screen errors
    http://KB.wisc.edu/page.php?id=7033

    -------------------------------------------------------------------------

    In some cases, it may be necessary.

    The Options or Vista recovery disk Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

Maybe you are looking for

  • Whenever I run Thunderbird, it downloads messages since 2 weeks ago once again.

    It's as if time stopped a week ago. The mails that I downloaded right now seem to disappear when I quit Thunderbird and are therefore re-downloaded, when I then run Thunderbird.Also, no copy of emails sent were recorded this week. They seem to have b

  • I can't access the address at the top of the screen bar

    When I look at my home page, Mozilla, Yahoo or something else, I see the toolbar file, etc. and a bar with the homepage listed under the toolbar, but I can't access the address bar I use to type in a Web site. is today

  • Satellite P300D can't find (WXP) Wireless Lan Adapter

    Hello world you just bought a Satellite P300D. First thing I did was to remove Vista to have a power more available for my work and not for the operating system. I found most of the drivers on the Toshiba site, BUT the wire gives me problems.I tried

  • Extract native Bar project

    So I had a problem with my computer and lost all my recent work. Not happy about this, but I'll pick. I have the version now my application in BAR format, is there anyway to extract the project in the bar file itself or I will just to work from a pre

  • follow my son

    HelloOnce logged in, how do I see my old son is the author, participated?Earlier, I have used this option to the user oracle forums and currently not able to find it after update of this site...concerning