Present a dialog screen to the user that always stays open and gets updated with values from teststand.

Hello,
I'm new to TestStand and just created my first sequences with TS and LV.
The program is running fine but now I need to implemented a dialog screen with some progress results for the user.
This dialog screen must stay open (unless closed by the user) and gets refreshed with the latest analysis results from TestStand.
Is there an example of something like that. (starting from a working example is always easier)
So I need a mechanism to give some results from TestStand to a custom made dialog screen in LabVIEW.
Any thoughts/examples/recommandations ???
Thanks!

Hi noxus,
The basic design you are looking for is a daemon, This is basically a VI that runs in the background (your dialog VI for example). This VI is launched dynamicly when needed. And there should be a way of detecting if the deamon is running.
You can use various ways of communicating between VI's. The two most use full I find either Queues or TCP. The added bonus for TCP is that it also works over the Network, but could also be slower and blocked by Firewalls. Queues only work within the LabVIEW Process running on the Local machine and provide a nice way of detecting if the daemon VI is running.
Attached a example that show how you can implement something like this. The 'sent new value.vi' obtains a queue reference, we check if it has created a new queue or if it returned an existing queue reference. If the obtain queue created a new queue this means the daemon is not running and we launch the deamon.vi.
The daemon also connects to the same queue and maintains the reference. If the deamon is closed the referenced is closed as well and the queue is destroyed.
You can run the example VI. (in LabVIEW 8.2).
Hope this helps.
Thanks
Karsten 
Attachments:
Daemon.zip ‏35 KB

Similar Messages

  • I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
    -Kevin P.
    Message Edited by Kevin Price on 12-01-2006 02:42 PM
    Attachments:
    Binning example.vi ‏51 KB
    Binning example.png ‏12 KB

  • The report l runs very night and gets ended with error

    Dear all,
    I am facing a problem in solution manger. There is an report (Program/Command  RDSMOPSOL_MONIREFRESH ) will runs very night and get ended with error and there is Run-time error "MESSAGE_TYPE_X".
    Please suggest how to solve the problem.
    Is this report is necessary   for the system because it is not mention in the sap stand jobs.
    SM37 log
    Job started
    Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
    Opening and closing session started. Session SM2000000000065
    Opening and closing the session was successful. Session: SM2000000000065
    Opening and closing session started. Session SM2000000000005
    ABAP/4 processor: MESSAGE_TYPE_X
    Job cancelled
    SM:CSA SESSION REFRESH
    No. Program/Command       Prog. type Spool list Parameter      User  Lang.
    1  RDSMOPSOL_MONIREFRESH ABAP                  &0000000000876 BASIS EN
    Sm21 log
    00:00:50 DIA 00 000 SAPSYS            EEA OPERATION MODES: Switch to operation mode Normal triggered
    00:30:57 BTC 08 200 BASIS             R68 Perform rollback
    00:30:57 BTC 08 200 BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    00:30:57 BTC 08 200 BASIS             AB1 > Short dump "081112 003057 sapsm BASIS " generated
    00:30:57 BTC 08 200 BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
    00:30:57 BTC 08 200 BASIS             R68 Perform rollback
    00:30:57 BTC 08 200 BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    Details
    Recording at local and central time........................ 12.11.2008 00:30:57
    Task................ 05312 . 08 B8 BTC background processor No. 08
    User................ BASIS
    Client.............. 200
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... T    Transaction Problem
    Development class... SABP
    Further details for this message type
    Module name......... abdynpro
    Line................ 1133
    Error text.......... ab_jmess
    Documentation for system log message AB 0 :
    The specified runtime error has occurred in the system.
    Parameter
      a.. MESSAGE_TYPE_X
    Technical details
    File................ 000048
    Position............ 0000253620
    Entry type.......... l      ( Error (Module, Row)            )
    Message ID.......... AB 0
    Variable parts...... ab_jmess                                            abdynpro1133
    Time     Ty. Nr Cl. User         Tcod MNo Text                                                                    Date : 12.11.08
    00:30:57 BTC 08 200 BASIS             AB1 > Short dump "081112 003057 sapsm BASIS " generated
    etails
    ecording at local and central time........................ 12.11.2008 00:30:57
    ask................ 05312 . 08 B8 BTC background processor No. 08
    ser................ BASIS
    lient.............. 200
    erminal............
    ession............. 1
    ransaction code....
    rogram name........
    roblem class....... K    SAP Web AS Problem
    evelopment class... SABP
    BAP Mini dump
    ate................ 20081112
    ime................ 003057
    ost................ sapsm
    ser................ BASIS
    ocumentation for system log message AB 1 :
    A short dump was generated for the specified program termination.
    You can analyze this short dump in the system log evaluation by
    selecting this line or evaluating Table SNAP (Transaction ST22).
    echnical details
    ile................ 000048
    osition............ 0000253800
    ntry type.......... s      ( ABAP Runtime Error             )
    essage ID.......... AB 1
    ariable parts...... 081112003057sapsm   BASIS
    Time     Ty. Nr Cl. User         Tcod MNo Text                                                                    Date : 12.11.08
    00:30:57 BTC 08 200 BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
    Details
    Recording at local and central time........................ 12.11.2008 00:30:57
    Task................ 05312 . 08 B8 BTC background processor No. 08
    User................ BASIS
    Client.............. 200
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... K    SAP Web AS Problem
    Development class... SDYN
    Module name.........
    Location............
    T100................ 00                  671
    Parameters..........
    Documentation for system log message D0 1 :
    The transaction has been terminated.  This may be caused by a
    termination message from the application (MESSAGE Axxx) or by an
    error detected by the SAP System due to which it makes no sense to
    proceed with the transaction.  The actual reason for the termination
    is indicated by the T100 message and the parameters.
    Additional documentation for message 00                  671
    ABAP/4 processor: &
    No documentation exists for message 00671
    Parameter
      a.. MESSAGE_TYPE_X
    00:30:57 BTC 08 200 BASIS             R68 Perform rollback
    Details
    Recording at local and central time........................ 12.11.2008 00:30:57
    Task................ 05312 . 08 B8 BTC background processor No. 08
    User................ BASIS
    Client.............. 200
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... W    Warning
    Development class... STSK
    Further details for this message type
    Module name......... thxxhead
    Line................ 1240
    Error text..........
    Caller.............. ThIRoll
    Reason/called....... roll ba
    Documentation for system log message R6 8 :
    An error has causes an SAP rollback.  All database updates are reset.
    Technical details
    File................ 000048
    Position............ 0000254520
    Entry type.......... m      ( Error (Function,Module,Row)    )
    Message ID.......... R6 8
    Variable parts......                                       ThIRollroll bathxxhead1240
    Regards,
    Shiva

    Hi karteek,
    I have check there is Switch of operation mode but when I have checked the t-code sm63 there is no new mode are in normal mode.
    There is  one thing I want to ask dose this report (Program/Command RDSMOPSOL_MONIREFRESH )  run   in your system or any one server because I have think there is some problem in job shued
    and is also not mention in the sap stand jobs.
    there is an error in sm21 in job.
    BASIS        SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:
    BASIS        SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was specified
    Is this SM37 log
    Job started
    Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
    Opening and closing session started. Session SM2000000000065
    Opening and closing the session was successful. Session: SM2000000000065
    Opening and closing session started. Session SM2000000000005
    ABAP/4 processor: MESSAGE_TYPE_X
    Job cancelled
    Sm21 log
    SAPSYS            EEA OPERATION MODES: Switch to operation mode Normal triggered
    BASIS             R68 Perform rollback
    BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    BASIS             AB1 > Short dump "081111 003056 sapsm BASIS " generated
    BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111003056sapsm BASIS 2001 )
    BASIS             R68 Perform rollback
    BASIS             R49 Communication error, CPIC return code 017, SAP return code 223
    BASIS             R64 > CPI-C function: CMINIT(SAP)
    *BASIS        SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:*
    *BASIS        SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was*
    specified
    BASIS             R68 Perform rollback
    BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    BASIS             AB1 > Short dump "081111 220948 sapsm BASIS " generated
    BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111220948sapsm BASIS 2001 )
    Details Page 2 Line 6 System Log: Local Analysis of sapsm                     1
    Time     Ty. Nr Cl. User         Tcod MNo Text
    00:00:51 DIA 00 000 SAPSYS            EEA OPERATION MODES: Switch to operation mode Normal triggered
    Details
    Recording at local and central time........................ 13.11.2008 00:00:51
    Task................ 04100 . 00 D0 Dialog work process No. 00
    User................ SAPSYS
    Client.............. 000
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... S    Operation Trace
    Development class... SBTC
    Sm63
      Start/end time   Name of the active operation mode
       00.00 - 01.00    Normal
       01.00 - 02.00    Normal
       02.00 - 03.00    Normal
       03.00 - 04.00    Normal
       04.00 - 05.00    Normal
       05.00 - 06.00    Normal
       06.00 - 07.00    Normal
       07.00 - 08.00    Normal
       08.00 - 09.00    Normal
       09.00 - 10.00    Normal
       10.00 - 11.00    Normal
       11.00 - 12.00    Normal
       12.00 - 13.00    Normal
       13.00 - 14.00    Normal
       14.00 - 15.00    Normal
       15.00 - 16.00    Normal
       16.00 - 17.00    Normal
       17.00 - 18.00    Normal
       18.00 - 19.00    Normal
       19.00 - 20.00    Normal
       20.00 - 21.00    Normal
       21.00 - 22.00    Normal
       22.00 - 23.00    Normal
       23.00 - 00.00    Normal
    Regards,

  • How much will it cost me to replace the whole top screen of my macbook, including the part that pivots to open and close it?

    I'm not sure of what it's exactly called, but my whole screen (including the black part that attaches the screen to the keyboard) is in bad condition. My screen is cracked, and when I open my macbook, the hinge is loose and flops and does not stay in place. Does anybody know how much it would cost for a replacement? Would I be better off buying a new laptop?
    Thanks

    This is an international community.  Prices vary from country, state, city, etc. 
    You should call the repair shop of your choice and ask for an estimate.  Make sure the estimate includes taxes, labor costs, etc.
    Remember, no one can give you an exact figure until the repair techs physically examine & run diagnostics on your computer to confirm what is wrong w/it.

  • Report Builder Wizard and Parameter Creation with values from other data source e.g. data set or views for non-IT users or Business Analysts

    Hi,
    "Report Builder is a report authoring environment for business users who prefer to work in the Microsoft Office environment.
    You work with one report at a time. You can modify a published report directly from a report server. You can quickly build a report by adding items from the Report Part Gallery provided by report designers from your organization." - As mentioned
    on TechNet. 
    I wonder how a non-technical business analyst can use Report Builder 3 to create ad-hoc reports/analysis with list of parameters based on other data sets.
    Do they need to learn TSQL or how to add and link parameter in Report Builder? then How they can add parameter into a report. Not sure what i am missing from whole idea behind Report builder then?
    I have SQL Server 2012 STD and Report Builder 3.0  and want to train non-technical users to create reports as per their need without asking to IT department.
    Everything seems simple and working except parameters with list of values e.g. Sales year List, Sales Month List, Gender etc. etc.
    So how they can configure parameters based on Other data sets?
    Workaround in my mind is to create a report with most of columns and add most frequent parameters based on other data sets and then non-technical user modify that report according to their needs but that way its still restricting users to
    a set of defined reports?
    I want functionality like "Excel Power view parameters" into report builder which is driven from source data and which is only available Excel 2013 onward which most of people don't have yet.
    So how to use Report Builder. Any other thoughts or workaround or guide me the purpose of Report Builder, please let me know. 
    Many thanks and Kind Regards,
    For quick review of new features, try virtual labs: http://msdn.microsoft.com/en-us/aa570323

    Hi Asam,
    If we want to create a parameter depend on another dataset, we can additional create or add the dataset, embedded or shared, that has a query that contains query variables. Then use the option that “Get values from a
    query” to get available values. For more details, please see:http://msdn.microsoft.com/en-us/library/dd283107.aspx
    http://msdn.microsoft.com/en-us/library/dd220464.aspx
    As to the Report Builder features, we can refer to the following articles:http://technet.microsoft.com/en-us/library/hh213578.aspx
    http://technet.microsoft.com/en-us/library/hh965699.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I need to deactivate photoshop cs5 on a computer that crashed so that I can install and get updates on my new computer.

    How do I contact adobe by phone or email to deactivate?

    This will not resolve my issue.  I will go into a little (or maybe a lot) more detail...  I have installed adobe photoshop extended cs5 on the new machine.  I need to update to camera raw 6.7 for my camera.  When I try to install the update I get an error saying that there was a problem with the download.  When I click on the contact customer support (lack of)  I get a message saying the licence is not elilgible for upgrade.  I am assuming that it adobe considers the camera raw update and upgrade...  I was actually able to chat with someone last night (about an hour before I had to leave).  He made the exception for my license in the system, but I can still not download the updates.  Now I cannot get back into the chat again so I am hoping that someone can tell me what needs to be done.  I am afraid to deactivate and uninstall/reinstall, as it may or may cause greater problems, but that is the only thing I can think of to do... 

  • Hello, my problem is this: in my laptop I cant open my e-mails, or any other folder, I mean, I can usually get into my mail but when I click on an email that does not open, and firefox update, this only happens on my laptop, HELP PLEASE!

    the laptop has windows 7, firefox version I have is 3.6.17.
    Version number 4 I cant download and install the laptop doesnt accept why? I do not know. the problem just happened a few days ago, with version 3.6.17 everything was fine, but one day I could not open my mail, I can access my mail normally, but I can not open my mail when I give it a click, or other type of folder, either spam, deleted, drafts etc. PLEASE HELP ME!
    I always got the version 3.6 and never before had given me problems, newer versions 4.0.1 as the laptop does not accept throws me a message saying "the file is corrupt" is not whether it be because I have to update or unconfigure ayudenme firefox

     But where is manufacturer warranty then ? If the seller want to earn money from repairing warranties phones ? I think all products in the EU by the law has manufacturer 2 years warranty, just manufacturer gives the right to the seller took responsibility of warranty, but seems my seller knows that i have no other options and i have to repair or throw away this phone...so manufacturer should took some responsibility on top of that...and the worst way that blackberry suppor is only by forum or twitter but there is no reply on twitter so how i can contact blackberry for the help ?

  • I am trying to generate an array of 30 random numbers. after every 5 readings a new vi should open and tell the user that 5 readings has been completed. and again carry on with the generation of array.

    since i do not have a transducer now, i am currently generating an array of 30 random numbers. after every 5 readings a warning should be given to the user that 5 readngs are complete. this cycle should repeat. the array size is 30.
    please help me out,  waiting for reply asap.
    once i have the transducer, i will be taking 30 analog samples and then after every 5 smaples that wraning will be displaye din a new VI
    Solved!
    Go to Solution.

    Use a while loop with a time delay representing your sampling period.
    Use the count terminal to check if equals 4, so 4th iteration=5th sample.
    Use a case structure. The true case will only be executed on the 4th iteration.
    In the true case place a subVI  with your desired message in the front panel. Go to the VI properties window and set "open front panel when called".
    The closing condition of the warnign is not giving in your description.
    Consider that rather than usign a subvi for this, you could use the "One/Two/Three button dialog" or "display message" vis at the "dialog and user interface" pallete.
    Please give it a try and send your own VI. Do not expect us to provide a working solution.
    Regards,

  • Hi,i wonder whether it's possible that ipad can do exactly the same like ipad2 to display out all the content through vga to a larger screen on ios5? that's would be many thanks!!! from Taiwan.

    i'm an ipad user and want to share all the contents to my friends and school students via vga
    it's quite strange that i heard someone who "jb" their ipad and can do exactly the same  like ipad2 (display on a big screen without any limitation)
    i don't jb my ipad, cuz i believe that there could be some side-effects if i do so
    but why ios just can't let ipad go for the big screen?
    that's very unfair for those users who always trust apple and do not want to jb their device.
    and since ipad 2 is very popular sold out, and ipad is no longer produced and sold, it's time for apple to let ipad go for the big screen after nearly 2 years of limitation...
    hope the situation would be changed after ios5
    and don't reply if the answer is: there is no solution; go for buying another ipad2 !!
    Many thanks...
    Letter from Taiwan
    Apple Fancier

    iPad 1 mirroring in iOS 5 was not mentioned at the WWDC so no one knows if this feature will be available or not at this point. Beta testers and developers might but they would break their Non-Disclosure Agreement (NDA) if they publicly said anything about it.
    You can tell Apple you want it here: http://www.apple.com/feedback/ipad.html

  • How get the user that use CRM in my web site

    Hi all,
    I have a web app that connect to my CRM. I use C#.
    I connect to CRM with my credential because I'm admin in CRM.
    But my app is used from others CRM user and I need to know who is systemuser CRM that use app.
    I need the same of Xrm.Page.context used in js or the same context used in plugin, but I have the problem that I connect  to CRM with my user. So If I use WhoAmIRequest class I have my userid and not the userid of the user that use my web app.
    Is it possible know this? Do I change my login with user login in CRM?
    Thanks

    Hi,
         As you use system admin to connect to CRM, WhoAmIRequest does not return the user from website. You are correct. Change that so that it uses logged in user however be aware that means each user needs to be a valid CRM user else they
    will get not a valid user error.
    Hope this helps.
    Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/
    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • Is possible to save the user that uses the download action in an interactive report.

    Hi,
    In my application I want to save who is downloading the interactive reports information in any format, is it possible?
    Regards

    Hi Eva,
    As far as I know there is not an out of the box option that shows you the user that is downloading the interactive report. I guess you would have to write your own logic for that.
    You can create your own logging table and a dynamic action with
    1) a pl/sql procedure to insert the logging into the table, and
    2) submits the page with the appropriate download format, eg. f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION_ID.:CSV::::
    As trigger of the dynamic action you need to use either of the download buttons, so I'd suggest the jQuery selector "#apexir_dl*"
    Kind regards,
    Vincent

  • How do I delete one of the user accounts on my computer and not lose the data in that account?

    How do I delete one of the user accounts on my computer and not lose the data in that account?

    I actually have the opposite of this problem. haha.
    https://discussions.apple.com/thread/4484354

  • Data view web part to display the most frequently accessed pages based on the user that is logged in

    I am working on a project in which I would like to display the top 5 most accessed pieces of content as links, based on the user that is logged in. Our MOSS 2007 implementation has subsites for all regions that we do business in, as an example North, South, East, and West. When a user visits the North region homepage, I would like a web part to display:
    Hello, <username>, here is a listing of your most accessed content:
    Link to One
    Link to Two
    Link to Three
    Link to Four
    Link to Five
    So each user would get a customized list based on their content access. We are not using my sites, but these would not work as we want the list to display on the home page of the region site.
    I am thinking that a data view may work here, but I am not sure. Any help is greatly appreciated.

    If you are running MOSS you may want to take a look at the Relevant Documents web part too.
    http://office.microsoft.com/en-us/sharepointserver/HA102410251033.aspx
    The Relevant Documents Web Part helps you create a personalized view of the documents that you create, check out, and change. In a large Document Center, the Web Part can save you time and effort by making files easier to find and use. The following figure shows the Web Part:

  • I have a late 2006 iMac that has just started giving me a message to reboot after a black screen comes down slowly from the top top of the screen to the bottom.  I reloaded software and restored from Time Machine, it now happens frequently.  Any insight?

    I have a late 2006 iMac that has just started giving me a message to reboot after a black screen comes down slowly from the top top of the screen to the bottom.  I reloaded software and restored from Time Machine, but it keeps happening, now several tomes a day.  Any insight as to the issue or a proposed solution?

    Unplug any peripherals you have except your keyboard, reboot, and check activity monitor for apps.  Keep running apps to a minimum to find the App causing the issue.

  • Where I can see all document of pay and the user that modified

    Hello people
    Where I can generate a report with all user that modified a document of pay.
    I have a problem, in the finance area, they request a reports with all users that modified some document of  pay.
    In the FB04 transaccion  I see the document of pay and user that modified, but is one for one, in my company are generated thousand documents pay for day.
    I see that the transacction FB04 gets the information of the tables "BSEG", but in this table I do not have the field "User"  and with this I will can link the document of pay more the user and date
    Example
    Number of document              User                              Date
    30004567                                Pvaldez                        05.01.2010
    30008756                                Rpower                         07.08.2011
    30008890                                Mramos                        15.11.2012

    Hi Naveen.
    I reviewed the two notes, but  this not help me with my problem.
    I think that in the system when a user modify a document pay this is saved a register in some table.
    In the table BSEG I find that there a part, but this have link with other table for complete the report, I do not know what other table complemented this information.
    I require a report with all document of pay more the user that modified and the date
    How  I can generated this report ? 
    atte.
    Gerardo Ceballos

Maybe you are looking for