View Single Post
  #1   Spotlight this post!  
Unread 09-01-2012, 11:18
dashivachase dashivachase is offline
Registered User
no team
 
Join Date: Jan 2012
Location: United States
Posts: 1
dashivachase is an unknown quantity at this point
Logitech Game Controller for use in Labview with Possible disconnects

Hello all, I would like to see if there are any suggestions on the following issue. In effect I am using a Logitech game controller to manipulate large scale robots. During operation with these robots I need to plan for the inevitable "accidental" disconnection of the game controller from the computer running labview while it is under operation. Simple to say I can throw the system into standby upon the "ERROR" messages I get, but I want to programmatically be able to "reset" the controller (ie wait for it to be plugged back in) and have the program continue working. However with my work and research thus far that isn't the case. I end up with the same error (even when reconnected, attempted re-initialize, closing the connection, with time delays, and re-initailizing after closing all connections). Nothing seems to work other than closing the program and restarting it (which for the consumer this would be quite frustrating). Suggestions?

Also on a similar note if anyone has any ideas on how to scan for devices prior to using them would be helpful too.

I currently am running Labview 2009 in windows 7. I do realize windows has its unique way of dealing with plug and play devices, and suspect that I may have to play with these features, but I don't know this topic very well.

Thank you all in advance!