01-30-2021 11:25 AM
Hi,
what´s wrong with this? I don´t get any error. The clipboard is empty.I want to make a screenshot of frontpanel.
The same version with invoke node "print" is working fine
Thank you
01-30-2021 11:27 AM - edited 01-30-2021 11:28 AM
Hallo Hulk,
@Hulk1978 wrote:
what´s wrong with this? I don´t get any error. The clipboard is empty.
There is no clipboard involved in your snippet, so why do you expect any data in the clipboard?
This snippet just gets the frontpanel image and provides it in the "Bilddaten" indicator…
01-30-2021 11:33 AM
Because of same reason why the printer invoke node is working.
01-30-2021 11:35 AM - edited 01-30-2021 11:41 AM
Hallo Hulk,
@Hulk1978 wrote:
Because of same reason why the printer invoke node is working.
Which "same reason"?
When you print something using an invoke node then you send some data to a printer. I expect this works as expected.
When you request the frontpanel image of your VI then you get the frontpanel image of your VI. Why do you expect it to be copied to the clipboard when you don't program it that way?
You need one more invoke node to write data to the clipboard…
01-30-2021 12:17 PM
does the second invoke need a reference too?
The clipboard is still empty. But saving picture is working.
thanks
01-30-2021 12:49 PM
i checked with read clipboard invoke. It´s not empty. But copy picture is not possible