Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/05/2011 in all areas

  1. The TCP examples are good starting points, so you should probably explain what you're tried so far and what you're actually trying to do - "build a tcp connection project" is uselessly vague.
    1 point
  2. WHOA. You can bundle event registrations?!!?!?!? WHY HAS NO ONE EVER SHOWN ME THAT TRICK BEFORE?!?!
    1 point
  3. At best, the Events are a bit like an occurrence, not a replacement for polling, just a good hint at what might be a good time to poll. The problem as AQ hints at, is that it can be tricky to catch all of the ways that a user can change the scale range. For example, what if I paste a new value, and then make another window active and then return to the FP. The new value is entered via this process without a key press or mouse click. Polling is a robust method to catch these changes. And since I started using LV long before the days of the Event Structure I will pass along a tip from the old days: a simple way to throttle the polling loop is to use the "Wait for Front Panel Activity" function with a long timeout (500 msec). Keeps it responsive when necessary, and out of your way when nothing is happening. In many instances I do not display the Marker values for a slider, and I actually use separate controls to set the range. This makes it very easy to detect the value change.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.