LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Control of CANoe

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

0 Kudos
Message 1 of 3
(3,136 Views)

Could you disclose the content of your .vbs files, please?
I wonder what type of interaction you have with CANoe process, and I'm too lazy and busy to find by myself.


Carlo A.
Megaris




0 Kudos
Message 2 of 3
(3,046 Views)

Hi Carlo A.

Thanks for your reply.

I have already found a suitable solution for my problem but if you are interested in this topic as well, I can tell you the solution I found.

 

I am very sorry that I forgot to update my question.

 

Best regards

Rainer

0 Kudos
Message 3 of 3
(3,041 Views)