Announcement

Collapse
No announcement yet.

Fast Clearing the Scope in Visi Genie

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fast Clearing the Scope in Visi Genie

    I use the scope widget to show a current and voltage measured.
    My scope is shown on a uLCD-32PTU with 210 pixels width.

    My problem is to clear (reset) the scope in a fast way before each new measurement.
    The refreshincrement is set to 7 which gives a smooth presentation of the measured data.

    I tried to clear the scope this way:

    for (i=0;i<210;i++) {
    genieWriteObj(GENIE_OBJ_SCOPE,0,0);
    }


    But this is very slow.
    Is there a better way?

    Thanks.

    Michael


  • #2
    Hi Michael,

    Do you use the Pro version of Workshop 4. It would be possible to do this much faster using magic code that comes as part of the Pro license.

    Best regards

    Paul

    Comment


    • Trendy
      Trendy commented
      Editing a comment
      Hello Paul,

      can you give me an example how the code looks in magic code? I have Pro Version and using Visie Genie. Thanks alot

      Best regards

  • #3
    Finally I bought the pro version. I will try it soon. Thanks

    Comment

    Working...
    X