Main VI and subvi indicator

Hi,
My sub-VI outputs 10 different things, 4 things at a time. It has a continue button that blinks when one set of output is finished, and the sub-VI will continue after the user clicks on this continue button. Right now I am writing a main VI that will control this sub-VI along with some other sub-VI. I have an input and output cluster in my main VI to send and receive info from the sub-VI. But I am having a problem with making this continue button works. In my output cluster in my Main VI, I have a continue button just like the one in my sub-VI. In my sub-VI, I have a "blink yet?" indicator to indicate when the program has finished taking a set of data. In my Main VI, I use get control value method to set the blinking property of
the Main VI's continue button. This button blinks fine, but when it blinks, I cannot click on it to change its value, does anyone know why or know of a better way to do this?
Thanks.

Hi,
It sounds like you almost want to use this continue button as both an indicator as well as control. Unfortunately, LabVIEW does not allow both. To work around your issue, use the continue button as an indicator and have it blink when the output of the subVI is finished. Then, use an event structure to take in when the user clicks on the button. When the continue button is pushed, then use a property node to then set the continue button to stop blinking.
The following tutorial should be useful:
Event-Driven Programming in LabVIEW
Also, I have attached an example program that demonstrates using the event structure in LabVIEW with a boolean.
Good luck!
Kileen C.
Applications Engineer
National Instruments
Attachments:
booleanvaluechanged.vi ‏13 KB

Similar Messages

  • Main vi and sub vi execution

    I am struggling a lot with my Main vi and Subvi execution problems a lot !
    I have a complicated system. To explain it, I create a simple main vi and 2 subvis. Please have a look at the attachment.
    It is working as expected. The boolean button in the main vi is active when the subvi-s are not running. But while the sub vis are running I can not access the boolean button. I understand why it is happening. The execution is stuck in the subvi and can not see any new input in the main vi.
    My question is how can I solve this?
    What I want is,
    1. When the subvi is running, I still want the boolean button in the main vi to behave in the same way as compared to when the subvi is not running.
    2. I should also be able to run the 2nd subvi when the 1st subvi is still running.
    Please help me out (I am using Labview 2010.)
    Solved!
    Go to Solution.
    Attachments:
    main.vi ‏12 KB
    sub.vi ‏14 KB
    sub2.vi ‏15 KB

    Oh sorry, I thought I saved them to LV2010 but I guess I accidentally recompiled them to latest version.. Attached VI's for 2010.
    Seems I cannot edit my previous post so forgive me for sending VI's twice and if any moderators happen to see this, feel free to remove the VI's in previous message..
    Attachments:
    main.vi ‏23 KB
    sub.vi ‏24 KB
    sub2.vi ‏25 KB

  • Main and subvi question

    Hi All,
    I was wondering if there is any difference between the two codes I have attached. They are simple codes, but, I would like to understand main and subvi better. I saw this type of coding in one of the examples.
    Notice the second example has a 'while' loop but the STOP=TRUE. This means that it runs only once everytime. But, why should you specifically have a while loop with a STOP=TRUE? How is it different from the first one? Is it just good programming? THanks!
    V
    I may not be perfect, but I'm all I got!
    Attachments:
    main_sub_1.JPG ‏41 KB
    main_sub_2.JPG ‏47 KB

    Also note that there is no delay in the main while loops. This will cause a high CPU usage for no good reason.
    Use a "Wait(ms)" or "Wait Until Next ms Multiple" function to give the CPU time for other tasks.
    steve 
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.

  • How to develp a subreport in the same page of the main report and processed when is called

    SSRS 2012
    Hi guys,
    I am developing a report that includes a subreport.
    therefore The report is made up by 2 sections:
    1) Show a grid (several rows - may be 100 or more - and some columns). It represent high level info  (Each row represent a specific item)
    2) The user click on a Row/column (eg: Item1, to see details that must be shown as graph.
    Here the problem: Searching info about SSRS reporting for subreports, drilldown, nested report and so on, no ones accomplish the requirements for the following reasons:
    1) Subreports: NOT open in the same page. The user must <go back> to see detail for other items, such as Item 2....
    2) Nested and DrillDown: Process data as the Main report (they are hidden and displayed after user action). In my case this leads to performance problem, because: if the main report has 200 objects (it means 200 graphs processed and hidden at the same time
    for the main reports).
    3) DrillThrough and Subreport: The detail data are processed only when the user select the interested item in the main report. Here the problem: the report is shown externally.
    Please, it there any possibility to have a subreport (or anything else) to be executed in the same report as the main report and processed only when the user make action?
    Thanks for your help.

    Hi Fasttrack2,
    According to your description, there is a main report with more than 100 rows of summary information, when users click the item of the row, the report need to jump to detail information shows as graph. The problem you are facing is that you are not sure
    subreport, drilldown or drillthrough report should be used? You hope to set display detail information in the main report and keep high performance of report.
    In Reporting Services, each subreport instance is a separate query execution and a separate report processing task. Subreports are recommended when there are just a few subreport instances. We should not use subreports inside a group when there are many
    group instances, instead, consider using drillthrough reports. Drilldown reports process all data even when the data is first hidden. In order to improve the performance of the report, we can split drilldown reports into parameterized drillthrough reports,
    because Drillthrough reports do not run until a user clicks the drillthrough link in the main report.
    In this case, we can consider using drilldown or drillthrough report. In drilldown report, when we click a plus or minus button to expand or collapse a section of a report, the detail data will be displayed in place. By using drillthrough report, when we
    click the link in the main report, the detail data will be displayed, we can come back to the main report by click return button in the drillthrough report.
    Reference:
    Troubleshooting Reports: Report Performance
    Drillthrough, Drilldown, Subreports, and Nested Data Regions
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Firefox has remberd a password to a website ... chessatwork and I get loged in to my main page and when I click on any link it takes me right back to my log in page, where it has it stored.... password and user name,,, whats up and how do I turn that off?

    Firefox has remberd a password to a website ... chessatwork and I get loged in to my main page and when I click on any link it takes me right back to my log in page, where it has it stored.... password and user name,,, whats up and how do I turn that off? chessatwork has ran great for me for many yrs, then one day I down loaded firefox and went to play chess on this site chessatwork.com, well the window popped up asking to remember the log in and pass word and so I said ok, and it did, but now when I click log in and I go to my main page (home) and click on any link, say to play game I return right back to log in

    See http://kb.mozillazine.org/Deleting_autocomplete_entries<br />
    Remove a saved password here: Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    You may also need to remove the cookies from that website.<br />
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • How can I set up Cinema Display as a main screen and leave my macbook pro as a second screen instead?

    How can I set up Cinema Display as a main screen and leave my macbook pro as a second screen instead?

    I learned that the Dock is positioned at the chosen edge of whatever Display is positioned farthest to that side.  E.g. for the Dock to be positioned on the right side of the Cinema Display (instead of the right side of the MacBook), the Cinema Display must be oriented (by dragging) to the right of the MacBook monitor on the "Arrangement" tab of the Displays Preference Panel.

  • How to show all view tab (Main Report and all Sub Report) in Visual FoxPro 9

    I use ActiveX from Crystal Report Developer XI for viewer in Visual FoxPro 9 and I already know how to show Main Report by using command:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the MyReport.rpt there is two subreport name :
    1. MySubReport1
    2. MySubReport2
    My Question is :
    How to show all view tab (Main Report and all Sub Report) at the 1st time we call ViewReport?
    I try to using command :
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub=oRptOpen.OpenSubreport("MySubReport1")
    oRptSub=oRptOpen.OpenSubreport("MySubReport2")
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    but only show Main Report (view tab name : Preview)?
    Did I miss any command before I call oRptView.ViewReport?

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • Is there a way to use different search engines on the main bar and on the small one without having to switch anything on the small one?

    I want to use google when I type to search in the main bar and wikipedia on the small search bar on the right. However, they both seem to use the same search engine, depending on which one I've chosen on the small search bar. I want them to use different ones without having to click and change engines. How can I do that?

    You can use a (one letter) keyword search on the location/address bar and assign a keyword via "Manage Search Engines".
    You can use the Keyword Search extension to specify which search engine to use for searching via the location/address bar.
    *https://addons.mozilla.org/firefox/addon/keyword-search/

  • I have several Outlook accounts and want to switch between them but Firefox defaults to the main one and won't let me access the others.

    Outlook now makes me sign out and sign back in to each of my email accounts. When I try to sign back in, it defaults to the main account and won't let me type in the other email addresses. This only happens in Firefox, both Google and IE leave the email address blank and let me type in the one I want to access. I'd rather use Firefox, but it doesn't let me type in a different email address. Can I fix this?

    This can be caused by corrupted cookies or cookies that are blocked (check the permissions on the about:permissions page).
    *https://support.mozilla.org/kb/fix-login-issues-on-websites-require-passwords
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox profile folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies

  • Is there a way to turn the wireless capabilities off on an AirPort Express?  I have an AirPort Extreme as my main router and use the express to just extend it. I only really want to you use the express for hard ethernet connections

    Is there a way to turn the wireless capabilities off on an AirPort Express?  I have an AirPort Extreme as my main router and use the express to just extend it. I only really want to you use the express for hard ethernet connections. For whatever reason when I have my express extend my wifi at home the download speed from just the express is absolutely terrible, drops to about 1.5 mb compared to when it's on the extremes part of the network the speed goes up to 50-75mb. These terrible download speed really only affects the iPhones as my MacBook Pro usually gets the good speed no matter where it is. I don't believe there is anything wrong with my phone because if I am in the part of the house that uses just the extreme the download speeds on the iphone goes up to 50-75mb. As a note I have an AirPort Extreme on the top floor of my house (second floor) that's where my modem is located. On the first floor that's where one airport express is located. I also have another airport express in the basement that is accessed by my landlord. Any thoughts on how to fix this would be helpful.

    Is there a way to turn the wireless capabilities off on an AirPort Express?  I have an AirPort Extreme as my main router and use the express to just extend it. I only really want to you use the express for hard ethernet connections.
    It appears that your networking goals with the AirPort Express is to use it as a wireless Ethernet bridge instead of using it to extend the wireless range of your AirPort Extreme. The latter requires that the Express Wi-Fi radios be enabled.
    If you intended to use the Express as a wireless bridge, you just need to reconfigure it to "Join a wireless" network instead of "Extend a wireless network."
    For whatever reason when I have my express extend my wifi at home the download speed from just the express is absolutely terrible, drops to about 1.5 mb compared to when it's on the extremes part of the network the speed goes up to 50-75mb.
    In an extended network, the placement of the extending base station is critical as it can only extend the wireless network at the bandwidth at which it receives it.
    Please check out the following AirPort User Tip for details on optimal base station placement.

  • How to show statistics of main item and related items with less filter?

    Hi experts,
    Have any of you come thro' similar requirements before?
    To show the statistics of a main item in different aspect in a document and show the comparison of this item in a particular aspect with other related items as inputted at prompt.
    You can image that, for the comparison, if I build another query for the related items, there will be duplicated dimensions, which we aim to avoid as duplicated dimension confuse end users.
    However, if i build the main items and related items in same query, for those reports of main item only, I need to add a report filter one by one!
    Any one of you have better idea?
    Thanks and Regards,
    Cherry

    You Should use Formatted Search in this case.
    You must create and associate a query for your field.
    click on the field you want items to be listed and press Shift + F2
    catch the keydown event of this field  and check pval.charpressed = 9 (tab key press)
    then execute
    SBO_Application.SendKeys("+")

  • How to populate the main table and the lookup's at the same time

    Hi ,
       What I have with me is the XML files which contain the data from the material master and the excel sheet which talks about the mapping . it basically tells me which field of the main table maps to which field of which segment in the IDOC and also the name of the table and the field in the R3 system .
    I wish to use this info to populate the data in the material repository .
    - How can I populate the data in the lookup table at the same time when I am populating the main table ? I have only the XML's that correspond to the main table . I don't have seperate data for the lookup tables .
    - Can I use the standard maps available for import in the business content of material repository in MDM ?
    - If the answer to the second question is NO then I think i can create the maps and save them for future use .
    Regards
    Deepak Singh

    Hi, Deepak
    >>> - How can I populate the data in the lookup table at the same time when I am populating the main table ? I have only the XML's that correspond to the main table . I don't have seperate data for the lookup tables .
    I don't think you can populate both main table and all fields of lookup tables at the same time, i.e. using same map. You can consider 2 options to upload all information you have:
    1) If your XML file contains data you would like to upload to lookup tables, you can upload it to MDM lookup tables with several maps using same XML and choosing different sections of that XML corresponding to different MDM lookup tables.
    2) Also you can upload main table simultaneously with lookup table entries (using same map), but in this case new lookup table entries will only contain display field values that you mapped. To do this you should use 'Add' value mapping functionality for fields that you mapped to lookup tables.
    >>>- Can I use the standard maps available for import in the business content of material repository in MDM ?
    1) In case you have material master repository delivered by SAP and you use XML files which structure corresponds to SAP predelivered XSD schemas then you can use these maps undoubtedly.
    2) If your repository is based on SAP predelivered, but you changed it ,you should adjust these maps due to differences in repository structure and  XML files structure.
    3) If you created your repository from scratch you should consider option of making your own import maps.
    Regards,
    Vadim Kalabin

  • I used utilities to source my 10.6 snow leopard install disc to my main hardrive, and now when I turn on my computer the apple with the spinning wheel stays on the screen and stuck like that. How do I fix it Help please. I already tried all the commands

    I used utilities to source my 10.6 snow leopard install disc to my main hardrive, and now when I turn on my computer the apple with the spinning wheel stays on the screen and stuck like that. How do I fix it Help please. I already tried all the commands such as Command R, Holding down the Option key, C and holding down shift at the start up but nothing happens.
    initialy All I was trying to do was downgrade 10.7 to 10.6 .

    You have to consider the possibility the hard drive may be dying.    If your data isn't backed up, try one of the tools below:
    https://discussions.apple.com/docs/DOC-1689
    Once you are sure your data is backed up, we can examine other possibilities.  In the meantime call AppleCare for your original installation DVDs.  You may need them.

  • No header, main area and footer in smartforms while creating table in 4.6c

    Hi Experts,
    Iam working in SAP 4.6c version and iam creating smartform for domestic invoice, in smartform i have created table but when expand the table its not giving the option of Header, Main Area and footer, can anyone explain how i can get the above details.. pls reply ASAP as its very important.
    Thanks in advance,
    Abhishek Pandey.

    Hi,
    I had faced a similar situation in 4.6c.
    As clearly stated, you get the Header and Footer from Events.
    The Window defined under Page, should have
    Main window checked in it's General Attributes
    I guess that should get hold of your problem.
    Cheers,
    Remi

  • Photoshop Elements 11 installed on Mac Mini OS X 10.9.5. Application running successfully on bot main user and administrative accounts for considerable time with no warning messages. When established a new user account on same computer and try to call up

    Photoshop Elements 11 installed on Mac Mini OS X 10.9.5. Application running successfully on bot main user and administrative accounts for considerable time with no warning messages. When established a new user account on same computer and try to call up elements receive message “Some ot the application components are missing from the Application directory. Please reinstall the application.” How do I correct this problem without disturbing application in main user account?

    Brooks lansing if you create a new Administrator account does the same issue occur?  If so then it is likely that there is a file permission failure and file permissions have been set for the existing Users instead of the groups they belong to.
    Have you removed and reinstalled Photoshop Elements 11?  This may reset the file permissions to the correct state to allow it to work under new accounts.

Maybe you are looking for