I have to do some automatic tests with TestStand by sending/receiving CANoe frames. Is it possible ? Is it possible to call some CAPL CANoe routines ? If yes, how to do ?
날짜: 01-25-2012 06:12 PM
I believe CANoe uses ActiveX for its one of it's interfaces so you would use the ActiveX adapter to communicate with it in TestStand.
Hi sfla,
You may use the Vector.CANoe.Interop.DLL this is .net assembly. With it you are able to do your mentioned tasks.
In may case i a have simple .net Wapper around the Canoe.Interop.Dll. because inside it there some events and of course
exceptionHandlers. To manage this i perfered C# instead TS.net types. The Wrapper offers just a few functions, like Start/Stop Canoe,
read and write Signals,System- and Environmentvariables, running Capl and Testfunctions, to Teststand.
Hope this helps
Juergen
Hi.
I tried to use the Vector.CANoe.Interop.DLL on labview using the "call library function node" but i cannot get a list of the functions of the library.
Im using labview 2012 and have CANoe 8.1.
Im just exploring automation possibilities for my projects, we use teststand, labview and CANoe. For example know in LabVIEW when an event in CANoe is triggered. Or call CAPL funcions from labview.
날짜: 09-08-2014 08:07 AM
Hey AELmx,
It sounds like your issue is more related to CANoe and LabVIEW than it is to TestStand. To make sure your question is seen by users familiar with those topics, I would recommend posting to the Industrial Communications forum, which focuses more on CAN communication.
Thanks and good luck!
Hi AELmx,
i did my Teststand/Canoe interface by using c#. for this is working well.
So if you are using LabView there are 2 ways.
1.) using the CANoes Active-x Object in LabView (Same way i did)
2.) using the CANoes AddOn LabView Interface, were you have .vi's for Read/Write Signals/SystemVaribales and much more.
(which i would use on LabView)
just open CANoe's help and search for LabView Interface.
Regards
Juergen
Hi
I have recently been asked about TestStand and CAnoe.
Sometimes you have to use events from CANoe, so I have decided years ago to use a C# wrapper.
Now in 2018 (and little bit of more knowledge) I am wondering is that really necessary?
No! - if you use the TestStand .net Event Handler Step type.
https://forums.ni.com/t5/Example-Programs/TestStand-NET-Event-Handler-Step-Types/ta-p/3527170
With it you can implement CANoe Interop events directly in TestStand.
I have attached examples that Open/Runs/Stop/Closes Canoe
Best Regards
Juergen
Hello
Do you have the Vector.CANoe.Interop.dll file? I can't find it in internet.
Hello
I was wondering if there is any method or function in vector.interop dll that allow me to do the channel mapping in ethernet connection in CANoe.
for example select the Ethernet1 HW. Someone know any way to selected in automatic?