NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Call ocx file from TestStand

I'm using MSVC++ to create ocx files to be called from TestStand.
When I insert an action into a sequence, select "Specify Module ...",
choose "Automation Server" with browser and put my ocx file, I have
the following error message :

"The server is not ActiveX Automation compatible
Error code : - 18351, an error occured reading
and ActiveX Automation server typr library"

I hope this question is not too "idiot", I have just used TestStand for
the very first time yesterday .

Does anyone have an idea ?

Serge.
0 Kudos
Message 1 of 2
(5,238 Views)
Hi Serge,

An OCX is typically an ActiveX Control. An ActiveX control is NOT the same
as an automation server which is what TestStand calls. ActiveX controls
typically are GUI objects and are used on a window while automation servers
do not necessarily need to be placed on a window. For an example automation
server, look at the Benchmark example at TestStand\examples\benchmarks\ActiveX\

Thanks,
Paul Mueller

"Serge Mazauric" wrote:
>>I'm using MSVC++ to create ocx files to be called from TestStand.>When
I insert an action into a sequence, select "Specify Module ...", >choose
"Automation Server" with browser and put my ocx file, I have >the following
error message :>> "The server is not ActiveX Automation compatible>
Error code : - 18351, an
error occured reading > and ActiveX Automation
server typr library">>I hope this question is not too "idiot", I have just
used TestStand for> the very first time yesterday . >>Does anyone have an
idea ?>>Serge.
0 Kudos
Message 2 of 2
(5,238 Views)