Shop OBEX P1 Docs P2 Docs Learn Events
ViewPort ??? — Parallax Forums

ViewPort ???

CannibalRoboticsCannibalRobotics Posts: 535
edited 2009-03-21 06:42 in Propeller 1
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.

Comments

  • HannoHanno Posts: 1,130
    edited 2009-03-21 06:42
    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
    760 x 686 - 118K
    vp.png 117.8K
Sign In or Register to comment.