NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

ApplicationMgr sequence file reloaded

I'm just starting development of OI. I don' have screenshot. But I don't see how it ccan help you to understand better.

I Believe that my request is enough clear...

 

0 Kudos
Message 11 of 14
(65 Views)

Hello maxmont,

 

This is an NI forum and because of that most of the users could be not familiar with C#
To make it more clear will be better to have some examples on how you want OI to look like.

 

Regards,

0 Kudos
Message 12 of 14
(56 Views)

I'm not speaking about look and feel of a GUI.

My question is not related to C# specifically but to TestStand API.

I saw in SequenceFileViewManager an event fired when a sequence file has been modified : https://zone.ni.com/reference/en-XX/help/370052AA-01/tsuiref/reftopics/sequencefileviewmgr_sequencef...

This event is fired just before the sequence is reloaded.

 

I just want to know how I can be notified when the sequence file is reloaded.

 

Thanks in advance for your support

 

0 Kudos
Message 13 of 14
(50 Views)

I'm not sure off the top of my head, but did you check to see if reloading triggers an ApplicationMgr.DisplaySequenceFileEvent?

 

If not, you might be able to post a deferred call from ApplicationMgr.QueryReloadSequenceFile (.net Control.BeginInvoke is one option), but you would need to not return QueryReloadSequenceFile_Prompt from the event because that would trigger a dialog box whose event processing would allow the deferred call to execute before the user can choose whether to reload.

0 Kudos
Message 14 of 14
(44 Views)