Thaw and Freeze Graph using code


Recommended Posts

  • 1 year later...


I tried to use this funtion but I don´t know where

I use a Quick Sequence but don´t work and I use a Sequience but doesen´t work too

I create a Vchannel.

While (1)
   If (v.Grafico1 == 0)
      (component.mygraph_1.YAxisFrozen = 1)


Can healp me?

Link to comment
Share on other sites

You can't put the assignment in parenthesis, so:


is invalid.  The correct syntax is:


Also note that you have an infinite while() loop with no delay.  I would strongly suggest adding a delay(1) or even delay(0.1) before the endwhile.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.