Message Popup sans bouton
Bonjour,
Je souhaite créer un message Popup (sous TestStand) sans bouton.
Le but de ce message est uniquement une information à l'utilisateur lors de l'exécution de plusieurs thread.
Cette information indiquera à l'utilisateur que TestStand attend la fin de l'exécution de tous les thread avant de continuer. Aucune action utilisateur ne doit être possible pendant l'affichage de ce message Popup.
Merci d'avance pour votre aide.
Cordialement
Bonjour ,
Est-ce que la boîte de dialogue ont besoin d'un délai d'attente ? Je ne pense pas que la boîte de message par défaut dans TestStand va accomplir cette tâche.
Je pense que vous devez le faire dans un module de code . Utilisez-vous LabVIEW ? Si oui, alors créer un VI qui apparaîtra et la temporisation après une si longue .
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~
Similar Messages
-
How to open a message popup and keep the sequence running ?
I have some steps in my sequence to initialize communication ports that takes a few seconds. As i have the trace off i want to display a message popup to tell the user that the sequence is doing the init. After the init steps are done i want to close the popup out of the sequence without pressing any button.
Is there a possibility in TestStand to do this ?
The normal Message popup stays until a key is pressed and even pauses the sequence while active.
Thank for help.You could call your message popup in a subsequence as new execution and terminate this execution programmatically after your init steps have finished.
In order to do this you have to specify (module) the sequence call step that calls your subsequence:
-Multithreading and Remote Execution = Run in a New Execution
-Settings: Initally Hidden and Tracing disable, Restartable, Close Window when done, Wait for Execution to complete: Do not wait, Process Model Option: Do not use a Process Model
-Store an Object Reference to the New Execution in: e.g. Locals.ExecutionRef
After your Init steps you insert a ActvieX/COM Action Step that terminates the new execution:
-Object Reference: Locals.ExecutionRef
-Automation Server: NI TestStand API 3.1
-Object Class: Execution
-Call Method or Access Property: Call Method
-Method: Terminate
This will terminate your new execution showing the message popup. -
Is there a way to center the text on a message popup
Looking for a way to center multiple lines of text on a Message Popup.
sdrochek3 -
The step type does not export any option to center text that it displays. If centering text is a requirement, you will need to create a custom dialog in your ADE of choice and display that instead.
Scott Richardson
National Instruments -
hi
i tried to update to ios 8.2 on my iphone 5s when message popup to me now my iphone not working, please help i dont want to lose my dataWhat is the exact text of the message you got? And did you not back up before you updated?
-
Adding a variable in a Message Popup
Hi guys, how to get a local variable in a message Popup? I try "string text"+ Runstate.Caller.Locals.foo ... Coz runstate is while program is running, Caller is the calling step and then local variable.
But this give an error. Where to access my local variables while running?First of all, it depends on the data type of the variable. String can be added "similar" to the way you described. Numeric and boolean has to be cast.
Second, you seem to misunderstand the concept of the RunState-property. If you want to insert a local variable of the sequence you are currently running, the expression should be:
"My Dialog Text " + Locals.<localname>
Don't forget type casts if not working with string variables!
hope this helps,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
I created a dll that had a message popup (userint.h) using Cvi version 6 on Windows XP, then using the Cvi runtime module and everything was good. I am now using Windows 7 (32 bit) and the latest Cvi runtime module and the dll partly works, does not give any errors, but the message popup does not appear.
My guess is the new Cvi runtime module maybe does not support the older message popup, but really dont know, could be the Windows version; anyone know about this?Hi,
I don't believe MessagePopup has changed since CVI 3.0 as stated here: http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/uiref/cvimessagepopup/
I would recommend stripping it down to the barebones and see if you can get it functioning that way. -
Control Buttons in message popup with Digital I/O
In my Test system the operator can use only the Start Stop Quit buttons on the Panel.
He aint have any mouse
That means I have to provide him wit all the control power thr' these 3 digital I/Ps
There are many message popups in the SequentialModel.seq file
The OPERATOR will respond to them with the 3 H/W buttons.
OK= Green
Terminate = Red
how can I assign my Buttons to all Popup messages on teststand Irrespective of their .(i.e handling them Individually)My plan is to control the whole testsystem, with Hardware buttons (On off S/Ws for Operator) (operator wont be using mouse- it takes timeto scroll & prod is slow).
The H/W buttons r read thr Labview. The file is a member function of the class that I call In teststand seq.
I am trying to read and respond to Teststand dialogues thr' the Operator Interface using these 3 buttons -
Excel 2007 Not allowing message popup when double clicking
Hello,
We have recently upgraded to Office 2007 and are using IP workbooks. When a user gets the "messages available; double click to display" the message box is not popping up. Does anyone know how to fix this issue? Not sure if it is an excel issue or a BEx issue.
Thanks,
CherieSAP Note 1299828 mentions that it has been fixed with BI Addon Support Package 9.
SAP Note 1294382 - SAPBINews NW7.0 BI Add-On Frontend SP900 - GUI 7.10 says:
Fixed in Bex Analyzer: "Message popup is not shown on double click in Excel 2007. Please read note 1299828."
I have it installed now but it does NOT work either (for me)!
At least in the global settings the option automatically popup messages works. Each action brings up the messages then.
Cheers,
Lars -
Message popup timeout - time left
Can we get from the sequence context the time left (or time elapsed) of a timeout enabled message popup.
For example,
If the message popup is set to timeout after 120 sec and the operator responded when there are 50sec left for the step to timeout,
does any built-in variable have the value 50 (seconds left) or 70 (seconds elapsed)?
I know there are workarounds like calling Seconds() function in pre- and post-expressions and taking the difference but I wonder if it is already implemented or not.
Thanks.
S. Eren BALCI
www.aselsan.com.trThis information is not stored in the step properties. It is possible to change the step type to get this information. The source code for MessagePopup is included with TestStand at <TestStand>/Components/NI/StepTypes/MsgBox/ if you have Labwindows/CVI.
Your suggestion of using Seconds() is much easier to implement and be accurate enough for your use cases.
Allen P.
NI -
Can't edit the Message Popup in TestStand 3.5
I'm using TestStand 3.5/Labview 8, and when I inserted a Message Popup in my sequence, I found that I'm unable to edit it.
I started with a new sequence file, right click->Insert Step->Message Popup, then right clicked the message popup and select Edit Message Settings. I then get the following error (see err1.jpg attachment for actual error popup):
SeqEdit.exe
Error in call to LoadPanelEx.
Parent Panel Handle: 1
UIR File Name: editmsg.uir
Panel Resource ID: 1
hInstance: 0x597F0000, D:\...\TestStand 3.5\Components\NI\StepTypes\MsgBox\msgbox.dll
Error Code: -143
ActiveX control error
Then when I click OK in that error I get another error (see err2.jpg attachment for actual error popup):
Sequence Editor
Program Error.
Error Code: -17001
I verified that the msgbox.dll file exists, and from reading some posts on the forum thought it wasn't properly registered. When I tried to register it using regsvr32 I got the following message: "msgbox.dll was loaded, but the DllRegisterServer entry point was not found. This file can not be registered." See err3.jpg attachement for actual error popup.
Any ideas what is going on here and what I need to do to correct it?
Thanks,
-Bill
Attachments:
err3.JPG 15 KB
err1.JPG 20 KB
err2.JPG 11 KBUnfortunately that didn't work. I went to Start->Programs->National Instruments->TestStand 3.5->Operator Interfaces->LabWindows-CVI and got the following error message:
Test Executive
Error in call to LoadPanelEx
Parent Panel Handle: 0
UIR File Name: TestExec.uir
Panel Resource ID: 4
Hinstance: 0x00400000, D:\...\OperatorInterfaces\NI\Full-Featured\CVI\TestExec.exe
Error Code: -143
Active X control error
The actual error window is attached. Looks like my installation has other problems? With the way our IT department operates, if there is a way to fix this without reinstalling, that would really be helpful... :-)
Attachments:
err4.JPG 20 KB -
Modal message popup hangs parallel model in Teststand 4?
Hi:
I'm having a problem using the 'Make Modal' option on message popups. It is hanging the user interface.
Here is what I've done:
* created a sequence with just a message popup in it (using Teststand 4.0 editor)
* set the popup to be modal
* set the sequence to use the parallel model
* recompiled Full Featured CVI User interface for teststand 4.0 (using CVI 8.0.1)
* run sequence in the recompiled user interface
* popup is displayed
* after acknowledging the popup, the popup and the user interface freeze
If I change the sequence to use the batch model, everything works.
If I don't recompile the user interface project that came with Teststand and just run the exe, everything works.
What am I missing? Sequence file attached.
Thanks,
Dave
Attachments:
modalpopup.seq 6 KBHi dseel,
After I copied over your version of modelsupport2.dll, I see the attached error message for every test socket, basically saying that TestStand can't find a certain function in modelsupport2.dll.
What modifications did you make to the dll?
One thing though, I notice the same error message even with the Simple OI... Where are you putting modelsupport2.dll? In the same folder as the CVI Executable, or in <TestStand>\Components\NI\Models\TestStandModels?
Jervin Justin
NI TestStand Product Manager
Attachments:
TSErrorMessage.jpg 56 KB -
Is it possible, after the error message popup,
a) I want to print out a message in the report after the flow completed. If yes, how would i do it?
b) I had an existing interactive flow. After the message popup, i want the user to re-enter/change some of the parameters and only continue the flow. How would i do that?
Thank you!Hi faithict,
What error message popup are you getting? Is it a TestStand error, or are you using a Message Popup step to create your own error message?
What is the message that you want to add to the report? Is it error message information, user entered information, step results, or something else? You can find more information about adding results to a report here.
Do you already have something in place that allows the user to set the parameters? If so, you can probably call the same module to allow the parameters to be set again.
Regards,
Brandon V.
Applications Engineering
National Instruments
www.ni.com/support -
Hi,
When using a message popup how best can validation be done?
I need to check that the used has entered 3 letters.
Thanks
SimonIf you use the standard "Message Popup" step you can determine the length of the user input within the Step's Post-Expression.
Say you create a Local variable "input_valid" and use the following post-Expression in the Message Popup step:
Len(Step.Result.Response) == 3 ? (Locals.input_valid = True) : (Locals.input_valid = False)
Then you can expand from there with e.g. a while loop around the Message Popup.
This does not quite fulfil your requirement though as it only checks for the length of the user input and not whether it has three letters.Could as well be two letters and a number. But maybe that is already good enough for you, in this case you wouldn't need a code module. -
Hi
I am using the message popup step in TestStand in the beginning of my sequence. I defined 2 buttons - "OK" button and "Cancel" button.
The "OK" button works fine but the "Cancel" button does not function as desired - pressing it still runs the sequence while I want it to cancel or goto the end of the sequence.
Please advice me on how to configure it.
Attached is a screen shot of my configuration.
Thanks,
Moshik
Attachments:
popup.GIF 33 KBAll that you've done is define some text for a button. It's without meaning if you don't write some code that handles the actual button pressed. Look at the answer by paul in the post http://forums.ni.com/ni/board/message?board.id=330&message.id=14038. A simple expression to use would be Step.Result.ButtonHit==1?True:False. Then, on the False condition, set the destination to <End>.
-
Message popup timeout reached or button pressed?
I have a Message Popup with one button. This button is also set up to be the Timeout Button. If I press the button, RunState.Sequence….Result.ButtonHit is set to 1. Alternately, if I allow the timeout to be reached, Result.ButtonHit is also set to 1. Is there a way to determine whether the timeout was reached or if the user pressed the button?
Hi Christine,
I have just played with Message Popup's timeout and i also do not see a way to check if a timeout has been occured.
The only way is to use a new button for timeout but you can not hide it ! Only changing the colour stuff and this is looking
terrible. And if the user is pressing this button you will not determine a timeout, too!
I think the "blue ones" should add this feature in next TS release.
Or they have some other suggestions.
Sorry that i have no solution.
Juergen
=s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
Maybe you are looking for
-
Display Data in Cross Tab Format...Per Quarter
Hi Team, I have following issue...which i am struggling to solve... My current report format is Material Technology - Q1(Qty) Q2(QTY) Q3(QTY) Q4(QTY) - Q1(Pirce) Q2(Pirce) Q3(Pirce) Q4(Pirce) - Q1(Rate) Q2(Rate) Q3(Rate) Q4(Rate) I have generated cr
-
Folder action adding date to added file
I need to write a folde action that will add the date to a files name after it is added. can anyone help here. here is what I have done but the file still does not get named correctly. set m to month of (current date) set d to day of (current date) s
-
Messages in "Sent Mail" were never actually sent.
We recently switched to Snow Leopard exchange, and switched from Microsoft Entourage to Mac Mail. Ever since the switch, I have realized that I am not getting any notifications if an email is not able to be sent. I am normally able to send emails fin
-
Is there and outage in the Hamlin, Tx area(79520) phons have not worked for 2 days?
-
Keep weblogic admin server and managed server running after exiting PUTTY
How do i keep my managed servers and admin servers running on SOLARIS (unix) boxes even after exiting putty and starting them? Do i need to create like a cron job or something?