Const from a 'tab control typedef' crashes lv6.1

LabView crashes with 'failure: datamgr.cpp line 2854' if I do the following:
1/ Make typedef of a TAB Control
2/ Place this typedef control on front panel
3/ create Const on diagram (also depends on typedef)
4/ change in the typedef the 'tab control' (change a page name)
saving this new typedef vi will crash LabView
(as if the const can not be updated correctly)
Seen on Win98 and Win2000. LabView 6.1
(Labview 6.0 doesn't allow "custimise control" with TAB controls, so here no errors)

Verified on XP:
Failure : "datamgr.cpp", line 2854
Have you reported this to NI, or checked out www.ni.com/failure ?
Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

Similar Messages

  • Tab Control Typedef Bug (LV 2014)

    If you have a typedef'd tab control, and you rearrange the pages in the typedef, then apply the changes, on the instances of the typedef, only the labels will be rearranged, not the contents of the pages.  Each control on the tab control will be on the same ordinal page as before.

    Paul,
    If you can post a simple example VI that shows this behavior I would be glad to take a look at to see what is going on and if this is a bug.  If it is a bug I will make a Corrective Action Request (CAR) so that this can be fixed in future iterations of LabVIEW.  The post I made earlier, that suggested this may not be a bug, referenced the help documentation for the Rearrange Pages Method. This document is linked below and states that the method is not available for Strict Type Definitions.
    http://zone.ni.com/reference/en-XX/help/371361K-01​/lvscript/tabcontrol_rearrange_pages/
    This is the LabVIEW 2013 Help documentation and as I noted in my previous post, the remark on whether or not it is available with strict type definitions in LabVIEW 2014 help was absent.  If you would be willing to post a VI that demonstrates this behavior I can try this on my computer using multiple versions of LabVIEW and ask a few colleagues to determine whether this is a bug.
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • Feedback from the Tab Control

    I have 3 tabs, and each one runs a sequence, in a case associated with the tab control. When I start my program, the sequence found in the active tab (case) runs. I have put 3 Stop buttons (one per tab) to stop each of cases (actually to stop a loop there). After stopping a sequence on a tab, I can press on another tab and change this way the running sequence.
    Now, I'd like to stop any running sequence in a tab's case by just pressing on another tab and this way starting the sequence associated with that tab. This would eliminate the Stop buttons. But how to do it, because just the selection of another tab with the operating tool neither triggers an event nor launches the case associated with that tab?
    I use LabView 6.1 under Win2K. TIA.

    In each of the loops that you monitor the stop buttons, inspect the local value of the tab control and compare it for changed value or the value of your specific case. In either case the logic is the same as your stop button. While( !StopButton AND !TabChanged)
    Stu
    Stu McFarlane
    Viewpoint Systems, Inc.

  • Save the selected value from listbox with its respective tab control dropdown selcted values in another listbox

    Hi all,
    I am making a vi where I have to save the selected value from listbox with its respective tab control dropdown selcted values in another listbox.Whenever I select Item1 then the heading change and respective tab will open for that item.But Now I just want to save the selection and put it in another ListBox.SO that I can renmove or add according to my wish. Plz help me.
    Solved!
    Go to Solution.
    Attachments:
    my_vi.png ‏83 KB

    Hi, I successfully make the vi to insert itmes from listbox1 to listbox2.Whenever I select itmes 1 in listbox 1 it display same elected item in listbox2 , but it not appending the items in listbox2.Like If 1 is selected in listbox1 then 1 will display , next time after saving when I selct next item like 3 then in listbox 2, 1 is replaced by 3,it dont come in second row of listbox2.Hope I am able to explain.\
    Plz help me to resolve this.
    Attachments:
    listbox_update.vi ‏11 KB

  • Export image EMF from tab control, help!!

    Hello,
    I am trying to get a good resolution report. I got use export image to EMF file so the graphs look very good resolution. When I appended the image control like png it looked poor quality. Now is ok, now I export image of graphs to emf and then use 'append image to report' using the path of file emf.
    But I have a problem in this case. I am trying to get EMF file from Tab control. I have 8 graphs inside of each page of tab control. I would like to get each page exporting to EMF file and later append the image to report from path of file. The problem is I cant export to emf. I tried the solution in this treads.
    http://forums.ni.com/t5/LabVIEW/send-control-image-programmatically-to-clipboard/td-p/180921/page/2
    But it uses get image and it is bmp, so no good solution.
    I attached pdf file. IT shows the tab control with append control to report (it is like capture in png file) and one graph append control to report png and emf file of another graph and use the path to input in word report. You can see the diference.
    I would like to know if i could export the tab control to emf or any onther vectorial image and later use the path. SInce it will take several pages and i will need sometimes 300-400 graphs...
    Any idea would be great.
    Best Regards.
    Attachments:
    z-capture.png ‏34 KB
    Report22.pdf ‏212 KB

    Hi Mike,
    Thanks for your reply!.
    Well, it was only one example. Check the attached file. It works ok. I split in dataset of 8sec and save the emf files.
    The problem is the report. If I enable it doestnt works fine, since you will be the both parts working in the same time.
    That's why the sequence structure would be ok, one time all the graphs are saved then I could append to report.
    I have another question. I used transparent graph and it works ok. I remove all the scales Y values or labels and customized the graph adding one horinzontal line for X scale (like capture), but in the file emf saved didnt appear. Do you know why?.
    Best Regards, Fred.
    Attachments:
    z-capture1.png ‏31 KB
    z-capture2.png ‏16 KB
    Report1.pdf ‏267 KB

  • Tab control crash

    I was playing with tab control and I saw this crash. No code in block diagram. I added tab control, added couple of tabs, deleted 1 tab and then I saw this crash.
    Thanks.
    CVI 2010
    LabVIEW 2011 SP1
    Vision Builder AI 2011 SP1
    Attachments:
    LV Crash.zip ‏30 KB

    error report is attached in zip file.
    Just like other crashes this crash is not reproduceable.
    Thanks.
    CVI 2010
    LabVIEW 2011 SP1
    Vision Builder AI 2011 SP1

  • LabView crash when intensity graph is in P6 of tab control

    Any available fixes for LabView crash when intensity graph is put on page 6 of tab control and right-clicked??

    Michael,
    This has been fixed in LabVIEW 6.1.
    Regards,
    Cyril Bouton
    Applications Engineer
    National Instruments
    Cyril Bouton
    Active LabVIEW Developper

  • VI crashes on load because of hidden tab in tab control

    As part of the user interface I'm using a tab control which has hidden tabs. However there seems to have been some problems with the last few saves because whenever I try to load the VI, LabView crashes with the following message:
    The instruction at "0x006acca1" referenced memory at "0x189753e4". The memory could not be "read".
    This appears to be because one of the (supposed to be) hidden tabs is visible on startup. If I'm fast enough, I can click on the tab, in which case it disappears and the VI loads normally. I've tried saving and reloading after doing that, and the VI is fine. However of late I can never seem to click fast enough, so I can't load the VI.
    Is there anything that can b
    e done (other than redo all the work... which would really be a pain)?

    Hello,
    Are you using LabVIEW 6.0 or 6.0.2? I recommend you install the 6.0.2 update, if you have not already, as there were some problems with tab controls that were fixed in the update. Have you mass compiled your VI? Often if there is something corrupted in a VI a mass compile will fix the problem. You can read the on-line help in LabVIEW to learn how to perform a mass compile.
    Have you tried deleting and re-creating the offending tab control? See if that helps. Also...have you tried loading the VI on another computer, just in case something is wrong with the computer you are currently using?
    If you are still experiencing the problem, is there any way you could attach your offending VI to this thread, and I can take a better look at it, and perhaps get R&
    D's opinion? Let me know...
    I hope one or more of these suggestions helped. Thanks for your patience on this issue, and have a pleasant day.
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Control/Indicator descriptions are not imported or checked from LabVIEW to NI RG when they are placed on Tab controls

    Hi Allen,
    I am currently testing Requirements Gateway. As it seems it does not find any controls placed on a tab control to see if it is covered or not.
    Is there any reason not searching for controls placed on tab controls?
    We have VIs iterating over complex Front Panel structures to find all controls. Maybe we can add this functionality to NI RG LabVIEW interface.
    Is there anyone can help in this?
    Andras

    I tried this and got the same problem. This is new to me and I too would like to see it added to the RG capability. I have many controls and indicators on tabs that could use covering statements.
    FYI: You can't do this with cluster elements either. The covering statement can only go on the cluster itself.
    Bill
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • Firefox crashes when I click on "Add-Ons" from menu tab

    Every time I click on "Tools" in the menu bar and then click on the "Add-ons" tab, Firefox immediately crashes and a crash report shows up asking if I want to submit the report. This only started happening after I recently installed a bunch of add-ons to my browser. I want to uninstall some of the add-ons but unfortunately I cannot even view the "Add-ons" page now because it keeps crashing every time I try. I have tried restarting my browser as well as my computer many times and still get the same crash error.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    This can be a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (extensions.sqlite, extensions.ini, extensions.cache, extensions.rdf) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry.<br />
    New files will be created when required.
    See "Corrupt extension files":
    * http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to do a compatibility check or see if there is an update.

  • Updating Tab Control programmatically from within StateChart

    I would like to update a tab control, visible page, based on the current state, using the StateChart Module.  I first tried creating a reference to the tab control and passing that to a property node within the state in the statechart.  However when I drop the reference in the state it pulls every control associated with the tab control into the state, no good.  I tried with a property node with same results.  My next thought was to use a shared variable, but I dont believe that I can have a shared variable with enum data type.  Anyone have a solution for this problem?  It seems like someone else must have encountered the same issue at some point.  Any thoughts will be appreciated.
    Cheers!
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

    The example uses the StateChart module, if you have the statechart module it is probably easier for you to try and replicate, just create a state in the statechart and place a tab control on the front panel of the vi that calls the statechart, and then create a reference to the tab and place it in the state of the statechart.  I will go ahead and make a quick example, but be warned that without the statechart module you wont be able to open it.
    I apologize for the zipped folder, I needed to attach more than 3 files.
    Message Edited by jmcbee on 05-15-2008 10:16 AM
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    SC Test.zip ‏175 KB

  • How to save values of a page from tab control??

    Good morning!
    I have a question about saving the data of one page of the tab control.
    In my case, alarms (boolean buttons) can be activated, it will appear in a page called HISTORICO (Date // Time // Room), but when I change to another page and back again to the HISTORICO page, the table back for null value.
    Here's some screenshots of my program.
    If anyone can help, I will be grateful.
    Solved!
    Go to Solution.
    Attachments:
    mainvi.png ‏167 KB
    frontpanel.png ‏141 KB

    In your case structure set on the case "Tabela", you have a Use default if Unwired tunnel on the right hand side.  And I can see that you have some unwired tunnels on it.  If the case structure ever executes one of those cases, then the default value of an empty table is going to be passed out and put in the shift register.
    Solution:
    1.  Right click on that tunnel and turn off Use Default if Unwired.  (In 95% of tunnels, it should not be used.)
    2.  Find the cases where the tunnel is unwired and pass the table wire through all of them.

  • Tab control shows wrong display for selected tab

    My computer crashed when I tried to post this earlier, so I apologize if the first post actually shows up. 
    I have seen this for years so it is nothing new, but I don't remember seeing it in any release notes (sorry if I missed it).
    Upon loading the .vi (or as an executable), the .vi shows the wrong page for the selected tab.  After selecting a different tab, the control works fine.  Also, if you create a property node to read the tab value, it matches the displayed page....just the selected tab seems to be incorrect.
    A work around is to select the default tab before saving the .vi, but why is this happening in the first place?
    Attachments:
    tab_example.vi ‏24 KB

    Hi Stephen,
    The erroneous tab display is something I see on most of not all of my code that uses a tab control (each is a typedef). 
    What change would I make the the typedef?  If I disconnect the tab from the typedef then I will loose the advantages of using the typederf...I will stick with the workaround like I have for the past 3+ years.
    Isn't this a LabVIEW bug since the displayed tab is not equal to the value read from the control?  I have not tried it on this example I posted but in the past, writing to the control does not fix the displayed tab (writing the control may not work since I wrote the same value that LabVIEW thinks is the current value, but the displayed!=actual).
    Thanks,
    Todd

  • Changing tab control strings

    I found that if I modify the TEST_UUTS string in ModelStrings.ini, I can change the text displayed in my entry point button.
    [MODEL]
    TEST_UUTS = "ATE TEST"
    SINGLE_PASS= "DEBUG"
    Similarly, I made changes to UIControlOperatorInterfaceStrings.ini to change what shows up in the tabs for my Top-Level VI in the TestStand 3.5 Operator Interface.
    [TSUI_OI_MAIN_PANEL]
    EXECUTION = "Test Execution"
    SEQUENCE_FILE = "Test Sequence"
    Now for my questions - one specific, one general
    1) If I add a page (tab) to my tab control (say Quick  BIT), I was told I could just create a contant in CustomStrings.ini and TestStand would grab the text out of that file.
    [TSUI_OI_MAIN_PANEL]
    QUICK_BIT = "Quick BIT"
    How/where does it do that?  I assume this constant (QUICK_BIT) would have to be unique and it would have to be specified in one of the properties dialog boxes somewhere?
    2) In general, where does TestStand use these contants (say, for example, the one for TEST_UUTS)?

    Hi,
    You have to call the TestStand - localize Front Panel.vi, which is found in the TestStand Palette in your LabVIEW. You need to provide the Engine reference which you can obtain from IAppllicationMgr.GetEngine and also a string containing the section name found in your CustomStrings.ini
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Tab controls

    I have a program with 3 tabs using tab control. The first tab is a login
    screen (because this will be used for remote fron panel use), the next is a
    configuration tab and the last is the execution.
    The login tab is an event structure waiting for a value changed on the
    "login" bool button.
    The config tab is a while loop that updates different settings which are
    later being read from the execution tab and is also used for running small
    test executions from within the config tab.
    The execution tab is a while loop that reads settings from the config tab
    controls and actually manipulates I/O ports.
    So far so good. Now, when the VI is started, I switch to the login tab and
    disable the others by use of a property node and references. Works well.
    Once the user is l
    ogged in, I disable the login tab and enable the others
    and jump to the last tab. Works OK as well.
    Problem: If I start the VI when any other tab than the login tab is in
    "focus", that tab will continue running and you can never log in because the
    login tab will never get "its turn" even though it will actually disable the
    other tabs and put the login tab in focus. Also, I would like for the tabs
    to stop running when I switch to another tab and continue when I switch back
    to them, thereby only having one while loop running at a time.
    Right now, if I stop the while loop in one of the tabs the whole program
    stops.
    Can anyone help me in the right direction?
    TIA,
    - Soren

    I never thought of the tab control as an actual control, but more of a
    display device. Anyway, you can make a local variable from the tab and
    write a constant to it to switch between tabs.
    "Soren Maigaard" wrote in message
    news:ap284d$c22$[email protected]..
    > I have a program with 3 tabs using tab control. The first tab is a login
    > screen (because this will be used for remote fron panel use), the next is
    a
    > configuration tab and the last is the execution.
    > The login tab is an event structure waiting for a value changed on the
    > "login" bool button.
    > The config tab is a while loop that updates different settings which are
    > later being read from the execution tab and is also used for running small
    > test executions from within the co
    nfig tab.
    > The execution tab is a while loop that reads settings from the config tab
    > controls and actually manipulates I/O ports.
    >
    > So far so good. Now, when the VI is started, I switch to the login tab and
    > disable the others by use of a property node and references. Works well.
    > Once the user is logged in, I disable the login tab and enable the others
    > and jump to the last tab. Works OK as well.
    >
    > Problem: If I start the VI when any other tab than the login tab is in
    > "focus", that tab will continue running and you can never log in because
    the
    > login tab will never get "its turn" even though it will actually disable
    the
    > other tabs and put the login tab in focus. Also, I would like for the tabs
    > to stop running when I switch to another tab and continue when I switch
    back
    > to them, thereby only having one while loop running at a time.
    > Right now, if I stop the while loop in one of the tabs the whole program
    > stops.
    >
    > Can anyone help me in the right direction?
    >
    > TI
    A,
    >
    > - Soren
    >
    >

Maybe you are looking for