Xpc target이나 Real-time windows target 환경에서의 CAN 통신 문의

1 visualización (últimos 30 días)
Hyung-Tae Seo
Hyung-Tae Seo el 30 de Jul. de 2014
Respondida: Prateekshya el 15 de Oct. de 2024
현재 NI PCI-6251를 구입하여 xPC target이나 Real-time windows target 환경을 구성했습니다.
1. NI PCI-6251 자체에서 CAN포트를 지원하지 않는데 일반적으로 어떻게 구성하는지 궁금합니다.
2. 간편한 CAN 통신이 가능한 하드웨어 구입이 필수적이라면 그에 대한 PCI 보드의 제품군이 궁금합니다.
현재 Simulink의 xPC target이나 Real-time windows target 환경에서 CAN통신을 지원하는 블럭에서 보면
Softing CAN-AC2와 Vector Can device 블럭들이 지원되는데 CAN통신이 가능한 NI PCI-8511 보드는 지원불가능한 것인가요?
여러 관점에서 대답해주시면 감사하겠습니다.

Respuestas (1)

Prateekshya
Prateekshya el 15 de Oct. de 2024
Hello Hyung-Tae,
The NI PCI-6251 is a DAQ board that provides analog and digital I/O functions but does not natively support CAN ports. A separate CAN interface is required for CAN communication. Below is information on common configuration methods and related hardware for CAN communication.
Configuring CAN Communication:
  • Using a Separate CAN Interface Card: It is common to use a separate CAN interface card for CAN communication. These cards are installed in your PC and allow communication with a CAN network.
  • USB CAN Interface: USB CAN interfaces are also widely used due to their easy connection and portability.
Hardware Options for CAN Communication:
  • Softing CAN-AC2: This is one of the CAN interface cards supported by Simulink's xPC Target and Real-Time Windows Target.
  • Vector CAN Devices: Vector provides a range of CAN interface products that are well-supported in the Simulink environment.
  • NI PCI-8511: This board supports CAN communication through NI's XNET driver. However, support in Simulink depends on the version you are using and any additional packages you may have. Check if you can use the NI-XNET blockset to communicate with NI CAN hardware in Simulink.
I hope this helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by