using VMIC VMIPCI-5565 with acutronic 2 axis table
이전 댓글 표시
we want to communicate with acutrol 3000 table using VMIC card 5565, so is there any specific command reference for each instrument or General commands are used for all instruments.
thanks
댓글 수: 2
Walter Roberson
2011년 6월 10일
"reflective memory" ? I do not think I have encountered that term before?
Rena Berman
2017년 1월 24일
(Answers dev) Restored question.
채택된 답변
추가 답변 (2개)
Safiya
2011년 6월 19일
0 개 추천
댓글 수: 1
Walter Roberson
2011년 6월 21일
In MATLAB, the string '*idn?' would internally use 16 bit characters. The device very likely needs 8 bit characters, so you will need to use uint8('*idn?') and write that.
Jaime
2011년 6월 21일
0 개 추천
Mr. Roberson above is right and thanks for his response. I was unaware that internally MatLab was 16-bit chars ("wide chars" in other languages), but in terms of the ACUTROL interface I do know that it takes 8-bit chars. So thanks again for the clarification. In terms of getting the command reference manual, yes indeed it exists and you should get it from the manufacturer. Their website is www.acutronic.com and from their technical contact information the email address is service@acutronic.ch
댓글 수: 1
Walter Roberson
2011년 6월 21일
The documentation for char() indicates it supports code points up to 65535; the documentation about how Locale is used indicates that although MATLAB will use the current character set, code points above 65535 might not work properly.
Or you could just try
>> 0 +char(100000)
Warning: Out of range or non-integer values truncated during conversion to character.
ans =
65535
This isn't usually a problem if you are writing to a serial port as serial port output normally converts to 8 bit characters, but this would be a problem if you are using shared memory.
카테고리
도움말 센터 및 File Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!