hye...can someone help me

I got the problem connecting encoder with PCI6221 card with real time window target..can someone help me how do setup in real time window targat matlab 2011a form this encoder input.

댓글 수: 4

Walter Roberson
Walter Roberson 2012년 8월 14일
pic6221 -- that's a National Instruments part number, isn't it?
Which MATLAB version are you using, and are you using 32 or 64 bit MATLAB, and are you using the legacy interface or the session-based interface?
hafiz fahami
hafiz fahami 2012년 8월 15일
hello Walter Roberson... tq for your attention
i'm using matlab2011a 32 bits, window xp and session - based interface.. with pci6221 (68pin)
i already wire the encoder to PCI 6221 pin .... where wire A - to pin 37, wire B - to pin 45, wire Z - to pin 3
+V0 and 0V encoder to supply voltage ( range 5-24 V )
and in matlab using real time window target, i drag only encoder input block scope and display block.
i set up my sampling to 0.001 solver : fixed step... input channel : 1 quardrature mode : quadruple reset input fuction : reset output data type : double
after i build and run...when i turn the shaft of encoder still no number display at display block diagram
What cause of this problem?
Jan Houska
Jan Houska 2012년 8월 15일
What do you mean by "no number"? Does the display show zero? Or nothing at all? Have you tried to connect Scope instead of Display? What does the Scope show?
hafiz fahami
hafiz fahami 2012년 8월 28일
hello Jan Houska tq for your attention.
"no number" means that the display block digram only show value of zero, and i already connectec with scope...the scope shows street line zero.
what cause the problem?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 System Configuration에 대해 자세히 알아보기

질문:

2012년 8월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by