LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clipboard

hi, how can i read a image from the clipboard and display it in a
labview-panel? (i can read and display .bmp files)
thx
0 Kudos
Message 1 of 10
(5,100 Views)
hi Alfred,

find attached an example with pict ring.
I have opened jpeg-pictures I took during the flood last week in Dresden/Germany - in this case with photoshop.
Then copy this picture as if you want to paste it somewhere. Then go to LabVIEW - on your frontpanel should be placed a Pict Ring. Right click on this Pict Ring and paste your picture with "Import picture". If you want to add more pic's look to the menue around this action.

Regards
wha
0 Kudos
Message 2 of 10
(5,096 Views)
thank you, but i do not just want to watch the picture, i also want to
process ist. maybe i did not explain what i am searching for exactly. i want
to analyze the actual screen output from a program, this means i need a
pixmap-array from the actual windows screen. at the time i solve the problem
by using a captureprogram, wich saves the actual screen to a bmp-file, then
i read it again in labview. this solution is very slow and instable and has
high disk load wich is not necessary. i want to grab the screen directly of
simulate a pressing print key (works) and read from the clipboard (my
problem).
in nidevzone i found a example for labwindows, that allows to read a image
from clipboard into an array, and there is a IMAQ ClipboardToImage function
in the lab
view help, but i cant find the function.
thx for help
"wha@atmel" schrieb im Newsbeitrag
news:506500000005000000AD9A0000-1027480788000@exchange.ni.com...
> hi Alfred,
>
> find attached an example with pict ring.
> I have opened jpeg-pictures I took during the flood last week in
> Dresden/Germany - in this case with photoshop.
> Then copy this picture as if you want to paste it somewhere. Then go
> to LabVIEW - on your frontpanel should be placed a Pict Ring. Right
> click on this Pict Ring and paste your picture with "Import picture".
> If you want to add more pic's look to the menue around this action.
>
> Regards
> wha
0 Kudos
Message 3 of 10
(5,096 Views)
This is also what I need. Can anyone give us a sample code? Thanks. -Jianmin
0 Kudos
Message 4 of 10
(4,961 Views)

Try Image Toolbox at:

    http://www.geocities.com/gzou999/imgtool.htm

George Zou
0 Kudos
Message 5 of 10
(4,948 Views)
I have LabVIEW 7 and there are no block diagrams so it doesn't work for me. Thanks. -Jianmin
0 Kudos
Message 6 of 10
(4,944 Views)
Sorry, demo only available in 6.1 for now.
George Zou
0 Kudos
Message 7 of 10
(4,942 Views)
Import Bitmap demo is available for LV7.1 at:
George Zou
0 Kudos
Message 8 of 10
(4,912 Views)
How can i remove the Clipboard from the VI Hierarchy..??

the cilp boarding is giving the path to the subvis..

So the sub Vi is getting  its Access  slowly , When Called in  main VI..


regards
TIJU
Regards

Tiju Thomas
0 Kudos
Message 9 of 10
(4,185 Views)

The clipboard appears in the hierarchy if there are any VIs in it. You can remove the VIs by copying something else into the clipboard (like a constant).

Even so, this should not cause the VI to run slowly.

If you still have a question, you should start a new thread and describe your problem accurately, preferably with some code.


___________________
Try to take over the world!
Message 10 of 10
(4,163 Views)