04-20-2020 07:46 AM
i would like to open a CANoe (Vector) Configuration with LabVIEW and run it. Moreover it should be possible to set some values in one of my panels. Is there anyone who knows how this could function?
04-28-2020 08:45 PM
Do you mean that you want to use LabVIEW to open an instance of CANoe, pointing it to a configuration file?
Yes, you can do that. In fact I think there are 3 different ways to do it.
COM/ActiveX, .NET and fdx/UDP.
Here is a link to the .NET API: CANoe .NET API
You can send it the configuration file to use, then I believe you should be able set values on your CANoe panel.
Otherwise CANoe configuration files are meaningless to LabVIEW.
It has been about 15 years since i did this (and I used ActiveX at the time) so I can't really offer any more help than to say "Yes, I'm pretty sure it can be done."
This question has been asked a number of times over the years in this forum. I'm sure you will be able to find some examples.
05-22-2022 06:25 AM
I am working on a similar project. Using LabVIEW, I want to open, and manipulate system/user-defined variables, send particular CAN messages in one direction (as Vector CANoe is acting as a Gateway in between two CAN channels), and close Vector CANoe at a particular instant. For this method, I am working with the "Network-Published Shared Variables in CANoe" method, as defined in the attached pdf provided by Vector. But, in this method, they have defined two variables "CANoe_LabVIEW" to read the value in LabVIEW and "LabVIEW_CANoe" to do manipulation, the latter will be received by Vector CANoe, and have the changes implemented.
Although, for my case, I want to perform manipulation/interpretation of one variable, for example, "CANoe_LabVIEW" after reading it in LabVIEW, and the same variable should be used by Vector CANoe for a particular test case defined in LabVIEW.
I am new to LabVIEW and am struggling to find a solution to it. Could you please assist me, with how I can make this done? Also, if I would like to check whether the variable has been modified or not in Vector CANoe, how I can do that.
Suggestions with example will be well appreciated.