Jump to content

Gribo

Members
  • Posts

    237
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Gribo

  1. The thread setting and execution mode (re-entrant vs non re-entrant) are set in the VI properties, under execution.

    Re-entrant means that the OS (Or the LVRTE) can stop the VI's execution, switch to another thread, switch back, and the VI should continue as normal. Non-reentrant means the VI has to finish execution before such context switch happens, otherwise bad things (tm) happen.

  2. You can copy the snippet. Explanation: The Bitmap is a constructor node, and you give it the image reference. Then you get the data, in this case, one RGB pixel at 0,0. If this works, the bitmap object has a method that returns the handle to the data.

    Edit: The Bitmap constructor is in System.drawing.

    If you are worried about tearing (capturing data from 2 different frames) you can use the PictureBox' VisibleChanged LoadCompleted callback.

×
×
  • Create New...

Important Information

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