How do I programatically open a LabView Front panel?

I want to use a test stand variable (perhaps a sequence global) to control whether certain VIs open their front panels, and wait for subsequent operator interaction. Can I get there using the API and something like this:  "Step_TSInfoProp.TSInfo_StepAdditions.LVStep_ModulePathProp" ?
I tried passing a boolean to the VI and then having it optionally open its own front panel using the VI Server, but I could not see it because it would always be behind the TestStand Window.

Sean,  The reason for doing this is that the client wants a "debug level" control of some sort. If set below some value, the VIs just do their thing, take their measurements, report, or whatever and go on their way blindly as what we expect a good test sequence to do. However when this value is set above some level (the threshold may be different for various categories of tests) the VI becomes interactive. This would allow an operator to see a measured value, and possibly tinker with the instrument parameters or the UUT, before continuing on. This might be similar to a single step command, but not necessarily pausing at every step. Inside of the VI I can test the value of the variable (either passed in through the connector pane or via the sequence context) and thus decide whether to be interactive or silent. I can also use the VI server to open my front panel or not.  But in doing so, even though I try to make the VI panel frontmost, it is hidden by Teststand. If the VI attribute is "dialog" then it does show up on top of everything else, but unfortunately does so even when I don't tell it to open at all.
PC

Similar Messages

  • How do i display my labview front panel on a web-page and update it say eyery 5 seconds, I think i need Lookout?

    My front panel display updates every 20secs. I want to be able to view the Labview front panel on a web-page which updates itself continuously. Will Lookout do this?

    LabVIEW will do this with it's built in web server. Full control of a LabVIEW front panel is possilbe with version 6.1. Older versions have the ability to publish a panel with no control. What version do you have? Lookout is a completely different software package for HMI/SCADA applications and has no relationship to LabVIEW except that they're sold by the same company.

  • How can i update the spreadsheet in front panel

    Hi all,
    I need to update the datas read from excel sheet in labview front panel in same format( as a spreadsheet).  I placed the spreadsheet in front panel from activeX object. but i could not insert the data inside it. Because the read data from spread sheet is 2D string array but the spreadsheet in block diagram is refnum indicator. what should  i do to place the data in Spreadsheet in labview front panel.
    Thanks in advance. 

    http://forums.ni.com/ni/board/message?board.id=170&message.id=26319&requireLogin=False
    .......^___________________^
    ....../ '---_BOT ____________ ]
    ...../_==O;;;;;;;;_______.:/

  • How to copy the XY graph on labview front panel and insert into Excel using labview

    Hi all,
    The XY graph display on LV front panel after test. How can I copy this XY graph and insert into excel file?
    Thank you very much for your help.
    Khanh

    KPRO wrote:
    Hi,
    I refer to insert it into excel since report is in excel format, but if it's too hard to do so I can save it in another format.
    Either way, will labview support this? Anyway, thank you very much for your quick reply.
    Khanh
    You are already using the Report Generation Toolkit?  There is the "Append Control Image to Report.vi" that would make this easy.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to move NI hypertrend control around on Labview front panel

    Hi everyone,
    Please I would like to know if the NI hypertrend control from the DSC pallette can be draged across the front panel and how to do it.
    Once I put this control on the front panel, it just stays where I put it and would not allow me to move it around. 
    I will appreciate any suggestion on this.
    Thanks.
    Solved!
    Go to Solution.

    Left click above left of it> hold and drag a box around it. This selects it and you can drag it.This works for me.
    Using LabVIEW 2010SP1 and TestStand 4.5

  • Labview front panel

    dear sir,
          sir i did a program for serial communication in labview to communicate with the embedded system and it is working now...
    and my question???????
           i need to display message from embedded system in one window of the front panel and i need to display parameter (baud rate, start bit, stop bit,etc...)in another front panel ... and this parameter front panel window should open only when i click  button in the message front panel window when i require to change parameter..... can you explain how with some example

    Hi steps,
    Also you can try going through this link. Download the attachments(Main and sub vi) from the post and understand how to activate multiple front panels. You can do it by creating seperate vis with the required parameters and calling them as SubVIs. Also check how the values are passed between these vis through the connector pane terminals. 
    Regards,
    Nitzz
    (Give Kudos to good Answers and Mark it as a Solution if your problem is Solved) 

  • Open and Close Front Panel of SubVI

    Hi all,
    Running LabVIEW 2011 on Windows 7 x64.  I am trying to get a subVI front panel to open from my main FP with the press of a button and then close with a button press in the subVI.  Here is the piece from my main FP that calls the VI and opens the FP 
    Plots is defined in another loop and all of the loops are in a flat sequence.  I did it this way because I want it to start with the first press and not stop my main loop from running.  I have moved the item in the left loop around a lot so I'm not sure if I can run that in the same loop as the event or not.  Either way opening the VI seems to work fine.
    The problem shows up when trying to close the subVI for the SECOND time.  The code is here:
    As I said, the first time I open and close the VI everything works as I expect it should.  I am then able to open it again but now the "blank button" doesn't function and I can't close the window or even open the block diagram to probe anything.  I have been trying to figure this out for awhile, any insite would be greatly appreciated!
    Thanks
    Solved!
    Go to Solution.

    Its good that you found the bug.
    This code may serve as a way for you to compare notes.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Open VI's front panel

    Hi,
    See the included file 'Printing.bmp'.
    I am printing a VI's front panel, but before printing I want to open another VI's front panel that is showing the message 'Printing...'(P'ting). This VI's front panel should be closed after printing. But the front panel of P'ting.vi could not be drawn completely within the printing time. I just can see the borders of the VI. How can I solve this?
    greetings
    Davy
    Attachments:
    printing.bmp ‏247 KB

    Sorry I did not see the picture...
    I don't know what your CPU is like, but the time LV needs to send the printing commands is very small.
    When using a pause, use a sequence to be sure that the pause starts before the printing.
    Attachments:
    printer_Kopie.JPG ‏43 KB

  • Programmatically Open a Remote Front Panel with Panel Open Method

    Hi,
    I am trying to open the front panel of the VI on my cRIO-9024 through a remote computer. Currently, I am able to run the VI with no problems with the RUN VI method; however, when I try to open the front panel, I receive "Error 1043 - This property or method is not supported in this version of LabVIEW" or the Front Panel is simply not visible. My cRIO is configured to allow TCP/IP protocol, The VI is visible, and I have made my project into a source distribution on my cRIO.
    Any help or suggestions regarding this problem would be great. I am very new to LabVIEW.
    I have attached a screenshot of my block diagram and project.
    Thanks,
    Jake 
    Attachments:
    Block_Diagram.PNG ‏12 KB

    Project Img
    Attachments:
    MyProject.png ‏15 KB
    MyProject.png ‏15 KB

  • Enabling / Disabling graphs and opening a new Front Panel Window

    Hi,
      I have a simple application of showing 12 analog signals on 12 different graphs placed vertically in aligned position. I have to develop a user interface so that if user wants to display signal no. 1, 4 and 6 out of total 12 signals, he should make selection using check boxes and click a re-draw button. It should result in opening a separate window with these three signals displayed as separate graphs aligned vertically and adjusted to fit window size. Similarly later user can change his selection of displaying signals (from same acquired data) say 1, 3, 5, 6, 8, 9, 11 & 12 and click Redraw button. It should result in opening a new Window showing all these signals as separate graphs which are aligned vertically and resized to fit the window. Now I have two major issues in this context.
    1) I have been searching LabView help to locate a way to open a new window for this purpose but I failed to locate any way for it. As per my limited knowledge, it seems that we cannot have multiple "Front Panel" windows in Labview.
    2) For the graph I could not locate a control to enable/disable a graph so that it appears or vanishes. Is there any way to achieve it?
    I shall appreciate your valuable advice. I shifted from "Lab View Signal Express"  to "Lab View" in order to achieve this user interface design but I am still not successful in finding a good solution for this application.
    Regards
    Mnuet

    Hi Mnuet,
    You can do what was said above. Here is a KB on dynamically loading VIs. It looks something like this.
    Dynamically loaded VIs are loaded at the point in code while running, as opposed to being loaded when the parent VI is loaded into memory like normal subVIs. You can make a reference to them and then control the front panel appearance, their run status, etc with property nodes and invoke nodes.
    Jeff | LabVIEW Software Engineer

  • How to display PSA screen capture on Front Panel

    Any one know how to display screen capture of PSA series specturm analyzer on front panel. I can save the JPEG file in the C drive, but I can't display on the front pannel. Please see my labview code.
    Solved!
    Go to Solution.
    Attachments:
    Capture screen E4446A.vi ‏21 KB
    reading and writing binary number.vi ‏22 KB
    yumg.jpg ‏20 KB

    Do you actually need to save the front panel image?  Or do you want to save a graph of the signal (spectrum) that you acquired?  If the latter will do the trick, you can simply read the waveform over GPIB (or whichever means you control the analyzer) into an array that is plotted to a waveform graph in LabVIEW.  You then save the image of the waveform graph as an image.
    Since you have all the data, you can even save the data which can be viewed later (and not only by LabVIEW).

  • How to create one Help button on front panel of VI??

    Hello,
    I want to create one button for example one help button on front panel of VI so by pressing that any new user can open folder in which I have store some help guide.
    Means I have make one folder on my desktop in that I have save all the data which should be useful for new user so if some new user want to run the programm and if he has no idea that how to run program then he can simply press help button and after pressing that helping folder will be open then reading then instruction user can start the program.
    Hope you will get my point.
    Thank you very much.
    Solved!
    Go to Solution.

    The Help that aCe posted will not work if you intend for the help to be displayed immediately. Since it is queued it will not be processed until the run is complete if it is currently running. This also means that if the Pause button is pressed the help will be delayed for quite some time. Also, you should avoid the use of local variables to control state information. The state machine should maintain all of your state information. The producer should only detect the events and pass the messages to the consumer. What you are encountering is a classic issue with the producer/consumer with the consumer acting as a state machine. Interrupting the flow of states with new events of a higher priority can be problematic. Simply placing items in the front of the queue may not always work correctly. There are some examples of implementations that use multiple queues which can create prioritized messages.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How to programmatically load and show the front panel of a vi but NOT run it?

    Is there a way to load and show the front panel of a vi but NOT run it?  I am starting with the AsynchronousCallAndForget.vi from the example finder and inserted an invoke node with the FP Open method call prior to the Start Asynchronous Call node. The vi I am loading has the "Run when opened" unchecked and the menu bar IS visible so I can manually click the run arrow. Thanks!
    Solved!
    Go to Solution.

    Why are you using the Async call? If you simply open the VI reference, then call the FP.Open method this works fine. You can then call the VI run method with Wait Until Done set to false if you wish to run it Asynchronously, this is how we did it in ye olde days before we had this new fangled "Start Asynchronous Call" stuff. 
    Charles Chickering
    Architecture is art with rules.
    ...and the rules are more like guidelines

  • Example on how to use the NI "saving a front panel img to file" on a prog.

    New to the labview program - I'm trying to save the front panel of the displayed output to file. I downloaded "Panel_Image_to_File.zip" from the NI site. But I'm having problem using the code to our program so as to save the image as a jpeg.
    A simple example on how to use the code or any other code that will be able to save the front panel to a specified folder will be great.

    All you should need is an invoke node of VI class and the the method Get Panel Image. Wire the Image Data output to the Write JPEG File on the Graphics & Sound>Graphics Formats palette. The Invoke Node is on the application Control palette. When it's on the diagram, right click and select Class>VI Server>VI. Right click on it again and select Methods>Get Panel Image.
    Attachments:
    Save to jpg.jpg ‏10 KB

  • How to bring of subvis to the front panel of main vi?

    I am working on a simulaton project where a PID control toolkit is used to controla process .How can I access the controls of this PID controller when I execute the main VI ?

    I'm not sure I understand. The PID VIs I know run within your code on a loop basis. In every iteration of the loop they run using the values you input and output the proper values. So, to input values, you simply wire controls into them. Regardless of this, to open the front panel of a VI, you need to get a reference to that VI (using open VI reference) and wire that reference into a property node (both can be found in the Application Control palette).
    Select the Front Panel>>Open property, wire T into it and the FP will open. You can also set the VI to have its front panel open when called in File>>VI properties.
    Try to take over the world!

Maybe you are looking for

  • Aio remote can't find printer

    I have a HP Envy 4507. My AiO Remote app can't find it. This is not a compatibility issue as I have been selling 4507's which I demonstrate by connecting to them. I originally was able to connect on the one at home but not lately. I keep on seeing th

  • My HDX X18 HDD upgrade/ replacemen​t

    my HDX X18-1050EF hdd originally came with 2 250gb/ 5400 for a total of 500gb. Im about to upgrade the primary hdd to 250gb/7200 I don't need more space, but a slightly faster hdd. Not faster like an SSD. but i don't know if the computer will be able

  • Will all my music transfer from the mac to my macbook air? I don't want it to because there is too much and the air will not hold it.

    will all my music transfer from the mac to my macbook air? I don't want it to because there is too much and the air will not hold it.

  • How do I Export a Chart as an Image from Numbers?

    I am trying to export a chart from Numbers or Pages as a JPG. I have copied it to my clipboard and opened it in Preview but the image is very pixelated. Are there any other ways to do this? I'm trying to upload the image to a website. Additionally, h

  • Can I generate .hlp files

    We just upgraded to Frame 9 (from 7.1) and RoboHelp 8. Prior to the upgrade, I was using WebWorks to generate my .hlp files - is there a way to generate .hlp and .cnt files with RH8? Thanks in advance! Debby