PDA

View Full Version : ViewPort ???



CannibalRobotics
03-20-2009, 11:52 PM
I'm trying out the demo version of ViewPort. I want to watch two variables, BaudRate and ControlMode.
These are relevant·cuts from my top object spin code.


var
...
long BaudRate,ControlMode
...

OBJ
...
vp : "Conduit"
...

PUB Start
vp.Share(@BaudRate,@ControlMode)
...

According to my read of the VP·documentation, this should be all I need to see the two variables in a viewport window. The code compiles, loads and seems to be running fine by all other indicators on the prop.
VP·will show me my code in the code window, it says 'connected at 1000kbps...' and the memory clock is ticking away. I can connect and stop with no apparent problem.
All I see in the terminal window is "Edit Variables" but no list.
What next?
Thanks,
Jim-


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Signature space for rent!
Send $1 to CannibalRobotics.com.

Hanno
03-21-2009, 01:42 PM
Hi Jim,
You're really close!
In the "ViewPort" panel (which contains the section "Edit Variables" you mentioned) you should also see a "Overview" heading. There should be 2 variables, v1 and v2. Next to those, you'll see 2 empty circles, click those to view the variable, or edit it. Click on the variable name itself (v1 for example) to start the channel wizard, where you can specify the name and much more... See attached screenshot.
Hanno