NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

autostart

On a PC with Teststand I want to start my customized operator interface (VB.NET) such that the sequence file from a coammnd line argument starting automatically including autologin.  I tried

            axApplicationMgr.Start()
            If Me.axApplicationMgr.ExecutionEntryPoints.Count = 0 Then
                Application.DoEvents()
            End If
            axSequenceFileViewMgr.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0).Execute(True)

in the Form-Load-event , but getting always an error "indes out of range". It seems that the sequence-file isn't loaded, because I could connect this command to a button and it's working. Now I do it with a timer event after a 1 second, but this method is very ugly. How can do that?
0 Kudos
Message 1 of 1
(3,377 Views)