Controlling VI from inside the Sub-Panel

I have a prog which is used as the Main prog and has a sub-panel in it,whenever an event is occured iam popping up an VI,which should be inside the sub-panel,when i press the stop button which is inside the sub-panel,the vi should stop

And what is the problem....?;-)
Sub-Panels just show the front panel of the VI you choose to show. When the event that should show a certain VI fires just make your code so that it will run the VI in question...and then set the sub-panel to show that VI. In the VI you need a button and code that will make the VI run until the button is clicked.
That's it.
Now you may the VI or multiple VIs to run in parallell, or you may want to send a stop message to the main VI from the VI in the sub-panel when the button is hit...For the first problem, call the VIs using an invoke node and the wait until finished set to false. For the latter problem use e.g. a functional global, que, event, occurance or a notifier.
If there's a patricular part of this design that you h
ave a problem with, let us know. If you can upload example VIs we can edit to show the behaviour you need, include those.
Mads
MTO

Similar Messages

  • How to retrieve data from inside the folders in SharePoint SSRS

    Hi ,
    How to get the data from inside the folders and subfolders.
    How can I do that.
    https://social.msdn.microsoft.com/Forums/en-US/15451351-4ee2-428c-a0b7-135810e4cbfa/action?threadDisplayName=ssrs-reports-sharepoint-list-datasource-how-to-retrieve-items-from-subfolders
    Here the information is not given.
    Regards
    Vinod

    Hi Vinodaggarwal87,
    According to your description, you want to retrieve data from sharepoint list in a sub folder. Right?
    In this scenario, we should select the XML data source type and in the connection string provide the
    List.asmx service URL when creating data source. Then we need to use the List web Service and specify "recursive" for ViewAttribute in Lists.asmx. For detail steps, please refer to the links below:
    Generate SSRS report on SharePoint List with folders using List Service.
    SSRS: how to specify ViewAttributes when creating a report against a SharePoint's list
    If you want to set the ViewAttribute on CAML query level. You need add the view tag outside of query tag:
    <View Scope="RecursiveAll">
        <Query>
            <Where>...</Where>
        </Query>
    </View>
    Reference:
    View Element (List)
    ViewAttributes Recursive Scope not working SharePoint 2013 CAML Query to fetch all files from document library recursively
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Can I import HTMLs from inside the project and use as portlet page ?

    As you know, I am using Java Studio Creator 2 Update 1 for my current portal project. I have created JSR-168 JSF Portlet Project for my portlet development.
    As I have some html pages ready for my development,
    Can I import HTMLs from inside the project and use as portlet page for my project?
    I did the followings steps:
    1: In side the project - File -> Add Existing Item -> Web Page ( imported test.html page from my local folder)
    2: Let it convert some of the tags for me ( so now it becomes - �test.jsp� )
    3: Set it to initial view.
    4. A default portlet page � newPortletPage.jsp is still there with no initial view.
    Now after doing this, No Visual Designer and Properties window available to for that �test.jsp� page. Though it allowed me to �build� the project successfully.
    When I build and run the portlet application, got the error message �Error occurred in portlet!� on Pluto Portal. Please advice.

    You do not open fcpproject files. You don't double click or anything else. The files have to be in the correct folder structure in the Final Cut Projects folder and the application opens them automatically. Can you post screen shots of the Final Cut Projects folder and its location.

  • Targeting the EdgeID object from inside the animation

    I've been working on an animation that displays content pulled in from json files.  The height of the content pulled in is determined and then the Stage height is adjusted to fit the total content. This works well by itself. See http://www.jomariworks.com/edge-json (Only west coast links are live. Project files http://www.jomariworks.com/edge-json/edge-json.zip)
    Now I'm embedding the animation in a page using the oam insert feature, which creates an object with a fixed size.  When the animation adjusts the stage height, the object window size does not change. When the content is longer than the object window, the content scrolls.
    Is there a way I can target the height of the object (id is EdgeID) during the execution of the animation?
    The live version of this can be viewed at  http://reconnectingamerica.org/spacerace/index.php.  The project files at http://www.jomariworks.com/edge-json/edge-json.zip are the same as far as functionality goes.
    Thanks in advance for any help.

    After being unable to discover how to target the height of the object containing the embedded edge animation, I have gone back to having the entire page part of the animation file.
    The final web page is online at http://reconnectingamerica.org/spacerace
    There are big disadvantages of this:
    The full web page has more than 7000 lines of HTML.  Making changes in Edge Animate is a VERY slow process.
    Edge Animate corrupts the HTML in the file. This file contains complex TABLEs.  After making changes in Edge Animate and saving those changes, the TABLE headers are all corrupted (e.g. closing THEAD tags are moved above the head content and several closing TR tags are relocated. For the record, I checked.and the original HTML is syntactically valid.).  To deal with this I removed the tables when editing in Edge Animate and after making changes and publishing the Edge Animate version of the HTML I restored the tables.
    Working separately on the animation and then embedding is clearly the better workflow in this situation. Unfortunately, I needed to be able to resize the embedded animation's object container in the same way I was able to adjust the Stage from inside the animation.  Not being a jQuery wizard I couldn't figure out how to target the height of the animation's parent container.  Still interested in finding out how to do that if anyone can help.
    Message was edited by: jomariworks

  • I have the 4th generation iPod touch and my friend changed the iPod passcode and she cant remember it. Im on the iPod, Im not locked out. Im wondering if there is a way to change the passcode from inside the ipod settings or something?

    My friend cant remember the password. Can I change it from inside the iPod settings or something?

    Your friend could only have changed it if they had your original passcode - you have to be able to enter the current passcode to change it to a new one.  Once you restore it now, I would then change it and NOT give it out to people.
    P.S. if you have a backup from when it still had your passcode on it, just restore from that backup and it should set the passcode back to what you had.
    Without that backup, you will have to restore as new, and set everything up again from scratch.

  • How to copy/access a string from inside the driver

    is there any equivalent to strncpy() to use inside
    the driver for copying user sent data to local buffer .
    i used I_STRioctl and assigned struct to strioctl.ic_dp
    as shown below..
    char * buf;
    struct user-data
    int minor;
    char* data;
    struct user_data u_data;
    buf="hello world"
    u_data.minor=0;
    u_data.data=buf;
    strioctl.ic_dp=&u_data;
    strioctl.ic_len=sizeof(struct user_data);
    ioctl(fd,I_STR,&strioctl);
    when i tried to copy/access the string sent by the user application from inside the driver, machine gets into
    booting ...
    here what i did was
    in wput routine
    struct user_data *u_data;    
    u_data =(struct user_data*)mp->b_cont->b_rptr;      
    cmn_err(CE_NOTE,"minor= %d",u_data->minor);
    till here working well..
    where as..
    cmn_err(CE_NOTE,"data= %s",u_data->data);
    causing panic to the system...booting happens.
    please help me out ..
    thank u all
    ss vasu

    looks like the data pointed to by 'data' is not copied from user space to kernel space.
    u_data.data=buf, just makes pointer assignment, does not copy data pointed to by buf.
    two solutions:
    1. Declare data as a array(char data[10] or something
    2. Copy buf after the structure and point data to it. strioctl.ic_len should be set to sizeof(struct) +
    data size.
    -Vijay
    is there any equivalent to strncpy() to use inside
    the driver for copying user sent data to local buffer
    i used I_STRioctl and assigned struct to
    strioctl.ic_dp
    as shown below..
    char * buf;
    struct user-data
    int minor;
    char* data;
    struct user_data u_data;
    buf="hello world"
    u_data.minor=0;
    u_data.data=buf;
    strioctl.ic_dp=&u_data;
    strioctl.ic_len=sizeof(struct user_data);
    ioctl(fd,I_STR,&strioctl);
    when i tried to copy/access the string sent by the
    user application from inside the driver, machine gets
    into
    booting ...
    here what i did was
    in wput routine
    struct user_data *u_data;
    u_data =(struct user_data*)mp->b_cont->b_rptr;
    r;
    cmn_err(CE_NOTE,"minor= %d",u_data->minor);
    till here working well..
    where as..
    cmn_err(CE_NOTE,"data= %s",u_data->data);
    causing panic to the system...booting happens.
    please help me out ..
    thank u all
    ss vasu

  • Editing track order FROM INSIDE the iPhone

    Is it possible to edit the tags on the tracks from inside the actual phone? I don't have access to iTunes right now, and an album I'm listening to is horribly out of order. Is there any way to get it to play in the proper order by just using the resources on the actual phone?

    The only way I know of is to use the on the go playlist feature (covered on page 66 of the manual):
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • Execute binary from inside the app?

    Hello! I'm working on a Mac App that on the push of a button, will execute a binary file from inside the .app file. But I don't know where to place the binary so i can access it, and how to execute it.
    Thanks,
    Andrei

    Hello,
         We are able to use the Java Gui directly from the mac without any problems.
    We are recieving the following error from the Mac Console when we execute the Iview from with the portal.
    5/1/08 1:17:35 PM [0x0-0x5d05d].org.mozilla.firefox[656] ### MRJPlugin:  getPluginBundle() here. ###
    5/1/08 1:17:35 PM [0x0-0x5d05d].org.mozilla.firefox[656] ### MRJPlugin:  CFBundleGetBundleWithIdentifier() succeeded. ###
    5/1/08 1:17:35 PM [0x0-0x5d05d].org.mozilla.firefox[656] ### MRJPlugin:  CFURLGetFSRef() succeeded. ###
    5/1/08 1:17:35 PM [0x0-0x5d05d].org.mozilla.firefox[656] _NSJVMLoadLibrary: NSAddLibrary failed for /System/Library/Frameworks/JavaVM.framework/Versions/(null)/Libraries/libjvm.dylib
    5/1/08 1:17:35 PM [0x0-0x5d05d].org.mozilla.firefox[656] JavaVM FATAL: Failed to load the jvm library.
    Were the (null) is located in the error log above we presently have version 1.4.1, 1.4.2, 1.5.0, 1.6.0.   So it looks as if it isn't getting the version of java from the Transaction_configuration file that it should be pointed to.
    Any suggestions.

  • How can a PowerPoint presentation be shown inside the front panel of a given application ?

    I´m developing a application and I thought it would be a great idea if I could somehow show a PowerPoint presentation inside its front panel. Can it be done using LabVIEW active x vis or can´t it be done at all ?
    Thanks in advance !!

    Like I said, I tried that option (and even got it work somehow, by connecting nodes from other places and using type casts), but I don't think it can manage that in a real app.
    After thinking about this some more, I've come to an unlikable conclusion - it's possible that there is no AX control for PP. Not for animation, anyway. If I remember correctly, when you open a PP presentation in Internet Explorer, you see the slides, but not the animation. If an AX control would exist, I'm sure IE would use it, which is why I think there probably isn't one.
    You can get a presentation into an AX container very easily by choosing the third option (open from file). Then, if you select a PP presentation, it will open in the container. However, if I remember correctly, you have no properties and methods to control it, and I don't think it will show the animation, so it's a bit useless.
    Maybe someone does know of a way...
    Try to take over the world!

  • How to find VI's connected terminals when controls are hidden on the front panel?

    When working with a sub-VI which has terminals connected to hidden controls is there a straight-forward way to find the terminals on the block diagram?
    I click on the terminal and an outline appears on the front panel but when I try to click on that outline I can not unhide the control. 
    The only way I have discovered to find the terminal of the connected control is just check each terminal on the block diagram which looks like it might be connected.
    I'm using LV7.1 but also use 8.5.
    Thanks,
    Davey

    Ben wrote:
    smercurio_fc wrote:
    If I understood the premise of the question it sounds like you have controls/indicators wired to the VI connector pane, but for some reason these controls/indicators are hidden. If this is a VI you wrote slap yourself. If this is a VI someone else wrote, go slap them.
    One way that you can find the terminals on the block diagram by performing a search by text. The context help will show you the names of the controls/indicators. The only problem with this approach is that if the control/indicator has the caption visible rather than the label, then the context help will show the caption, not the label.
    Another method is to use scripting. Not sure if it's worth the effort for just one VI, though.
    Before we get all slap-happy I have to ask...
    If I have a sub-VI which is set for Print on completion and the controls in/out for the icon connector are NOT supposed to show up on the final report, isn't setting those objects as hidden a viable option?
    Ben
    Well, of course, Ben. My comment was not meant to be taken seriously... hence the smiley happy icon. To respond to your question in a more serious matter, though, there's always exceptions to rules. That's why they're rules - they're meant to be broken. Otherwise they wouldn't be rules. It's a strange state of the universe, isn't it? Although, one could probably just place the control behind another object. That sort of hides it, doesn't it?

  • How do you control LED lights on the front panel to identify the number of steps a stepper motor has taken?

    I am controlling a stepper motor that is coupled with a valve with four outlets (using an Arduino).  I've got a general understanding of how to control the motor, but I want LED lights on the front panel to light up that indicate which outlet the valve is currently at after the steps are taken.  The method I'm thinking about involves a lot of repetitive code.  I'm not that experienced with LabVIEW, I'm assuming I need some sort of loop structure but I don't know how to set it up in order to control the sequence of the LEDs.  I've attached my current block diagram for a visual aid if needed.
    Attachments:
    Capture.JPG ‏33 KB

    I was thinking about using the Stepper To Go and Stepper Write functions four separate times, using the same constants for the steps each time since the distance between each outlet is equivalent.  The only difference would be what's connected to the "steps remaining" node, which would be the function that activates one of the four LEDs (if that makes sense).  I was thinking that doing it this way would be a little counterintuitive since the only thing that needs to be changed is the LED indicator.

  • Stop the cursor from leaving the frame/panel?

    Im making a simple target game where you shoot targets with the mouse. What I'd like to do is stop the mouse cursor from leaving the panel/frame. I've tried moving the cursor there with the Robot class, but 1) it doesnt lock it directly to the edge, 2) it doesnt stop at the top edge and left edge, 3) the bottom edge results in the cursor being placed in the wrong place and finally, 4) if u move the cursor fast enough it breaks out anyway :(
    Hope someone can help,
    Thanx.

    Wow nice responses. I have two questions:
    1) What is native code?Write the code to capture the mouse in C/C++ (Windows supports capturing the mouse cursor - dunno about linux or solaris), then write a JNI wrapper function so you can call it from within Java.
    >
    2) Is it difficult to make it full screen? I was
    thinking of doing that but the thought of rescaling
    everything (i.e. fonts, images etc) made me think
    otherwise.Fullscreen is easy, simply graphicsDevice.setFullscreenWindow(window);
    Once in fullscreen, you can change the resolution to whatever you like (limited to what is supported by the gfx card ofcourse :p), so you shouldn't have to worry about rescaling gfx 2much.
    >
    Thanx,
    Jon

  • Ordered an something from inside the store. Can I track it?

    Hi there, I ordered something inside the best buy store since they didnt have it instock and having it sent to the store to be picked up by me later this week would be an option (its a video game if it matters) and I was wondering if theres anyway to track it? the order tracking option on bestbuy.com I think is only for online orders, since the order number I have doesnt fit the format

    Hi dannycanavan,
    While the item you wanted wasn’t in stock at our store, it’s great to see you were able to take advantage of our Ship to Store fulfillment option to acquire it! I’ve personally gone this route to purchase some games from Best Buy that I wasn’t able to find in store, and it worked swimmingly.
    While we are often able to locate and provide tracking information for Ship to Store purchases, we highly encourage you to await the confirmation email or phone call letting you know the item is ready to be picked up. This will help ensure a quick and easy visit when you come in to pick up your purchase. With that said, I’ll be sending you a private message shortly regarding the status of your order.
    To check your private messages, make sure you’re logged into your forum account and click the small envelope on the top right of the screen.
    Thanks!
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Can't access TextInput's text from inside the parent class

    Hi
    i have a really strange problem here:
    When I add a TextInput to the stage I can access it with instanceName.text. this works.
    Now I have one Movieclip with one TextInput inside (the textinput's instance name is testetxt). This MovieClip has a corresponding class and its code is the following:
    class com.sck.testeT extends MovieClip
         public var testetxt:MovieClip;
         public function testeT()
              testetxt._alpha=50;
              testetxt.text="test";
    The textinput gets transparent but the text isn't changed... I realized it was because the textinput wasn't initialized yet. so I have to wait a while, but how can I know that it was initialized and I can set the initial text by code?
    thanks a lot!

    the usual work-around is to start an onEnterFrame loop that you terminate after one loop and after that one loop everything created in that first frame is initialized.

  • How come a locked decoration doesn't show up in the VI.Panel.Decorations[ ] property but a locked control shows up in the VI.Panel.Controls[ ] property?

    This seems like an oversight. Granted, I shouldn't be able to write to size and position properties of a locked decoration, but I would really like to read this information.
    -Jim

    Patient: Help me, doctor. It hurts when I do 'this'
    Doctor: Don't do that
    OK, but seriously, Regarding workaround No. 2. I tried to use the VI.Panel.AllObjects[] property but the refnum of all decorations are invalid and I get Error 1055 (Object reference is invalid) when I try to operate on it. I am running LV 6.0.2. Attached is an example with the values after running it on my PC saved as defaults.
    -Jim
    Attachments:
    Error_1055.vi ‏26 KB

Maybe you are looking for

  • Trouble with PDF files in CS5

    I'm trying to cover up text that i don't want to be seen in a public audience with a white box inside of Indesign. Low and behold, when i make the pdf you can still copy the text that has been covered up. Any ideas what would cause this? The original

  • Only one Mac can connect

    Cheers, my girl friend got a iMac running 10.5.4, I have a MacBook running 10.4.11. We got our ADSL connection now running, and use a ZyXEL Prestige Router to connect to the internet. The problem is that only ONE Mac can connect, which is a no-go as

  • Anyone successfully install a epson artisan 810?

    greetings all, has anyone successfully install a epson artisan 810 on a macpro 3.1 with Leopard (10.5.8) on it or any mac with 10.5.8?  I have tried numerous ways after reading others posts all over.  I just ordered a wifi card to see if that would g

  • Does setQueryTimeout still spawn a thread with Microsoft JDBC Driver 4.0?

    Hi, Does setQueryTimeout still spawn a thread with Microsoft JDBC Driver 4.0? This link here indicates this was fixed awhile ago: http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx However, we are using Microsoft JDBC Driver 4.0 but are noticing

  • 11n alternatives for a mediacenter Mini

    I'm about to purchase a Mac Mini to be the media server in our home, using frontrow and a Elgato 250+ as the TV stick. We've got a wired 100 Mbits connection in our building which right now is going to my old Airport Express (11g) which distributes t