NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems while Call PopUp step with msgbox.dll (TimerMsgImgPopUp)

Hello,
I have the following problem. In my teststand sequence there are several standard Message PopUp steps of teststand. While executing the sequence each time when it reaches one of this step the attached error message occures.
When I then look into the msgbox.dll for the function TimerMsgImgPopUp this function is not available there.
Why is teststand searching this function in this file? because it is only a standard teststand message PopUp.
can anybody help me?
 
Thank You
 
regards
 
samuel
0 Kudos
Message 1 of 12
(4,746 Views)

sam29,

The DLL you are referring to msgbox.dll ships with it's source code in the folder <TestStand>\Components\NI\StepTypes\MsgBox

I looked in that folder, at the source code for the DLL, and the function should be included for export in that DLL.

Are you also experiencing this trouble on other machines running TestStand?  If not, then you can simply copy the msgbox.dll that is on those other machines to the machine that is having trouble, and that might fix things.

Do you also have a version of CVI?  If so, you can recompile that DLL using the msgbox.cws and that should clear up the issue.

If none of these things work, please post back, and we'll find another way to get this cleared up.

Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 2 of 12
(4,719 Views)
Something else you can try is to access that DLL using an Action step with the CVI adapter.  If you are able to access the list of functions there, the function in question is displayed, and you are still unable to run the DLL, then there may be a problem with the version of CVI you are using versus the version of CVI the DLL was written with.
Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 3 of 12
(4,715 Views)

Josh,

I looked into the Source of msgbox.dll and I could not find the function DisplayTimerMsgImgPopup.

I also copied the msgbox.dll from a computer where teststand is running correctly to the computer where the described problem occures but the problem is still the same.

I have CVI version 7.1 and I use teststand 3.1

What else can I do to solve the problem?

 

regards

 

samuel

 

0 Kudos
Message 4 of 12
(4,696 Views)
Hi,
 
DisplayTimerMsgPopup is in the dll for TestStand 2.0.x. I haven't got a latest Teststand to hand so cannot check.
 
Regards
Ray
Regards
Ray Farmer
0 Kudos
Message 5 of 12
(4,689 Views)
Ray,
I have teststand 3.1 and I have created the whole testsequence with 3.1
Why does then a Teststand PopUp step which inserted with 3.1 search a function which is 2.x specific
 
regards samuel
0 Kudos
Message 6 of 12
(4,686 Views)
Hi Samuel,
 
Did you every have TestStand 2.0.x installed before?
 
Or have you used examples derived from TestStand 2.0.x
 
Can you closed down your TestStand, then re-open and created a Sequence File with just the MessagePopup Step. Set the Timeout on the active control. Then run the Sequence. Do you get the DLL problem. If you do then your TestStand installation has got contamined. So Un-install, delete the TestStand folder, then re-install. Try example again.
 
 
If the example does work correctly, then its your SequenceFile thats at fault.  In which you will have to delete all the MessagePopUp steps then delete the Step Type thats defined in the Sequence File.
 
 
Regards
Ray
Regards
Ray Farmer
0 Kudos
Message 7 of 12
(4,681 Views)
Hello Ray,
I never had teststand 2.x installed.
I get the problem also when I create an new Sequence File with just the MessagePopup Step.
Is there a other possibility to solve this problem than reinstalling teststand. I am afriad that a reinstallation restes the configuration for the IVI instruments in the measurement & automation explorer.
do you have experience about hat?
 
regards
 
samuel
0 Kudos
Message 8 of 12
(4,678 Views)

Hi Samuel,

Do you have a TestStand\Components\User\StepTypes folder. If so you might try removing this and letting TestStand use the NI folder and see if that cures your problem.

If you haven't then you need to replace the NI\StepTypes folder particular the MsgBox folder in StepTypes and probably the NI_Types.ini in the CFG\TypesPalettes folder.

Maybe you can do a Repair of the installation rather than an uninstall.

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 9 of 12
(4,669 Views)
Hello Ray,
I tried this but now I get the error "System level Exception" -17502
When I compare the sequence file types of Message Popup step of the two machines I saw to different configurations (see attached screenshots). The parameter are different.
How can I change the one on the machine with problems to the right configuration. which file Have I to copy?
 
0 Kudos
Message 10 of 12
(4,660 Views)