10-21-2009 10:21 AM
? Attempting to call the Two Button Dialog with Picture Vi. from TestStand. I am getting TestStand error message 97
Error Message: Unknown System Error in TestStand - Get Property Value (String).vi->Two Button Dialog with Picture.vi->Two Button Dialog with Picture.vi.ProxyCaller [Error Code: 97]
Looks exactly like what I am trying to do though.
I want a default image displayed by the program not user selected. User just needs to choose yes/no button once the image is dispayed. then message closed.
? The values for the message box properties (TitleExpr/ImagePath etc.) Could these be setup as parameters in the Teststand call sequence and passed into the Vi?
10-21-2009 10:31 AM
The one thing that I did not include was an ini file to add the new test type. I don't have TestStand 2 so I can't provide one. Are you familiar with adding/modifying custom test types? You would add a new test and combine it with an action step. Add the parameters that you see on the block diagram of either the edit or post step.
Yes, if you don't want to use this code as a custom step, you can modify the code so that you can it as an action step itself and pass it parameters.
10-21-2009 10:52 AM
Unfortunately not familia and I'm a little rusty. Ive only dabbled with Labview and TestStand as needed in the past to maintain the system, but its been quite a few years hence Lv6.1 and Ts2.0.
I will search the forum and/or help files to get pointed in the right direction. Thanks for the help thus far.
10-21-2009 11:52 PM
Created custom step type - Does this look right
Combined Message Type with Action Type & addd ImagePath
Inserted the test type in a seq file and specified Two Button Dialog with pic Vi.
I get the popup with the assigned values for buttons title and Message but no picture.
Afterward a runtime error with no details?
What else needs to be done to use it as a custom step?
What role does the Edit Two button Vi play - do i need it ?
Thanks