Open close sub vi front panal

I have a sub vi which returns a true or false. I'm using a case statement to open and close the front panal of the sub vi.  If true I'm using a invoke FPpen to open the sub vi and if false I'm using an invoke FP:close to close the front panal. The sub vi and case structure or inside a while loop. My problem is if a false is returned without the front panal already being open an error occurs. Is there a different setting I should be using or is there a way to determine if the front panal is closed so I don't use the invoke FP:Close?
Thanks.
Solved!
Go to Solution.

Knoebel wrote:
I didn't think of doing it that way. If I use FPpen and FP:Close depending on true or false value I still get an error if False and the front panel is already closed. I don't know of another way to open and close the front panel based on the condition.
Yes, you will get an error if you try to close a panel that is not open.  Just ignore the error with the Clear Specific Error.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • LV 8.5 opens all sub-VI front panels

    Hello,
    Recently I again saw a strange occurrance that has happened to me about 10-12 times over the past year. Here specifically I am using LV 8.5 with the cRIO and FPGA module. When I was running a new RT VI from the developer environment, (deploying to the cRIO) the result looked something like this:
    All the sub-VI front panels are opened, and shown in their reserved or running state.
    None of these VIs are set to show front panel when called or opened, but all are sub-VIs of the top level VI within the project. It seems to have replicated a "Find all VIs in memory, within the project" and then "Show front panel" Invoke. The troubling thing is that this is not really repeatable, when I have closed all the VIs and run the VI again, it is fine. I have seen the same behavior in LV 8.2, 8.21 as well as when deploying to cFP-2120 or when on a Host computer.
    Has anyone else seen this or are there any ideas of what is going on?
    Thanks,
    Mello
    Message Edited by Mellobuck on 12-11-2007 01:17 PM
    Message Edited by Mellobuck on 12-11-2007 01:17 PM
    Data Science Automation
    CTA, CLA, CPI
    SHAZAM!
    Attachments:
    Multiple Windows.jpg ‏117 KB

    Well now that I have seen to image, I recall having seen this myself.
    Like you, it was when I was deploying to an RT target and I was not able to recreate this behaviour.
    It was either an 8.0 or a 8.2 app.
    So all I can do is confirm that you are not alone, but can not offer a solution.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I try to open two sub vi front panel in third - main vi front panel.

    I have two sub vi, and I`d like to see this two vi front panel in main vi front panel window. Does anybody can answer me , If it`s possible?

    Click here for a recent related discussion.
    Or have you thought about using a tab control? You can organize controls in pages and have those controls call sub-VIs with or without displaying the front panel of the sub-VI. See the Tab Control Properties.vi example that ships with LabVIEW.
    From any LabVIEW window, select Help from the window menubar, then Find Examples >> Search, then enter "tab control" (without the quotes) in the box labeled Type a keyword to find:

  • Opening multiple sub VIs (front panels) in an application

    Hi, 
    I am working on a small process control application. The main VI represents a layout of various equipment (pumps, valves, heat exchangers). Each TYPE of equipment
    can be turned on/off through a particular subVI. The subVI is displayed when the operator clicks on the component.  At the moment only one subVI front panel can be loaded. I would like to have multiple panels open at the same time; this to include multiple instances of a same VI and different subVIs.
    I have tried to set properties in the WindowsApperance dialog box but cannot acheive the desired operation. 
    Any suggestions?
    Thanks

    Trust my personal experience: You do NOT want multiple dialog windows open.  The users will hate you and curse your name if you do.  You really want to use subpanels and limit what the user can do.  Subpanels are a way of inserting a VI's front panel into another VI's front panel.  So you want to have a section of your main front panel that the user can load whatever control subVI they need.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Sub vi front panel opens when main vi opens

    When I open my main vi I have one of my sub vi front panels that opens.  I looked in the properties for the sub vi and Show front panel when loaded is NOT checked. Is there something else I need to look at?
    Solved!
    Go to Solution.

    please clarify;
    Q1)
    The sub-VI FP opens when
    You open the top VI but BEFORE you run it
    OR
    The sub-VI FP opens after you start the top level VI
    Q2)
    If the above Q was after you run....
    Is the sub-VI running or paused when it opens?
    If it is puased you may have a breakpoint set in it.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Main vi freeze after close sub vi

    Dear all,
    I call a sub vi from my main vi but when i close sub vi, the main vi become freeze. The sub vi is a vi i used to edit a data from my database, its close after execute a query. Freeze also happen if i close the sub vi with [x] in the corner window

    Well, does it work if the [close] button is pressed on the front panel? Unfortunately, by closing the panel after an edit operation, you prevent access to that button and the subVI does not return.
    All you need to do is remove that entire "close" related inner sequence and instead wire a TRUE to the termination condition of the while loop. Since your subVI is set to open the front panel when called and close afterwards, it will automatically close the VI when the loop (and thus the subVI!) completes. (make sure the subVI is closed before starting the main program!)
    You can delete the timeout event since it is not used, but you should add a "panel close?" event to capture pressing of the X. Also complete the subVI loop under this condition.
    Why are you doing everything with value property nodes? You should wire directly to the terminal instead. There are also potential race conditions.
    LabVIEW Champion . Do more with less code and in less time .

  • I created boolean references in my main vi block diagram and copied them to my sub vi front panel. when wire my reference in my main vi to one the input node of the sub vi the wire is broken. the error says its a class conflict why?

    i created boolean references in my main vi block diagram and copied them to my sub vi front panel. when wire my reference in my main vi to one the input node of the sub vi the wire is broken. the error says its a class conflict why?

    Expanding and clarifying what BJD said;
    After you create the temporary sub-VI that BJD mentioned, open its front panel and copy the reference control that LV created when it created the sub-VI.
    This reference control will be correct class etc that you need. Use the control to replace the original control that you were attempting to wire up.
    The technique of "create sub-VI...copy" always works for me.
    There is one more thing that you should watch out for.
    The mechanical action of the boolean can not be set for latch action when attempting to read the value using a value property node.
    Trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • ESYU: "Open/Close Periods" 와 "Control Purchasing Periods"의 차이점

    Purpose
    Oracle Purchasing - Version: 11.5.10
    FORM:POXSTCPP.FMB - Control Purchasing Periods GUI
    FORM:GLPRDED.FMB - Open/Close Periods
    "Open/Close Periods" 와 "Control Purchasing Periods"의 차이점이 무엇인지
    알아본다.
    Solution
    1. Purchasing Periods 관리
    (Purchasing-->Setup -->Financials --> Accounting-->Control Purchasing Periods)
    Control Purchasing Periods는 Purchasing Period를 관리한다.
    Purchasing periods는 Receiving Sub Ledger에 ledger 입력을 관리한다.
    Purchase Orders와 Receipts(만일 PO를 Inventory로 넘겨줘야 한다면 transaction date는
    Inventory Accounting Period 안에 있어야 한다) process를 위해서는 Purchasing period는
    Open 되어져야 한다.
    만일 예산 관리/Encumbrance Accounting을 사용한다면, Purchasing은 PO distribution과
    Requisition distributions에 입력된 GL date가 open Purchasing period 안에 있는 날짜인지를
    검토한다.
    만일 집중화된 Procurement를 사용한다면, Purchase Orders와 Receipt process를 원하는
    모든 Business units 안의 Purchasing Period는 Open 상태로 남아 있는지 확인해야 한다.
    2. Open/Close Period
    (Purchasing-->Setup-->Financials --> Accounting-->Open/Close Period).
    이 화면은 GL periods를 관리한다.
    GL periods는 GL에서 posting과 journal 입력을 관리한다.
    Reference
    Note 394361.1

    Hi Vamsi,
    Thanks for your response and our company metalink account has been expired, and Oracle no longer support us.
    I want to confirm that, do you mean that I update the adjustment month on gl_period_status, then the system can generate the 'missing' inventory accounting period and purchasing period, and also other periods that should be existed?
    Thanks for kindly help!
    Joseph

  • Open Close Periods

    Hi,
       I have a requirement that access to the transaction for OPEN CLOSE PERIODS
       (S_ALR_87003642) needs to be provided only to the users who are authorized
       to open close periods for specific company codes. This transaction does not
       have a user interface and displays all the data for all the company codes
       irrespective to the authorization of the user for accessing the transaction for only
       specific company codes.
       I need to display data only for specific compnay codes based on the user
       authorization. Is it possible to achieve this functionally assuming that the user
       has authorization set up to access and modify data only for specific company
       codes and not to all.
    Thanks,
    Vamseedhar K

    Hi
    I think you can use authorization object S_TABU_LIN, please check with basis security guy.
    regards
    Srinivas

  • OPEN\CLOSE POSTING PERIOD

    Hi everyone,
    I'm working on a system with different company code, each company code has a posting period variant.
    My question is:
    Is there the possibility (by tcode 'OB52') that more users can, at the same time, open\close posting periods related to them posting period variant?
    In practice, my customer asks me:
    AT THE SAME TIME: - user x (company X) modifies posting periods of PPV '001' and user y (company Y) modifies posting periods of PPV '002'...
    Is it possible???
    thank you in advance..

    Hi Jason,
    Probably I may not recommend this. These are most critical activities. We do not the dependency of the tables. Meaning that the table could be linked to many other tables and fields in database. This may end up in data integrity issues.
    These are not the activities that we should do on a daily basis. Normally we open and close the period on a monthly basis and open this screen for few minutes or so. I would suggest first user can go and change and then he come back and the second person may change.
    Since this a very critical activity, anything wrong would impact all other modules, as the data is moving from all other modules to FI.
    Therefore, I would only recommend one by one to change OB52 OR give the authority to a centralized person in order to open and close the periods.
    Regards,
    Ravi

  • Is there a way we can open/close posting periods on a "per day" basis?

    Hi SAP gurus,
    Is there a way we can open/close posting periods on a per day basis?
    It is not possible in OB52 since it only has control per period and not per day.
    Will assign points for suggestions. =) Thanks!

    Hii
    In standard SAP there is not such functionality where u can do these kind of configuration...it is at least for a month that is through OB52.
    If u still wants this functionality it is through the validation.
    u need to create the validation for that company code and thn u can use this functionality....
    hope it helps u
    reward points if helpful
    sejal singh

  • GL - Open/Close Periods

    After setting up Set of books (along with chart of accounts, calendar, and functional currency, etc.) I opened the first period as Dec 04, although my first financial year will be from January 05 to Dec 05. Then I tried opening next period (which should Jan 05) but the concurrent process failed.
    I thought it might be because there is no data in Dec 04 (i.e. current period). I then used journals to post account balances (for assets and liabilities + shareholders equity) to Jan 04. Then I closed the current period and tried to open next period again but the concurrent process failed!
    Please tell me what I need to do in non-technical language, so that next period can open. I am a functional user, not a technical consultant!
    No concurrent reports were produced but the View log is pasted below. Please note that I did define calendar periods before defining Set of Books and the periods are all in the LOV window for Open/Close!
    OOAP0010: Please define Calendar Periods before opening them.
    <x glopcs() 16-DEC-2005 08:08:52
    sqlcaid: sqlabc: 0 sqlcode: 1403 sqlerrml: 25
    sqlerrmc:
    ORA-01403: no data found
    sqlerrp:      sqlerrd: 0 0 0 0 0 538976288
    sqlwarn: sqltext:
    oracaid:      oracabc: 0
    oracchf: 0 oradbgf: 0 orahchf: 0 orastxtf: 0 orastxtl: 0
    orastxtc:
    orasfnmc: oraslnr: 0 orasfnml: 0
    orahoc: 0 ormoc: 0 oracoc: 0
    oranor: 0 oranpr: 0 oranex: 0
    SHRD0015: glopcs failed:
    SHRD0033: Error Status: 0
    SHRD0103: Function warning number: -1
    Message was edited by: Colin
    ColinA
    Message was edited by:
    ColinA

    Hi Everyone,
    I've been able to resolve this problem by myself. If you care to know, the problem was with calendar validation. I didn't check the concurrent validation report before assigning the calendar to my SOB. I have now checked it and corrected the error. I can now open and close periods. Let me know if you need more info.
    Colin

  • Open/close periods menu

    I want to design a menu for one user who is responsible for open/close all ebs periods.
    I have 2 Set of Books means 2 periods for GL.
    I have 2 each operating units and inventory orgs means 4 each for purchasing/inventory/ap/ar
    I have designed menu but its not working.
    I have created a 4 menus with responsibilities assigned OU Wise from system profile option but its not working.
    Yours help required.

    I am not a functional expert, but several profile options (MO Operating Unit, GL Set of Books etc) will have to be set at the responsibility level for each responsibility in order for them to pick up the correct SOB. I believe this is documented in the GL Manuals at http://download.oracle.com/docs/cd/B25516_18/current/html/docset.html
    HTH
    Srini

  • Clarify these words:posting period varients & open & close posting period

    Hi Sap Gurus,
    Someone kindly make me clarify following words.Thank you.
    1.Posting period varient.
    2.Open & close posting periods
    3.Assign posting period varients to company code-What does it do after assignment?
    Best Regards,
    priya desai
    Financial Analysist

    Hi,
    It is very easy and understandble.
    1.Posting period varient.
    If you want to post any documents you need to enter some date right? That date would belongs to some posting period right?.
    for Example your Fin.period is JAN to DEC. Means 01 is for Jan, 12 is for DEC, 05 for May.
    So according to your requirement you have to create the variant and define what do you want.
    2.Open & close posting periods
    When you in operation and if you are posting a document in the month of Feb. the period Jan has been closed it will avoid the mistakes while posting to the different periods.
    3.Assign posting period varients to company code-What does it do after assignment?
    Once you have created your company code and your posting variant. You are assign to make the link to both the level.
    Warm Regards,
    Sivakumar Sathiyamoorty

  • How to open/close MM Periods automatically

    Hi all,
    The client I am working for wants to open/close the MM period automatically every month.
    I know there is a way to schedule a job when it is run every month and opens/closes the MM period automatically.
    Can someone give me a hand on this? Does anyone know how to set this up?
    Thanks and Regards,
    fb.

    Dear,
    Please refer sap notes: 487381 and 369637 throughly.
    MMPV can be run as background job.
    Regards,
    Syed Hussain.
    Edited by: Syed Hussain on Aug 24, 2009 2:50 PM

Maybe you are looking for

  • DVD burn error message

    I get this error message when I try to burn a data DVD: "Burning the disk failed because communication to the disk drive failed. (error code 0 x 80020022) I am attempting to use the original drive system (Pioneer DVD-RW DVR 104) and it plays CD's and

  • Cant find icloud on my computer

    hi, i cant find icloud on my macbook pro, the mac is only 10 months old so i think all software etc is upto date. any ideas/help would be much appreciated. thanx kar

  • Can't add release key C90

    Apologies in advance if this issue has been covered. Obtained release via email from TAC..uploaded and installed TCNC7.3.0.8cb420c Diagnostics reports missing release key, click "add valid release key" ...field for adding release key nowhere to be se

  • Available SAP System Problem

    Hi Guys, Just would like to ask if any of you knows why "Available SAP systems" dropdown in the SAP System Logon window isn't showing the typical SAP BW and SAP R3 options? Kind Regards and Many Thanks, Mark

  • Display RGB values

    Hello I am trying to display the RGB values of a color a user has chosen from a Hash Table, but I am confused and stuck on the syntax of using getRGB() method to display in a JTextArea method setText(). Just looking for a clue here is the line of cod