10-28-2008 08:19 AM
I need a program to communicate with my controller through an IFAK USB adapter. IFAK examples only support plain basic CAN (0xEA00) where I need to send (0x18EA00FA).
Has anyone done this or can someone direct me?
10-29-2008
04:15 PM
- last edited on
04-01-2024
01:06 PM
by
Content Cleaner
Hello bfeddeck,
I think you are referring to using an extended arbitration ID. I took a look at the IFAK examples and I think there may be an issue with the format of their "MessageID" control on the front panel. If you right click on the control and select "Representation" and then select U32, you should be able to input the ID that you want. I think you may have to also toggle the "bExtended" boolean below so that the driver registers that you are using an extended ID. According to their website, the device in question does support extended IDs.
Please note that all this is my best guess on the issue. I do not have the driver installed on my computer or the device in question to test with. I know that the NI-USB-8473, which is the NI USB High Speed CAN solution can also do extended arbitration ID in LabVIEW.
Have a great day!
10-29-2008 04:31 PM
I started by using the IFAK examples and I am able to receive messages but I can't transmit them. I don't get any errors when I transmit, but I don't get the expected response either. I was looking for an alternative way to communicate with my controller. I am using J1939 extended format. I know there are no hardware issues because I have another program on the same laptop that I communicate with my controller with.
Will any of the LabVIEW CAN programs work?
10-30-2008
08:07 AM
- last edited on
04-01-2024
01:09 PM
by
Content Cleaner
Hello bfeddeck,
The CAN driver will not work with the IFAK hardware. You will only be able to use our driver with our hardware. I suggested the one linked above, which should be similar to the one you are using. You can also look at all our other CAN hardware here. As for working with J1939 with our hardware, I suggest using our PCI interface, since it makes it much easier to encode the IDs for J1939. You will have to do a little more programming when using the USB-CAN interface, but it is still possible. The only limitation when J1939 is concerned is that you can only perform 8 bytes tranfers. If you want to transfer more bytes, you will need to perform multiple transfers on the bus. You can also post more questions about those here.
As for your current issue, at this point I think it would be best if you contacted IFAK technical support, as you are using their hardware and software.
(Does IFAK have a bus monitor program? I would suggest using this to monitor the bus and making sure you are sending the IDs you think you are...)
Have a great day.