Change pages

Hi to all,
I'm developing a project which is made of many different pages (now there are 30 pages, but I'm planning to add some other);
I created a different VI for every page, and a Main VI to launch the correct page (see attached).
When I reload a page, I need to find the same situation there was when I left it (values of controls / indicators / ...)
Do you think is a good solution?
Or I'm completely wrong?
In this way all the vi's are loaded in memory at the beginning, and stay there forever; is it correct?
I read many posts about exchanging data between different VI (using globals / LV2 locals / shift reg / queues / ...),
and I tried to improve my project in this direction, but I haven't been able to find a general solution to "jump" (forward and backward) from a page to another.
It can be helpful also some links...
Thanks in advance
Using LV 6.1 on Win XP & Linux Fedora Core 3
Message Edited by vix on 09-30-2005 08:49 AM
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP Embedded
Attachments:
Project.zip ‏27 KB

Hi Vix
I think the idea is not bad. If you know you may add pages once in a while and you have a "big" amount of pages, why not. If you have 30 pages I think it's far too much for a tab-control.
To completly say a solution is good or bad I think is not possible. If it solves the problem, the main job is done. Each solution will have its advantages and disadvantages. So I'd say you can go this way. If you don't want to have your vis stay in memory, I think VI server could be helpful.
As you already said - to exchange data there are various ways. I would use globals, accessing them with separate vis to avoid race conditions. For me they are an easy going solution (although there are lots of users in the forums that blame global variables). I would say that you use what is most convenient for you.
But all this is my opinion. Maybe there are others.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...

Similar Messages

  • ORA-06502 on "Help Text" region when changing pages on a tabular form

    Hello everybody,
    We are developing an application on Apex 4.1.0.00.32. This application have some pages with tabular forms and these pages uses a page zero as template. In this page zero, we have added two sidebar regions: a list region to navigate on the application and a help text to describe how to use our application.
    The problem occurs when the tabular split the records into pages (since it has more records that it can show on a single page). When the user clicks to change to another page, Apex raises an ORA-06502: PL/SQL: numeric or value error as described below:
    Erro ao renderizar a região "Ajuda". ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    Informações Técnicas (visível somente para desenvolvedores)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: Ajuda
    error_backtrace:
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    Obs: Our database is in Brazilian Portuguese, so I guess it will be hard for some people to understand the first two lines! :)
    We have tried to change the pagination style of the tabular form and change the region model of the help text but the problem still happens.
    Does anyone an ideia about what this may be?
    Thanks in advance!

    I am getting the exact same message, to the line number, also in APEX 4.1.0.0.32.
    Occurs when changing pages in a classic report, Standard region template, select list pagination, when selecting a different pagination set.
    In English:
    Error during rendering of region "Matched Participants Help & Hints".
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: <strong>Matched Participants</strong> Help & Hints
    error_backtrace:
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    There are no conditions on the region, and no date string within the Help text. Some HTML <strong> tags, that's it.
    The Help region renders fine the first time.
    The Debug info does not help any:
    3.798360.00062Computation point: After Box Body4
    0
    3.798990.00081Processes - point: AFTER_BOX_BODY4
    0
    3.799790.00068Region: <strong>Matched Participants</strong> Help & Hints4
    0
    3.800470.00213Region rendered dynamically because request was not null4
    0
    3.802590.00096Add error onto error stack4
    0
    3.803550.00084...Error data:4
    0
    3.804400.00084......message: Error during rendering of region "<strong>Matched Participants</strong> Help & Hints".4
    0
    3.805240.00084......additional_info: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.806080.00081......display_location: ON_ERROR_PAGE4
    0
    3.806890.00081......is_internal_error: true4
    0
    3.807700.00084......apex_error_code: APEX.REGION.UNHANDLED_ERROR4
    0
    3.808540.00082......ora_sqlcode: -65024
    0
    3.809350.00234......ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.811700.00082......error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654 ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204 4
    0
    3.812510.00081......component.type: APEX_APPLICATION_PAGE_REGIONS4
    0
    3.813310.00110......component.id: 24
    0
    3.814420.00099......component.name: <strong>Matched Participants</strong> Help & Hints4
    0
    3.815400.00076...Show Error on Error Page4
    0
    3.816160.00344......Performing rollback4
    0
    3.819610.00225Processes - point: AFTER_ERROR_HEADER4
    0
    3.821850.00268Processes - point: BEFORE_ERROR_FOOTER4
    0
    3.82453-End Page Rendering
    Any thoughts on where to poke around for this one?
    Thanks - Karen

  • How do I change page order on a document created in Pages 5.1?

    After reading some of the posts about the lack of ability to change page order in Pages 5.1, I decided to re-install Pages 09 from the DVD that came with my computer because some posts said it was a better program. After inserting the disc and responding to all the prompts it seemed to download everything but I can't find Pages 09, I only seem to have 5.1.
    I will take a solution to either problem, but all I really want to do is change the order of 2 pages on a 9 page document created using 5.1.

    It is in your Applications/iWork folder.
    Make sure you update it to the latest v4.3:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=432&sid=f793ea2968cc 7f8ffa338ab5171d1d5d&mforum=iworktipsntrick
    Peter

  • Printing only changed pages

    In my department, we produce large technical manuals that are distributed to users around the world.  When small changes are made to the manuals, we only distribute the changed pages (including the back side of the changed page since the documents are printed double-sided).  Is there an automated way to only print the changed pages with the necessary back pages?

    Rick Quatro at http://www.frameexpert.com has a plugin that will print only changed pages; I don't see it listed on his website at the moment, but if you contact him he'll be able to give you more details.
    Rick's very, very familiar with the complications of dealing with changed pages in FM.

  • Mac OSX10.4.11 & Firefox3.6.19 - How do I make beeps stop on changing pages w/in a site?

    I'd been able to access the site (a part of the following site: http://www.govhs.org/) without beeps until yesterday. Unfortunately, it's a password-protected part of the site that I must deal with.
    Is there ANY chance you can tell me why my laptop started to beep when I change pages within that site? If not, can you confirm that THEY must have changed something?

    Oh, I didn't notice that it was another example of the most recurring question on Java GUI! Here's the idiom:
    private void runButtonActionPerformed(java.awt.event.ActionEvent evt) {
      final List<ResultLine> res;
      resultArea.setText("");
      cancelButton.setEnabled(true);
      if (targetField.getText().isEmpty()){
        targetField.setText("localhost");
      Thread t = new Thread(new Runnable(){
        public void run(){
          String str = "";
          res = TR.traceroute
           (targetField.getText(), Settings.hops, Settings.waitTime);
          if (res == null){
            str = "Error";
          else{
            StringBuilder s = new StringBuilder();
            for (ResultLine r : res){
              s.append(r.toString());
              s.append("\n");
            str = s.toString();
          SwingUtilities.invokeLater(new Runnable(){
            public void run(){
              resultArea.setText(str);
              cancelButton.setEnabled(false);
      t.start();
    }

  • Won't open new page when I click bookmark, instead changes pages EVEN THO PREFERENCES SET TO OPEN NEW PAGES

    Firefox keeps on changing pages, even yanking minimized pages back onto the screen and changing them, even though I have Firefox preferences set to always open new pages to accommodate links on a page or bookmarks.
    I don't want Firefox to tamper with any pages, period. If I have a pages minimized, no way should Firefox be yanking that page up back onto the screen because it's "too lazy" to open up a new page to accommodate a bookmark or link clicked on.
    It's extremely aggravating to click a link on a page, get a new page then, when I click the page to close it I find no page underneath, indicating that Firefox had changed the original page rather than open up a new page automatically to accommodate the link, etc.
    What's the point of me in Firefox preferences setting it up for Firefox to open up new pages automatically when afterwards it doesn't?

    Perhaps try the add-on Tab Mix Plus. It has a feature that you can force every link to open in a new tab if you like:
    * http://tmp.garyr.net/help/#Links (description of options - see "Force to open in new tab")
    * https://addons.mozilla.org/en-us/firefox/addon/tab-mix-plus/ (install page)
    I don't know whether it has any effect on bookmarks. You can open those in a new window by holding Shift or in a new tab by holding Ctrl when clicking.

  • Cannot change page size with acrobat

    I am able to convert my manuscript in Mac word(2011) to adobe acrobat (XI); unfortunately the 6 X 9 " page size does not convert. I spent a few hours on the phone with adobe support and the final resolution was to upload the file to them and they converted it for me. however, they used distiller which reduced the file size and appears to have affected the many images. Does anyone have any advice? The best I have been able to glean online is work with inDesign to change page size.

    Thanks.
    The problem was with the paper size. In addition to change the page size I needed to change the paper size in the print option before selecting save Adobe PDF.
    From Word go to File> Print
    Open the Copies & Pages dropdown
    Select Paper Handling
    Check the Scale to fit paper size box
    Open the Destination Paper Size list
    Select your custom 6x9 Preset
    Click the PDF button
    Select either Save as PDF or Save as Adobe PDF
    The unfortunate thing is that I was able to do this initially, but when I went back to replicate it adobe is creating 2 files one with my cover page and the rest to the manuscript. Luckily my initial copy was good. Thanks again for your help.

  • Change page size in Acrobat Pro 6.0

    Hello, I'm wondering if there's a way to change page sizes in Acrobat Pro 6.0 for Windows. We are receiving manuscripts which have been assembled from various documents. They're going to be printed at 8.5 x 11, but sometimes some of the pages are 7 x 10. Is there an automated way to change all the 7 x 10 pages to 8.5 x 11? We don't want to have to do each page individually because there are too many of them.
    Many thanks,
    Coral

    You could try printing to a new PDF with the PDF printer, setting the page size to 8.5 x 11 and setting the page scaling option to 'Fit to Printable Area'.  This will hopefully leave the existing 8.5 x 11 ones about the same size (it may shrink them slightly) and scale the other sizes.

  • How to change page order in Acrobat Porfolio?

    How to change page order in Acrobat Porfolio? In older versions it use to be much easier to drag and drop the page order. I don't see any menu options on arranging the pag order. Any ideas? Thanks.
    I would post a screenshot but they have been disabled on these forums.

    You should ask in the Reader forum. But my guess is that Reader there is nothing you can do. Acrobat allows you to move pages around, but not Reader.

  • Introduce left/top margin: Change Page Size ignored

    I have a vector drawing of a technical schematic in PDF.  The drawing is an extract of a much larger schematic, so it is very small: 2.2" by 1.648".  However, when I print it out, it is resized to fill up a Letter size paper (8.5" by 11") and the size is then perfect for viewing.  Also, the PDF has no white space around the edges, so the same PDF is perfect for importing into documentation packages.
    However, for hard copy printing, depending on the exact aspect ratio of the drawing, I will sometimes want to introduce white space along one edge for hole-punching purposes.  I am opening the PDF and printing it from Acrobat 8 Professional.  I cannot use Document->Cropping because I am trying to introduce a margin rather reduce an existing margin.  I tried using the Change Page Size controls in the cropping dialog panel.  Originally, it was set to Fixed Sizes and Page Sizes was set to None.  I selected Custom instead of Fixed Sizes, then I entered in the Width and Height in inches, with the Height being about 0.5" more than the original 1.648" (it's landscape, so the holes will be at the top).  However, the illustrative diagram does not change, and neither do the dimensions shown on it.  I click OK and the PDF as viewed did not change -- no white space.  When I go back into the Change Paper Size dialog, all the size data that I entered is gone and the control have reverted back to Fixed Size with a Page Size of None.  I explored the dropdown list for Page Sizes, and none of them are appropriate for such a small diagram.
    What I'm trying to achieve is a pretty simple effect, and I thought it would be straightforward.  It has to be *very* simple as I expect to do this regularly.  Is there actually a way?  Ideally, it doesn't involve calculating all sorts of bounding boxes and offsets.  Who knows what the assumed reference points for those are.  In fact, the most direct way would be to enter a negative Margin Controls in the Crop Margins region of the dialog.  That is not possible, of course.

    Actually, I found a way.  The reason why the page size was being ignored is because the numbers were too small.  If I enter a big enough number, it sticks.  It would be nice to get a message to that effect though.......sigh.
    I can then adjust the cropping margins to get the gutter.
    Thanks.

  • XI Pro: How to change page size?

    I have a letter-sized document where each page has extremely large margins and text in a tiny font size. Can I use the 'Remove White Margins' function (Crop pages > Set Page Boxes) to remove the large margins and then resize what remains back to 8.5" x11" using the 'Change Page Size' function?
    When I try this, I can do the first step and I'm left with pages about 5.5"x8". But the Change Page Size function does not allow me to resize the page.
    It this possible?

    Hi J Kart,
    Please refer the doc: https://acrobatusers.com/tutorials/how-to-resize-pages-in-a-pdf-file
    Regards,
    Rave

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • Changing page sized in 08

    sorry for cross posting this but not used to 06-08 boards, just updated.
    1. I tried changing page size in iWeb 1 but it didn't work. Does it work in 08?
    2. Can you change margins/fontsize in navigation bar?

    Old Toad wrote:
    Tony:
    If you click on the Nav bar you should get a box that can be expanded horizontally. I don't think you can change the font or font size of the nav bar. That's hard coded into the theme.
    Yes and no.
    Yes it is hardcoded.
    No, see this thread:
    http://discussions.apple.com/thread.jspa?threadID=1097348&tstart=0
    important note: do not try this with blog/podcast, unless someone gives a positive feedback on .mac blog/podcast commenting system (with post processing)

  • How to change page orientation in Pages?

    Hi,
    I would like to change page orientation for Just one page inside a document.
    Say I have page 3 that I want to be landscape and not vertical, how can I do it?
    I haven't been able to find this in Pages, I found it in Word though.
    Any idea?

    The rotation in Preview is just a simple command in the .pdf. It all seems to sort itself out in printing, Acrobat has the occasional odd moment where pages are rotated from their real orientation. It is like the "cropping" in .pdf files which really doesn't cut anything off it just changes the bounding box so what you see appears to be cropped.

  • Change Page orientation in script..?

    Hi All,
                  i need to change change page orientation from portrait to lanscape.In the Basic settings the prientation is in disable mode even the form is in change mode...How should i change the page orientation...
    Please help me to resolve this...,
    Ravi
    Edited by: Ravi Reddy on Aug 13, 2009 12:00 PM

    Hi Ravi,
    I could see that orientation in change mode, I suggest to show that to ur basis guy for change authorizations.
    May be you are displying the form in different langauge (non-original langauage)
    Sripal

  • Suddenly my Firefox app changed. When I am on Facebook it CONSTANTLY asks if I want to change pages, even if I am just browsing a picture album. And I have trouble comments or moving among pages. The Link buttons appear to be inactive.

    I get a grey box every time I click on anything in games or picture albums, or moving among applications, asking me if I want to change pages. I went to Tools/Options/and made sure I had the "warn me when sites want to redirect me" turned off, and "load pages automatically" checked. Also, the links for comment seem to be inactive. I click on links and nothing happens. It works fine on Explorer so I am thinking something about Firefox is wrong.

    This issue can be caused by one of the gadgets on the Facebook page. You will have to check that out by removing some of them.This issue can be caused by one of the gadgets on the Facebook page. You will have to check that out by removing each of them until you find the culprit. If you added one or updated one recently than start with those.

Maybe you are looking for