03-01-2018 03:16 PM
Hi ,
I have used the simple teststand user interface shipped with teststand and i customized it for my application. I am using teststand 32 bit and labview 32 bit . After i customized and build the exe .
and when i run the exe i got the error as attached snapshot.
Anyone faced this issue. Do i need to configure any setting before building exe. Kindly note i have installed only teststand 32 bit and labview 32 bit on my system.
Regards,
Anand
03-06-2018 03:41 PM - last edited on 12-09-2024 05:05 PM by Content Cleaner
Hi AnandR,
Do you have multiple version of TestStand on the machine? If so, did you change the active version in between the build and the launch of the user interface?
Since TestStand engine uses ActiveX/COM technology, there can be only one active version. This should be the version of the engine used to for the user interface development.
03-07-2018 12:41 PM
Hi Roxana,
I have only teststand 32(2016 SP1) version on my system. Also earlier mentioned i am using labview 32 2017 and windows 8 64 bit OS.
The above error popup comes from the teststand API GetEngine present in the Initialize state of simple user interface. See the attached pic.
03-07-2018 12:45 PM
Also note that i will get this error only when i run the user interface from the build exe.
Note: Earlier when i started customizing the the simple user interface , i copied the simple user interface from teststand 64 bit version. So base version of customized simple user interface is 64 bit. Later i started working on Teststand 32 with same source code.
03-07-2018 02:49 PM
Hi,
The error code is -17500 FYI.
Regards,
Anand
09-20-2019 07:54 AM
I've the same issue. Have you found solution? 🙂
09-20-2019 09:50 AM - edited 09-20-2019 09:51 AM
After quick research and trial-and-error session, I've found the solution, but I still don't understand the reason...
It works when I assign TS UI controls to my class properties out of my Message Handling loop. When I do that inside, it does not work (the same error as @AnandR.
Assign TS UI controls" is one of the first messages, before that one I handle only a few initialization messages and they have nothing to do with TS API. I'm a bit confused, I'm fine with that solution, but I hope I will find and understand the reason.
Anybody could explain it to me, please?
11-19-2023 06:03 AM
Hi,
Did you solve it?
I have the same problem.
Thanks
11-20-2023 01:11 AM
Hi, I just use the workaround I showed on the screenshot, I didn't spend more time on it.
11-20-2023 01:58 AM
Crazy, but it works.
Thanks 😊