05-06-2021 09:56 AM
Hi MarcusB
Now I want to use a IVN 8561 to test a ECU.
1. I plan to use a cable to connect to my PC and 8561 RJ45 port. So now my question is the cable should be crossing-line or parallel line?
2. Regarding the software, I plan to use the labview, is there any special API for the 8561? Or I don't need to consider the 8561, just use the standard function such as TCP open connection VI?
3. Do I need to use the X-net driver?
4. There is a pic about the IP address in my spec.
a. Do that mean I need to set the IP address 172.16.4.14 in the labview, at the same time set the PC IP address to 172.16.4.1?
b. Do I need to configure the MAC address?
c. Why the tester MAC address changed, in my opinion, it should be fixed by the PC vendor.
d. How to understand the IP address is different for the ECU Tx and Rx?
e. At the same time ,what do the 0x803 used for? It looks like a CANID.
Could you help to check my questions? Thanks
05-06-2021 11:30 AM
Hi Jason,
1. The 100BASE-TX PHY supports Auto MDI-X, so either cable type should work.
2. You are right; there is no special API for the 8561, so you can use the standard TCP or UDP VIs.
3. The NI-XNET driver is not required—the 8561 does not require any device driver.
4a. Yes, you would need to configure your PC's IP address to match Tester and use the ECU's IP address in LabVIEW as the target address.
b. Whether you need to configure the MAC address would depend on your application, but you cannot configure the MAC address for your 100BASE-TX ports through LabVIEW. There may be a way through your PC's settings.
c. As for why the MAC address is different, perhaps the tester needs to emulate multiple devices or there is a switch with multiple testers connected. If you do need the flexibility of changing the MAC address on the same interface in your application, I would recommend the PXIe-8521 because it supports multiple MAC addresses on the same interface using the NI-XNET Automotive Ethernet Socket API.
d. Same answer as 'c'.
e. I'm not sure what those values are exactly. Perhaps they represent payload data?
Hope this helps.
- Marcus
05-08-2021 06:03 AM
Hi MarcusB,
Thanks a lot. That is so helpful.