05-07-2010 06:11 AM
Hi
I am trying to test the existing NI-PCMCIA CAN card low speed 2-port, in this manner.
I have connected the NI-PCMCIA can card on the PCI slot and i am also using another kavser leaf USB CAN dongle(single port), i have interfaced
a female-female-Dsub 9pin connector between the CAN-port1(NI can card) and Kvaser USB Dongle.
In my MAX panel the NI can card is detected and is alright.
I am executing a example VI i,e CAN-transmit-perodic.vi, on the other side i have the Kavser can king application open and trying to
see the data in the execution window.
I have not changed any parameters in the transmit-perodic.vi 125K is default baud rate, only i choos ethe can interface as "CAN1".
I am choosing the baudrate as 125k in Kvaser application to.
I am not able to see successfully the data transmitted by NI can card.
I would like to know where, i have gone wrong & do let me know the right metod of acheving this.
Have a look at the screen shot, where the output window is blank
Regards
05-10-2010 10:21 AM
Hello raghavendra,
It looks like your Kvaser dongle is set to HS (High Speed) CAN. You will need to set it to Low Speed if you want to communicate to Low Speed transceivers on the PCMCIA side.
If your PCMCIA transceivers are actually High Speed, then your problem is most likely termination. You will need to add a 120 Ohm termination resistor between the CAN_H and CAN_L lines on your cable...which makes me think of something else...are you sure that the CAN_H and CAN_L lines are on PIN 2 and Pin 7 on the Kvaser module?
05-10-2010 09:58 PM
Hi Proulx,
Thank you for the support, i am able to finish the excerise. I need some information
is it possible to communicate to a UUT based on CANopen, thru labview without the
CANopen library. what i mean is just use the existing CAN library and communicate to the
UUT(CAN open based).
Regards
05-11-2010 05:05 PM - edited 05-11-2010 05:06 PM
Hi,
You could implement the CANopen protocol in LabVIEW yourself, or implement a subset of the protocol.
But why reinvent the wheel 🙂
05-12-2010 12:46 AM
Hi Proulx.
Its just some time constraints, as we have an lowspeed PCMCIA-NI CAN CARD-2port
just trying to use the existing resource.
is there any sample program of CanOpen implemented in CAN...just initalisze and send a message(start node operation) to the device.
if yes, could just share it.
Regards
rags
05-12-2010 05:02 PM