From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

Showing results for 
Search instead for 
Did you mean: 



I've managed to send my message by PostUIMessageEx from TS sequence and handle it in my OI. 

Is it way to send same message from within C# dll?

I'm trying to do following but not succseeded 


public void MyTest(SequenceContext seqContext, out bool result, out String reportText, out bool errorOccurred, out int errorCode, out String errorMsg)



0 Kudos
Message 1 of 2

I don't know how to handle this in C#, but it should be something like SequenceContext.Thread.PostUIMessageEx(eventCode, numericDataParam, stringDataParam, activeXDataParam, synchronous), where eventCode is I32, numericDataParam is a double, stringDataParam is a string, activeXDataParam is a variant, and synchronous is a boolean.


Pulido Technologies LLC



0 Kudos
Message 2 of 2