06-19-2023 09:37 AM
Hi Sir,
I did not experienced can bus device control, but it seems it is very common for automotive.
Thus I want to know the logic clearly:
1. Firstly the PC or laptop need a can card, or a convertor, just like the GPIB card and usb to GPIB convertor, right ?
2. Secondly, after i install the labview, i did not see any "can bus" function, so we need to install third-party lib ?
3. After the above action, we can find the ID in Ni-MAX, then we can communicate the device by the commands of off-the-shelf(provided by supplier) ?
Thanks.
06-20-2023 04:15 PM
1) Yes
2) Yes, except if you choose NI hardware it's not a third party hardware but an NI driver
3) Depends on 2), if you used a NI hardware then yes you can see the device in NI Max, if it is a third party hardware, then no, you can not see that in NI Max.
06-21-2023 10:15 AM
For item 2, i saw some third-part hardware in online shop, it is much cheap, i guess it need the third-part dll, just like some usb-i2c tools.
I watched some videos of NI-XNET:
1. XNET monitor: this is just like logic analyzer for I2C,to monitor the data back and forth, right ?
2. XNET database: this is to define the frame format of the 8 bytes;
3. General logic for communication: we can read both the frame or single bit, flow chart is something like open connection-->read/write-->close connection ? where i can get some samples ?
Thanks.
07-11-2023 10:55 AM
@Brzhou wrote:
Hi Sir,
I did not experienced can bus device control, but it seems it is very common for automotive.
Thus I want to know the logic clearly:
1. Firstly the PC or laptop need a can card, or a convertor, just like the GPIB card and usb to GPIB convertor, right ?
2. Secondly, after i install the labview, i did not see any "can bus" function, so we need to install third-party lib ?
3. After the above action, we can find the ID in Ni-MAX, then we can communicate the device by the commands of off-the-shelf(provided by supplier) ?
Thanks.
My first suggestion would be to post this under [Additional NI Product Board --> Automotive and Embedded Products].
Now, CAN bus seems quite simple and with a two-wire connection (CAN-L & CAN-H), how difficult can it be? The answer is that unless you know all about the device you are trying to connect (Baud rate, endian, ...) or are given the database files (A2L, DBC, ...) then you are probably going to be out of luck. Many suppliers keep this proprietary information to themselves and will only push the necessary data up to the ODBCII level.
07-11-2023 11:11 AM - edited 07-11-2023 11:12 AM
Wrong thread
07-31-2023 02:05 PM - edited 07-31-2023 02:12 PM
See an earlier description entry of the header connection information required here.