FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN with [c]FP

Hello everybody,

does anybody know how I can read from CAR Area network with [c]FP 2020. I want to use a modul from softing witch converts CAN 11898 to USB. From there I want to use a USB -> RS232 converter to read the CAN message with the [c]FP serial port.
I'm not sure if the CAN vi's of LabView can handle with such kind of CAN interface. I think the LabView vi's needs a "real CARD" or I'm wrong?

Thomas
Thomas
0 Kudos
Message 1 of 7
(4,347 Views)
Thomas,

The NI-CAN VIs only work with National Instruments CAN cards. You will need to write your own VIs.

Most USB<->RS-232 converters that I know personally know of are designed such that the USB port goes into the computer. I do not know how any would work with the USB going to a device. The converter may not have enough intelligence in it to convert without a computer present. You would be better off using an RS-232<->CAN converter rather than a CAN<->USB and USB<->RS-232. One RS-232<->CAN converter is the CANSTB from B&B Electronics, the info page is http://www.bb-elec.com/product.asp?sku=canstb .

Regards,
Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 2 of 7
(4,346 Views)
Thank you for your suggestions,

I'll try out this. At first I want to use the "basiCan" from www.goepel.com, because they develope with LabView and they have already vi's and a CAN simulator. But the price just for one modul is more than € 2000 w/o software.
I think when I buy two of "CANSTB" I can write a own simulator which writes to the modul on COM1 and a consumer vi wich reads from the modul which I'll plug into COM2.
It's just a parsing of a couple of bytes 😉 I don't yet how I will do this but it will be. I've the forum.

Thomas
Thomas
0 Kudos
Message 3 of 7
(4,342 Views)
we have very recently tried IXXAT USB-CAN converter, they have CAN DLL with LabView wrappers. It's easy to install & go. It's got a good monitoring GUI as well that comes with it for monitoring CAN packets.
0 Kudos
Message 4 of 7
(4,328 Views)
Thanks,

but I don't think that the DLL will works on a Real time system like the NI [c]FieldPoint 2020 or?
Thomas
0 Kudos
Message 5 of 7
(4,327 Views)
I would highly recommend going with the solution from Göpel. Göpel is one of NI's most reliable alliance members with lots of experience in LabVIEW, LabVIEW RT and automotive applications in general.

By the way: DLLs work on LV RT targets as long as they use the supported subset of Win32 calls. Please follow this link for more information.

Best regards,

Jochen Klier
National Instruments Germany
0 Kudos
Message 6 of 7
(4,299 Views)
Hello,

thanks for the answer. Fa. Goepel is in my pipe, but they are very expensive. I think I'll use a CAN to RS232 converter from B&B electronic or from www.squarell.com. They support ASCII -> RS232 -> CAN. They convert the ASCII "stream" to CAN 11898 or J1939 and the price is just 5% of the price from Goepel. Unfortunally they dont have VI's yet. I'll develop my own.
I believe this is gap in the NI product palette. For people how wants to read and write low speed CAN messages and who are not ECU developers, just oversized hard and software is available.
Thomas
0 Kudos
Message 7 of 7
(4,296 Views)