05-25-2005 02:52 AM
05-25-2005 08:15 AM
09-07-2006 06:51 PM
Following this thread, I have a question. I am mantaining a OI and some of the users would like to set ApplicationMgr.ReloadSequenceFilesOnStart to ReloadFile_All but some of them strongly prefer the ReloadFile_None option, as this is harcoded on the OI I would not like to deal with two versions of the OI. Is there a way to access this by means of an .ini file or something like that. I have been trying to access this property using an Activex step that calls the TestStand API but I haven't been succesful so far.
Thank you for your help,
Iñaki
09-08-2006 02:05 PM - edited 09-08-2006 02:05 PM
Iñaki,
It sounds like you are trying to have the user input whether they want to remember the previous sequence files or not. Does this sound correct?
If so, are you wanting to have a control on your operator interface to specify this setting or are you wanting to pop up with a message to prompt the user whether to load the previous files? How are you wanting this to be implemented?
Since the setting is dependent on the operator interface, I'm not surprised that you cannot get the ActiveX to work. What you can do, however, is programmatically set the attribute using the TestStand API. In CVI, for instance, you can use the function TSUI_ApplicationMgrSetReloadSequenceFilesOnStart to programmatically set that attribute.
Hopefully this will provide some guidance in your application.
Message Edited by AndrewMc on 09-08-2006 02:06 PM