Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/07/2010 in all areas

  1. [LV2009] I noticed this in an error message for Community Scope using Classes: Point #4 says that Community Scope VIs CAN be accessed from inside LabVIEW Classes inheriting from the owning class. However, that is not correct, LabVIEW has strict rules for Friend Classes for security reasons, for example as per this slide: Is there an error in the error help (is my comprehension correct)? Or is Point #4 referring to something else?
    1 point
  2. Add a '[text]' to the end of the request string. That will instruct something in datasocket. And please use something else for posting (and annotating) a codesnippet. The Code Capture Tool for instance. Ton
    1 point
  3. The UI thread is most likely the main thread that gets started up by Windows when the LabVIEW process is created. This thread then creates additional threads that are used for the different execution systems. The UI Thread is actually the thread that drives the Windows message loop. As such it is in fact responsible for distributing all Windows events to LabVIEW (Windows UI) and it is also the thread LabVIEW uses to draw to the screen for any and all of its windows (so it is the LabVIEW UI and the VI(s) UI too. Also some other things that need to be synchronized with Windows are done there and also anything the LabVIEW programmer assigns to that Execution System. LabVIEW is responsible to assign code fragments to the various threads and put them in active and passive state as needed. Windows does the preemptive switching between the active threads (and other tasks/threads in the system). Rolf Kalbermatter
    1 point
  4. I thought I would wrap up this thread by letting all know of the solution. It's a bit dependent on how much horsepower your PC has but it's PLATFORM INDEPENDENT :thumbup: SIDE NOTE: Mario, I was just looking to display the image (end side note) I have found a way to hack into the picture control to allow fast redraws of streaming video. Assuming you get your video data in a 1-d array of U8 (but concept can be adjusted for any vid format). If you use the standard "Draw Unflattened PixMap" for your first frame, to format all the picture data/header info And then for every following frame, simply replace only that portion of the picture data within the bytestream. You can reach framerates in excess of 30 FPS with only the PICTURE CONTROL. There are a number of other assumptions going on here, but for the sake of space I'll stop here. Happy Hacking ~,~ The Captain
    1 point
×
×
  • Create New...

Important Information

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