Hello,
Currently I'm trying to remote control CANoe (11.0.47 (SP1)) from CVI (2012).
I have already found the solution for starting CANoe from CVI with "LaunchExecutableEx();". This function just starts the CANoe64.exe but until now I did not find any further command or function in the CVI-help that suits my problem.
The solution I already have for interacting with CANoe is based on Visual Basic Script. (thanks to CVI community!)
I wrote a little .vbs with the function I wanted and included the "shell32.lib"-library as well as the following code:
#include "shellapi.h"
...
ShellExecute(NULL, NULL, "c:\\...\\com_code - Test2.vbs", NULL, NULL, 0);
It works quite well so far, but actually I'm searching for a better solution in ANSI-C, that I can directly implement in CVI.
So my question is: Is there a possibility to directly control CANoe from CVI? For example: starting or stopping the measurement?
Thanks