Jump to content


Photo
- - - - -

Ni vision (Get LCD ROI, Read LCD...)


  • Please log in to reply
1 reply to this topic

#1 mcride50

mcride50

    One hit wonder!

  • Members
  • 1 posts
  • Version:LabVIEW 2011
  • Since:2008

Posted 10 December 2011 - 05:27 PM

I want to make some reading with my usb camera display so "multimeter". I started with example "LCD Example"(LabVIEW\examples\Vision\3. Applications\LCD Example.vi ); I started new .vi and copy one image from example, but I don't know why is not working, ROI is same as it was...;

Can anyone help me, .vi and test picture are attached.

Attached Thumbnails

  • test.png

Attached Files

  • Attached File  test.vi   152.16K   139 downloads

Edited by mcride50, 10 December 2011 - 06:10 PM.


#2 hooovahh

hooovahh

    The 500 club

  • Members
  • PipPipPipPipPip
  • 809 posts
  • Version:LabVIEW 2011
  • Since:2004

Posted 12 December 2011 - 03:19 PM

I don't have vision installed on this machine, but if this is the example I think it is, your problem is with the fact that the IMAQ Get LCD ROI gets the ROI of the LCD by looking for 88 on the display. You can look at the help and it will create a ROI for the LCD if the 88 (or in this case 8888) is shown on the start. That's why the example will load the 88 first, then cycle through the other images (after the ROI has been setup).

Create a ROI that goes into the IMAQ Read LCD sub VI that is setup to have 4 ROI (one for each segment) and it should work.

"Maybe Hoovah is really Crelf's alter-ego, which he uses to irk people?" - Gary Rubin

"Seemingly minor changes....can mean the difference between a working app and a quivering heap of unresponsive code." - David Boyd