Products for USB Sensing and Control
It is currently Sun May 26, 2013 12:27 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jan 19, 2010 6:15 am 
Offline
Phidgetly

Joined: Wed Jan 16, 2008 6:05 pm
Posts: 45
Hi,

I am having an issue that hopefully someone here can help me out with. Here are the details:
Sofware:
Windows XP
VB6, (SP6)

Hardware:
PC -> Phidgets SBC -> Phidgets Advanced Servo

Application:
VB6 app that uses an Access database to store positions for the various servos, and position them according to the stored values.

Issue:
If I run the program it connects to the servo and runs properly. Closing the program and re-opening it gives the following error:
Runtime Error '-2147417851 (80010105)' Method 'Open Remote' of object 'IPhidgetAdvancedServo' failed.
I get the same error when I go from one form (the database form) to the other (operating form) in the same program. I am sure it has something to do with the way I am opening and closing objects, but I am not sure exactly what.
I am closing the servo object in the 'query unload' event on each form.
Any tips on how to handle this properly? Otherwise the SBC and the Advanced Servo work great.

Thanks,
Dan Hoskin


Top
 Profile  
 
PostPosted: Tue Jan 19, 2010 10:42 am 
Offline
Lead Developer
User avatar

Joined: Mon Jun 20, 2005 8:46 am
Posts: 2351
Location: Canada
If you attach the advanced servo directly to the computer and use open instead of openRemote - do you get the same behaviour?

-Patrick


Top
 Profile Send private message  
 
PostPosted: Tue Jan 19, 2010 6:19 pm 
Offline
Phidgetly

Joined: Wed Jan 16, 2008 6:05 pm
Posts: 45
No it does not do it when connected directly. What am I missing?

Dan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group