Front panel freezes using custom XControl

So here's the situation: I wrote an XControl using an external library (camera control functions). The control works as it should work. So I use it in a VI and save this file. Reopening the file causes the front panel to freeze. Why? When I restart labview after it ultimately crashed and place the xcontrol in a new VI it works like a charm again - but saving and reopening it leads to freeze and crash again. In an attempt to debug I deleted all the external VIs from my XControl, believing this to be the problem. Its completely empty now, but still the freezing and crashing. What could be the problem?
Kai

Thank you for your input! I appreciate it very much.
To Chris:
1) Version 12, 32 Bit
2) Here is my init vi:
As you can see, this is still default. I have not changed a thing. Maybe I should?
3) This could be the case! How can I prevent this, if it is the case? Other XControls work fine. I will try a minimal experiment.
To Altenbach: I tried to follow the instructions. Heres my facade timeout. Maybe the need to be more in there:
One last thing. When loading the facade.vi it told me the following:
Vi was expected under "C:\Program Files\Andor SOLIS\Drivers\Examples\LabVIEW\System Files\user.lib\atmcd32d_internal.llb\Error Code Handler.vi", but was loaded from "Z:\Kai\xcamera\MicroscopeControlPanel_64bit_06042​012_newroomPalmSet Folder\Program Files\National Instruments\LabVIEW 2010\user.lib\atmcd64d_internal.llb\Error Code Handler.vi"
 The first is the local machine, the second is an (access restricted) external drive. How can you EXPECT a source at one place, but load it from another? I will try to change that....it is definitely a possible error source.
Thank you!

Similar Messages

  • How to create control dynamicall​y while front panel fly using Xcontrol or anyothere options but without scripting tools

    Hello friends
               I have one doubt How to create control dynamically while front panel fly using Xcontrol or anyothere options but without scripting tools.I need to create the controls while vi is running.For example I need to create one Boolean  while VI was Fly and i need one Examples it is easy to understand.
    Jayavel

    You must be using a different dictionary than the rest of us.
    You can't dynamically create controls while a VI is running.   (If I'm mistaken, then I'm sure someone else can jump in and say how it can be done.)
    Do you have a finite number of controls you could possibly need?  What you can do is create enough controls of the type you need ahead of time.  At the beginning of your program, you hide all of those controls.  As you need to create a control, you make it visible using property nodes.  There are numerous properties you can set at run time suce as ranges, colors, captions, ...  Of course you can't wire these controls to any other bits of code ahead of time since at that time, you haven't defined what you want each one to actually control.  But if you use an event structure to detect when the values of the controls have changed, you can then programmatically pass the data off to other parts of your code using queues.  The architecture can get complicate quite fast, so you may want to look through Ben's Action Engine Nugget and other related threads for how to create mechanisms for using these controls.  Perhaps storing queue reference numbers or assign user events to each one.

  • Front Panel freezes completely

    Hi,
           The attachement contains the image of the front panel. The picture shows child vis loaded using subpanel . In this VI i have tab with 5 pages, the pages are controlled using Runt time menu. The picture shown is from the first page of the tab. Now i have a situation we similar child vis are loaded in all pages, it works until fine few minutes, later the front panel freezes compeletly. How to solve this problem? 
    Attachments:
    Front panel.jpg ‏480 KB

    Hi jay,
    usual problems are
    - starving the CPU by heavy load (especially in the UI thread)
    - an event structure set to block UI while handling event(s)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to save the data that a user has written in a table (front panel) by using a "press button"?

    Hi,
    I have the following situation. I need to be able to save the data I write in a table (front panel) when desired.
    This allows me to modify, add new data, etc in the "Table" when wanted and to SAVE the latest information when wanted.
    I need to save all the table data by using ONLY one button.
    Thanks for the help!
    Kind regards,
    Amaloa S.

    Hi,
    Thanks for the feedback. :-)
    Your answered helped.
    In this case I need to save the Data into an ARRAY.
    Now I have the following issue. I will try to explain:
    Suppose that I have following:
    1. Several GROUPS of Data like this:
        ER-1234
        ER-3245
        ER-4786
        ER-9080
    2. Each GROUP has the following ELEMENTS:
        A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
       So it would be like
        ER-1234: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-3245: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-4786: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-9080: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
     3. An each ELEMENT has DATA that I need to save, BUT! that I need to be able to get by specifying the group and the element.
        A:
             2,3   2,4    2, 8,   2,8 
             2,2   2,3    2, 7,   2,6
             2,1   2,6    2, 6,   2,7 
             2,5   2,4    2, 5,   2,3
    How can I save the ELEMENT "A" Data with the label of the GROUP and the ELEMENT so that I can recongnize it when I need to get the DATA again?
    Thanks for the help!
    Best regards,
    Amaloa.

  • No MIC on front panel, when using LineIn from the Ca

    Hi
    My TV Card ist connected at the lineIn FLexiJack at the Card. When I connect a Microphone into the FrontPanel of my Fatalty I only get the sound from the TV Card.
    How can I use the Microphone?
    Which switch do I have to move?

    Go to the mixer and select the mic or mic or anything that represent the mic input from the front panel under the REC section.
    PS:I don't own a X-FI so not sure the correct option name but it should work the same way as the audigy 2 zs.

  • Setting up position of front panel objects using input from file

    I am working on a project and i have got the following query.
    i have a front panel with lot of objects like knobs,dials,push buttons etc..
    the entire panel will be the console to the user and as he changes the various
    positions of the objects their values will be written in to a file.
    now after a days work when the system is restarted again the next day
    the values of various objects should be read from the file and the front panel objects should be set in their position according to it
    in short the objects(knobs,buttons etc) should both act as o/p i.e when user interacts with them and they should also act as i/p when their position will be set from
    file.
    how can i achieve this.any help regard
    ing this would be greatly appreciated

    You should separate the read portion of this vi from the write portion of the vi. You want to execute the read portion of the vi only at startup and the write portion of the vi only at shutdown. So you'll be reading the file and writing the output to the property nodes, running your program, and then taking the value of the controls and writing to file. I have attached an example of how this might work. You might also do this with a state machine structure to control the data flow.
    Hope that helps
    Attachments:
    query.vi ‏49 KB
    read_file.vi ‏42 KB
    write_file.vi ‏36 KB

  • Need your help, How to write a program such as drag the objects to the front panel like using the LabVIEW Front Platte

    Dear all:
    Sorry for so long title.
    I need your help with how to drag the objects and drop onto the front panel.
    Like the LabVIEW front platte, i can choose the objects i can drop onto every where of the front panel.
    Could drag and drop function can satify?
    Any idea?
    Thank you
    Attachments:
    Image00000.jpg ‏75 KB

    What you want to do is relatively complicated and it seems that your knowledge of LabVIEW is relatively basic. I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • Front panel indicators used as controllers and viceversa

    It is possible to use indicators also as controllers?
    I would like to load data from a file and then to be able to edit that data.
    Kind regards

    Hi vick217
    this is the Spanish board. But I think  a "Local Variable" or a Value "Property Node"
    could work for you.
    Regards.

  • How to convert U32 value obtained from color control of front panel to float(SGL) for use with IMAQ Draw ?.

    I am trying to get user color inputs from front panel and use it in IMAQ Draw. I need to draw an oval of a certain color in a background of another color. Both these color values are user input. The problem is IMAQ Draw requires SGL color value and the color controls of front panel give U32. I have tried conversion VI's which hasn't worked. HELP !!!

    Jake,
    I think the color control can be wired directly to the input, but I am not positive. I don't know of any color conversions that would help.
    Make sure your image is a color image. You can't draw colors on a grayscale image.
    You might want to consider using overlays, which appear on top of the image but are not part of the image.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • What's the best way to put a programmat​ically sizeable transparen​t image onto a VI front panel

    The problem is twofold: 1) how can programmatically read a transparent image (i.e. image with transparent background) and 2) how can I programmatically position and size that image onto a VI front panel. The best luck I had with item 2 was with a boolean custom control with an imported image. However, this control does not have a programmatic method for importing an image, so the image had to be manually cut&pasted into the custom control.

    Hi,
    If the image is static, it's possible. You can drop a metafile on the front
    panel, and use Panel>Decorations> to get a reference to the image. Resize it
    as desired.
    Changing the image (e.g. from file) is not possible this way, but you can
    put multiple images on the screen and change the visibility...
    If you want to make a picture viewer, I'd consider an activex control (this
    way you can load several picture formats without any programming).
    Regards,
    Wiebe.
    "Jim Campbell" wrote in message
    news:506500000008000000AF4E0000-1023576873000@exch​ange.ni.com...
    > The problem is twofold: 1) how can programmatically read a transparent
    > image (i.e. image with transparent background) and 2) how can I
    > programmatically position and size that ima
    ge onto a VI front panel.
    > The best luck I had with item 2 was with a boolean custom control with
    > an imported image. However, this control does not have a programmatic
    > method for importing an image, so the image had to be manually
    > cut&pasted into the custom control.

  • Display faux spreadsheet on front-panel

    Hey, thanks to all that have been helping me answer all my LV questions. This site is awesome.
    My newest question:
    I am writing data to a spreadsheet in my program... I recieve a measurement from my scale via rs232... then, I display the data (floating point), the time (string) it was collected, and a comment (string) that the operator enters on the front-panel... They are prompted to "accept the data into spreadsheet"... when they accept, the data gets sent to the Excel file and the indicator boxes for the data, time, and comment go blank.
    What I would really like to do is have a "faux spreadsheet" (in addition to the indicator boxes) that displays the data that is sent to my Excel file. It's appearance would be similar to the Excel file. I tried using "build table", but it doesn't seem to accept strings... only numbers. Is there another method I could use?
    Next, I need to format the Excel file with column widths, fonts, etc... is the ActiveX control the best way to do this? Any examples out there?
    Man, thanks for all the help. This program has taken on a life of it's own (as these automation projects ALWAYS do).
    Thanks!

    You must have tried the Express Table function. Instead, use the normal table on the control palette. It is a 2D string array. The other way to do it is to embed an actual Excel spreadsheet on the front panel by using an ActiveX container.
    Yes, you need to use ActiveX to format the spreadsheet file. NI sells a toolkit that will do this and if you were search the forum for "Excel", you'd find hundreds of posts on the subject and many include example code.

  • Is there a way the user can change the equation in the formular node from the front panel on the fly, dynamically?

    Is there a way the user can change the equation in the formular node from the front panel on the fly, dynamically?

    Sorry, I don't think so. That would be pretty cool if you could create a property node for a formula node and then enter a formula on the front panel and use it to update the formula. But you can't create a property node for a formula node and the only way of modifying the formula is by typing it into the formula node on the diagram. And you can't modify a diagram of a running VI.
    You could create a VI which is only a formula node with the maximum number of inputs and outputs you expect. Have a button on the calling VI to Edit Formula. When the button is pressed, use a VI server to display the front panel on the formula VI, display a dialog box telling the user how to display the diagram of the formula VI, then stop the calling VI. (You can't edit a sub-VI while t
    he calling VI is running). The user will then need to rerun the calling VI to use the new formula.
    You might be able to do something by calling MatLab or something like that to get an interactive formula window.

  • Midi in from front panel stopped working (x-fi platinum)

    8midi in from front panel stopped working (x-fi platinum)" Not sure if I burned the connector or if something is wrong with the driver. My midikeyboard can't be used with sb x-fi platinum anymore.
    I borrowed terratec soundcard from big brother a while and used my midikeybaord in with that and output with x-fi card. but now he's taken the terratec back.
    and I'd like to really know what's wrong witht he midi in.
    Does anyone know what might be the problem?
    I have connected normal midi cable -> normalmidi to tiny x-fi port convertor -> front panel
    This used to work a bunch of months ago.
    i'm using winxp latest updates. i'm trying out reaper. I've got asio4all installed but i usually use directsound when I'm composing music.
    tahnks for any help

    i have the exact same problem with vista!!!no sound from the front panel of x-fi platinum!i don't know what to do!

  • Front Panel Objects control

    How can I passingly Disabled all controls of same type on front panel together using a unique Property node?
    I try to use the Class Specifier Constant but it doesn't work.
    Thanks,  Fabio

    Hi,
    put all these controls in a single cluster and disable that cluster.
    regards
    Dev

  • The charts are cleared when viewing a front panel remotely

    Every time when a new client connects to the Web Server with the intention
    to view a front panel remotely using a Browser, the charts are cleared on
    server and all connected clients. Just the same happen when the user on
    client computer pushes the refresh button in Browser. This behavior is new
    to LabVIEW 7 and was not was noticed in LabVIEW 6.1.
    How to prevent this behavior in LabVIEW 7?
    Thank you

    Bojane,
    This is a known issue with LabVIEW 7 with charts and remote panels. Our R&D engineers are aware of the issue, and are working on the solution for the next release of LabVIEW. For now, the only workaround is to use graphs instead of charts.
    Zvezdana S.
    National Instruments

Maybe you are looking for

  • How to use the method finalize () ? It has protected access...

    Here is the program : the structure is the way I would write in Pascal. I need new object question at each turn in the loop ! But question is already defined outside the loop. So, I thought to the method finalize (). But the compilator doesn't agree.

  • HOw to do this with JAVA

    http://aycu29.webshots.com/image/37828/2005173359849159001_fs.jpg Hi! I am new in java ,How can i build some thing like that in above? Edited by: mjava on Dec 4, 2007 7:26 PM

  • CUBE 0IC_C03

    Hi, I am using cube 0IC_C03. I however need to bring in planned data into this cube and i do not see VERSION or VALUE TYPE fields in this cube. How do i get planned data in this cube? Also i also need to bring in STANDARD PRICE in this cube. How do i

  • Leopard Behavior w/Graphics (a little long)

    I switched to Leopard from Tiger the day after release. I found the computer slows down over the course of operation during the day, especially graphics performance, including genie effects, dock, etc..as many have written. I ran Cinebench 10 tests o

  • Crystal Reports 8.5 - Windows 7

    Hi, I'm currently using version 8.5 of Crystal Reports tio develop several financial reports. I use the Report Distribution Expert to distribute the reports and the end users install on their machines by running the 'setup.exe' file. However, since s