Matlab xPC target USB?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello folks,
If I am attempting to communicate with an external device such as a GPS (driver installed) and it shows up as a COM port on my computer even though it is hooked up via USB on the xPC target, can I still use the RS232 library from xPC target to read/write to the device?
Thank you, Rob
댓글 수: 0
채택된 답변
Walter Roberson
2012년 5월 24일
USB virtual serial ports require a device driver in order to communicated with as serial ports. If your xPC includes the appropriate device driver then you can use the RS232 library.
I know that some USB support is being offered on xPC now, but I have not examined the documentation to find out whether USB serial ports are one of them.
댓글 수: 6
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Target Computer Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!