Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   optical encoder feedback windriver (http://www.chiefdelphi.com/forums/showthread.php?t=72272)

darkorbit 17-01-2009 12:13

optical encoder feedback windriver
 
I'm just wondering how do I recieve data back from the optical encoder using windriver? Do I see it threw the console? or debug window? This is my code:


INT32 encoderValue = myEncoder.get();
cout << encoderValue;

wt200999 17-01-2009 13:15

Re: optical encoder feedback windriver
 
Quote:

Originally Posted by darkorbit (Post 802421)
I'm just wondering how do I recieve data back from the optical encoder using windriver? Do I see it threw the console? or debug window? This is my code:


INT32 encoderValue = myEncoder.get();
cout << encoderValue;

You should see it either one. Make sure you have myEncoder.Start(); as well

darkorbit 17-01-2009 13:34

Re: optical encoder feedback windriver
 
Quote:

Originally Posted by wt200999 (Post 802456)
You should see it either one. Make sure you have myEncoder.Start(); as well

I added that but I still get nothing.


All times are GMT -5. The time now is 02:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi