Rambabu (ram++at++ivex3d.com)
Tue, 21 Jan 1997 17:05:37 -0500
Using BGFlybox;
Has anybody used the pfuFlybox utilities ? I was trying to use them
in simple.c and tried printing the analog/digital values, which doesn't
seem to work.
I was calling the funtions in this order
pfuInitFlybox();
pfuOpenFlyBox("/dev/ttyd2");
pfuGetFlybox(analog, digital);
....
while(1) {
.....
pfuGetFlybox(analog, digital);
printf(" %f %f %d, %d", analog[0], .....digital[1]);
.....
}
Is this order correct ? The man page says, pfuInitFlybox uses
pfuOpenFlybox and pfuGetFlybox(). I keep getting a message
" /dev/flybox" not found. Do I need to set any ENV variable
to fix this.
I did find that, "/dev/flybox" is hard coded in the pfutil library.
DO I need to change this and build a new lib or set some ENV variable ?
Thanks
Rambabu
ram++at++ivex3d.com
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:25 PDT