01-17-2017 09:00 PM
Hello,
How can I debug ActiveX functions in teststand, this Activex is exe type created by CVI project.
Thanks.
01-18-2017 07:59 AM
You can attach the CVI debugger (Run»Attach to Process) to Seqedit.exe or your operator interface.
Hope this helps!
Trent
01-18-2017 08:08 PM
Hello Trent,
It seems can't enter into the breakpoint set in activex project.
what I do are below steps:
1. in cvi,attach the seqedit process.
2. build and run activeX project in cvi.
3. run seq in teststand
attached my code,pls change the file extention from .doc to .rar.
01-20-2017 01:57 PM
It looks like I misunderstood your code structure. You should be able to accomplish all of your debugging from within CVI (not attaching to SeqEdit).
CVI Help: Debugging ActiveX Servers in LabWindows/CVI
-Trent
01-22-2017 07:14 PM
Hello Trent,
Thanks.
I tried,if I only run the debuggable exe server in CVI, then run the client Seq in teststand, it still can't enter into the breakpoint in cvi,you can try the example I attached before.
01-24-2017 03:30 PM
Hello,
As the documentation that was previously provided states, you need to attach to the executable you have created since it is a seperate application instance. Attach to RS232_Driver_dbg.exe, place your break points with the project open in LabWindows/CVI, make calls to these functions in TestStand. Ensure your executable had been built as a debuggable project rather than release.
Best regards,
Ed
01-25-2017 06:57 PM
Hello,
follow your steps,I still can't enter into the break points,what I do is:
1. click and run RS232_Driver_dbg.exe(debuggable exe).
2. in CVI, click menu Run->attach to process and select "RS232_Driver_dbg.exe"
3. run teststand sequence
could you try my example attached before to see if it works on your side,thanks.
02-05-2017 06:29 PM
can anyone help me?