12-18-2008 12:17 AM
Hi,
We have added a menu item to the configure menu in TestStand. When the menu item is clicked, it will refer to a windows class library and open a winform UI .
However, the first time this menu item is clicked, I get a message saying
---------------------------
Sequence Editor
---------------------------
You can only use AddOpenSequenceFiles in an application that uses the ApplicationMgr.
---------------------------
OK
---------------------------
Once I click OK, the winform opens and the application works as normal.
Subsequent clicks on this menu item do not display this message.
Please advise on what could be the issue.
Thanks
Arun
Solved! Go to Solution.
01-14-2009 11:53 PM
Hi Arun,
I dont understand why the error is occuring but if you give more information we might be able to help you out.
In the meantime you can have a look at the following link as to how menu items are added:
http://digital.ni.com/public.nsf/allkb/FF0101B2E7E08FBF86256DD5006B12A4?OpenDocument
Vaibhav
02-10-2009 06:55 AM
Hi Vaibhav,
In addition to this message box, an added behavioral issue has also been observed. When any sequence call step is added to the sequence pane and we select that sequence call step, the module setting of that step is a blank tab. However the properties tab appears normal.
We have created a customized FrontEndCallback.seq file which is used to log into TestStand. This sequence file basically calls a.NET win form which performs the user authentication. The contents of this file cannot be shared. This issue is observed when we use the customized FrontEndCallback.seq file under \\Program Files\National Instruments\TestStand 4.0\Components\User\Callbacks\FrontEnd instead of the default path \\Program Files\National Instruments\TestStand 4.0\Components\NI\Callbacks\FrontEnd.
Once the error message pops up, we have observed this problem of the empty Module Tab.
Any assistance would be appreciated.
Regards
Arun03-12-2009 01:03 AM
Hi,
I have attached two zip file, TestStand.zip containing the FrontEndCallbacks.seq and DisplayTestStandLoginScreen.dll file. The FrontEndCallbacks.seq fileneeds to be added to the folder <TestStand Installed drive>:\Program Files\National Instruments\TestStand 4.0\Components\User\Callbacks\FrontEnd folder and the DisplayTestStandLoginScreen.dll file in <TestStand Installed drive>:\Program Files\National Instruments\TestStand 4.0\Bin folder.
On starting TestStand after the addition of these files, a custom Login screen appears where the user needs to login with the authorized user name - password combiniation. On successful login, the user can access TestStand.
Thereafter, open a sample sequence file , say computer.seq in <TestStand Installed drive>:\Program Files\National Instruments\TestStand 4.0\Examples\Demo\DotNet folder.Now, on clicking on any sequence call step, we can see the error AddOpenSequenceFileError.JPG in the TestStandError.zip file. We also can observe the appearance of the module tab in theStep settings for module call tab control.
Kindly have a look at this and advice me on what could be the issue.
Thanks
Arun
03-12-2009 08:42 AM