To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 4059
4058  |  4060
Subject: 
Re: Problem with VB an cybermaster
Newsgroups: 
lugnet.robotics
Date: 
Sun, 28 Feb 1999 20:11:13 GMT
Original-From: 
"Keith Miller" <kmiller@talon.net>
Viewed: 
1207 times
  
you need to make sure it's setup for the cybermaster..
it defaults to a RCX I think.

-----Original Message-----
From: Stefan Prescher <prescher@hermes.fho-emden.de>
To: lego-robotics@crynwr.com <lego-robotics@crynwr.com>
Date: Monday, March 01, 1999 12:22 AM
Subject: Problem with VB an cybermaster


Hi
Seems that I am a litle bit stupid. I am fighting with Visual Basic the
first time.
I want to program my Cybermaster.
If I press alive I get correctly that the Cybermaster is turned on.
But if I press Battery I get the errormessage "can not communcate with • brick
in Method PBbattery".
The cybermaster also will not do any other commands. What 's wrong?

Perhaps some one has a small programm, so I can learn how to do it.

My programm

Private Sub alivechek_Click()
If PBrickCtrl.PBAliveOrNot Then
   alive.Caption = "true"
Else
   alive.Caption = "false"
End If
End Sub

Private Sub Batterychck_Click()
battery.Caption = PBrickCtrl.PBBattery()

End Sub

Private Sub Form_Load()
PBrickCtrl.LinkType = Radio
PBrickCtrl.PBrick = Spirit
PBrickCtrl.ComPortNo = COM4
PBrickCtrl.InitComm
End Sub
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics


--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
4 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR