Hi, I'm downloading a file from the host computer to the modules. When I downloaded the data to the four module at the same time (with 4 threads), I'm getting communication failure ~ 20% of the time. When I synchronized the software, so it will download two modules at a time (using one port from each card at a time). The communication failure disappeared. I just wonder if the NI-CAN software & PCI-CAN/XS2 are thread-safe. I'd appreciate if anyone have any suggestion.
Information of the software & hardware
- Computer: Pentium4 2.8GHz, 512M Ram
- Development Tool: Borland C++ Builder v5
- NI-CAN v2.3 - The application is using Frame API
- PCI-CAN/XS2 (SW-Selectable CAN, 2 Ports)
- CAN bus: 500k High Speed
Thanks
Eric