TestStand 2.0でMessage popupに日本語を表示する方法について
いつもお世話様です。 TestStand Ver.2.0(English)で、Message Popup欄に日本語でのメッセージを表示する方法をご教授ください。 以前のW2Kでのシステムでは表示可能だったのですが、PCをW-XPへGrade upした際に表示できなくなりました(文字化け)。 よろしくお願いいたします。
この件はPCの言語設定により解決いたしました。 今後ともよろしくお願いいたします。 skktomi
Similar Messages
-
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 -
Message Popup crashes TestStand
Hello,
Our sequence executes under TestStand 3.5 ; steps call dlls written with LabWindows/CVI 7.1.1.
Everything is going fine except some calls to the "Message Popup" step
of TestStand : sometimes TestStand crashes on such calls (we have to
stop it from Windows Task Manager). We have several "Message Popup" to
display during the sequence execution and we have noticed that the
application does not systematically crash on the same Message Popup
step.
The target computer is a PIV 3.2 HT with 1Gb RAM.
Does anybody have the same problem ?Hi,
We have installed CVI8.0.0.273 runtime engine and we still have crashes on some Message Popups in SeqEdit.
Here is a short description of the system : we have a PXI 1000B chassis connected to the computer with a PCI and a PXI MXI-3 (software v1.15).
PXI cards : 2 PXI CAN 8461/2 (one dedicated to DiagOnCAN and the other one for CAN), 1 PXI 6070E, 1 PXI 6713, 1 PXI 6704, 1 PXI GPIB. We also have 2 PCI cards : Addi-Data APCI 2032 which drive the relays of the system. We have installed DAQ-mx 8.0 (DAQ 7.4.0 is also used on the system for an other application, not with TestStand), NI-488.2 2.43 and NI-CAN 2.3.2.
Our application is multithreaded (3 threads + 1 main thread).
We have tried several solutions not to use the step "MessagePopup" of TestStand : we have created a specific step calling a CVI dll. In this dll we call the CVI MessagePopup function, but TestStand still crashes. Next we have tried to display a panel (created in a uir file) instead of the Popup but the problem is not solved (we tried several combinations of panel attributes).
In Windows TaskManager we see that the PIV 3.2GHz HT is never overloaded (CPU load = about 90%) and that there is enough memory available on the system.
If we try to run a sequence that creates 3 threads which process nothing (infinite loops), with no signals / CAN / instruments processing, we can't reproduce the crash caused by the Popups.
Do you have any suggestion about that ? -
Modal message popup is causing TestStand ActiveX error
When I execute a modal Message Popup step, I get the following error:
ActiveX Error
sCode = 0xffffbba4
Source: TSAPI
Description: Could not connect to TestStands TSSync server.
If the Message Popup is not modal, the sequence executes just fine.
I am making the Message Popup modal by selecting the "Make Modal" option.There is a call to TS_StartModalDialogEx function in the \API\CVI\tsutil.c file which in turn calls into the engine. The engine needs the sync server to implement the modality. I would assume that the file \bin\TSSync.dll is missing or not registered. You can register the dll by running "regsvr32.exe \bin\TSSync.dll". See if this fixes your problem.
Scott Richardson
National Instruments -
Deal with teststand message popup
when I add a message popup in my sequence,I need two button: Ok(button1) and Cancel(Button2).and set timeout.
My question is like this; I need get the status when execute,if uesr click ok,the sequence should go to next step,the other stauts,the sequence should abort executing.
example:
Message Popup
if(RunState.Sequence.Main["Message Popup"].Button1Label=="OK")
call sequence //this action need execute when click "OK"
else
break //this is a action ,without any connection of message popup
end
but no matter what button I click ,the sequence always execute break,that's means the if condition can't get the status of message,where is my error.
any one help me ,thanks very muchduplicate post see the following link
http://forums.ni.com/ni/board/message?board.id=330&message.id=21602&jump=true
Regards
Ray Farmer -
My Message Popup is reported as:
Verify that the Installed memory (RAM) is 1.96 GB: Passed
Button Index: 1
What is the best way to prevent reporting the Button Index line?For your step in the sequence open Step.Result in Variables pane, right click on ButtonHit, select Advanced>Edit Flags and uncheck "Include in Report" property. It is checked by default for custom step types created as combined types with the Message Popup general type.
That should be done for all instances of these step. When I tried just to incheck the "Include in Report" property in my step type, somehow it is still checked for all newly created steps of this step type. Possible solutions (besides changing them all manually as I described above) are to modify them at drop time from OnNewStep custom substep or to create automated script and run it on your sequences after creation to modify the flag.
Let me know if you need help with these solutions.
Sergey Kolbunov
CLA, CTD -
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. -
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 -
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 -
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 -
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.
CordialementBonjour ,
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~ -
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 add more buttons than six
Hi,
On TestStand 4.2.1, I encounter a limit of 6 buttons.
How can I add more buttons ?
Or, can I replace message popup by list ?
Thank youHi,
Have you thought of using LabVIEW to create something?
I have attached a simple VI that you can pass an array of string data from TestStand to LabVIEW..
Regards,
Shane.
Attachments:
PopUp.vi 25 KB -
Message Popup sizing TS 4.0
Hi,
Since moving to TestStand 4.0 from 3.0 we've noticed that a message popup with the buttons arranged to the right or left and with no message text has a big blank space where the message text would go if it were to be entered. For this particular project we use the text on the button to define the message. Any thoughts / sneaky tips on how to lose this unwanted whitespace?
Mike
Attachments:
message popup.JPG 16 KBHi Mike,
i see the problem and was able to reproduce it. Unfortunately i don't see a property for the Message Popup Step to define the space of the blank area.
One possible solution is to create your own Message Popup in LabVIEW or CVI and and use the output to decide which button was hit... I know that is a little bit more of work but it would solve your problem.
thanks,
cheggers
Sascha E.
Group Leader Applications Engineering
National Instruments Switzerland
Maybe you are looking for
-
I did reset my iPad and now I can't access to it, previous access code is not working, how shoud I do to fix the problem? Any help is welcome vx
-
Is there any API for performing Assembly Completion with LPN
Hi, Is there any API available for performing Assembly Completion with LPN..?? Thanks and Regards, Ramnish.
-
Blog or News - Which is better for SEO ?
Recently I started using the Blog module to post articles about products that we manufacture (see link below) http://www.hammersmith.com.au/_blog/latest_news At the time of setting it up, I had a choice of using this module or the News module (known
-
Hi, when could XLA processing of a particular process can slow down so that XLA logs will pile up and clear very slowly? Please note that during this time,TimesTen operation is normal for all the other processes. Regards Pratheej
-
Hi all, For some reason i get the following error message when trying to build any of the code in the j2ee tutorial. C:\WINDOWS\system32\ntvdm.exe Error while setting up environment for the application. Choose 'close' to terminate the application If