04-03-2012 02:15 AM
Hi All,
I want to use the Vector Hardware(CANcaseXL) from Labview without using Vector Software. For that Vector provides their API Dll called "vxlapi.dll" it is giving error to access that dll. any have done this before or any documents available for this. Please provide valuable inputs.
Thanks in Advance
Regards,
Kalanga
04-03-2012 02:24 AM
04-03-2012 04:36 AM
Vector provides CAN drivers for LabVIEW, in which they use the dll you have mentioned, did you try them?
04-03-2012 07:43 AM
And, last time I checked, you need a LabVIEW license in the CANcaseXL dongle to be able to run it with LabVIEW.
05-29-2013 08:17 PM
I realize this is an old thread but anyone searching might like to know...
You do NOT need to use the Vector licensed drivers to use the Vector XL series hardware.
You can call the vxlapi.dll directly without any license.
Errors calling the dll come from not defining the function prototype correctly.
Here is a link to a wrapper library I have uploaded to the forum:
http://forums.ni.com/t5/LabVIEW/CANCASEXL-not-able-to-open-port-for-vxlapi-dll/m-p/2174504#M699254
07-03-2013 07:39 PM
FYI: I've uploaded my wrapper library to an NI Community document so it can be updated.
https://decibel.ni.com/content/docs/DOC-30180
06-23-2015 12:33 PM
Hi Troy, the wrappers are a fantastic work, congratulations !
I've done a loopback in a CANcaseXL linking channel 1 and 2.
I connected channel 1 to CAN Receive Example.vi and
I connected channel 2 to Transmit Example.vi
CAN Receive Example.vi is working perfectly but in most of times
that Transmit Example.vi does, the message received in CAN Receive Example.vi
is ID=00000000 Data=0000000000000000 DLC=00 and the red led Err of the reading channel 1
flashes. Have you seen this happen before ?
Thank You
Henrique
06-23-2015 06:23 PM
Hi Henrique,
The "Transmit Example.vi" by default is set for 250KBd and Extended ID.
The "CAN Receive Example.vi" needs to be changed to match those parameters.
The link between the two CAN channels also needs a 120R terminating resistor (It needs it in my setup).
I just tested it here, once all these conditions are correct it works properly.
You may need to stop and start the receive example if it has had too many unhandled errors or the bus has gone into "BUSOFF" mode to protect the tranceivers from unsuitable bus conditions.
After a lot of experimenting changing channels and so on it is sometimes necessary to unplug and replug the CANcaseXL to fully reset it.
10-07-2015 12:14 PM
Does anyone know if I can use this (specifcally the "CAN Receive Example.VI" ) with the VN1610? I do not see the VN1610 as part of the hardware type drop down?
10-10-2015 10:19 AM
I have no sure but, when I analyzed the code, I realized that VN16xx don't works with this code
Thanks
Henrique