NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW hang when load a sequence with MessagePopup in SequenceFileLoad

Solved!
Go to solution

When LabVIEW loads the sequence, the MessagePopup dialog only shows momentarily.  Doesn't have enough time to click on the OK button.

LabVIEW hang on IEngine terminate, abort, or Close.

 

Anyone had this problem before?

 

George Zou
0 Kudos
Message 1 of 4
(342 Views)

Can you please get a little more specific?

 

LabVIEW loads no sequences, the engine does... Which Message Popup?

0 Kudos
Message 2 of 4
(314 Views)

On the front panel, I use ActiveX automation refnum: TS.IEngine

On the diagram, I call Automation Open to get a valid TS.IEngine refnum.

With that refnum, I call GetSequenceFileEX to get TS.SequenceFile refnum so I can get some information about a sequence.

The TestStand dialog shows up at this time.

 

It's when I call Close Reference, the TestStand dialog window disappear, and the Close Reference icon never return.

I call ReleaseSequenceFileEx before Close Reference.

 

As for the Message Popup, most NI TestStand example has that.  When you open them in the sequence editor, a dialog window shows up.  It's a Message Popup step in the SequenceFileLoad subsequence.

 

Test VI attached.

 

LabVIEW 2018 Pro.  TestStand 2017 on Windows 10 Pro.

VI is running in UI thread.

George Zou
0 Kudos
Message 3 of 4
(302 Views)
Solution
Accepted by topic author zou

Problem solved.

Use GetSeqFile_DoNotRunLoadCallback (0x10) when call GetSequenceFileEx.

 

From:

https://forums.ni.com/t5/NI-TestStand/Disable-SequenceFileLoad/m-p/1197427/highlight/true#M29925

 

 

George Zou
Message 4 of 4
(295 Views)