LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Como eu faço pra usar uma imagem dos meus arquivos

"So, LVNinja,

 

I need some help. I tried to make this work using the 'File Dialog,' but I’m not sure how to set the path for the image I want to use. Just to clarify, I create the image in the same VI, and then I plan to insert it into Excel."

This is what I'm doing.

MarcusP_0-1730140879835.png

In this part, I create an image of the visible items in the VI.

MarcusP_1-1730140928397.png

 Then, I send all the information I gathered to the 'MS Office Report,' with the idea of using the same file created to insert the image I made. Understand?

 

 

 

 

0 Kudos
Message 11 of 18
(332 Views)

isn't the path given in your vi that generates the image ?

 
 

LVNinja_2-1730147216685.png

 

0 Kudos
Message 12 of 18
(313 Views)

"Ok, I tried to make this work, but for some reason, when I put it in a sequence structure, it just doesn’t work. (Well, it wasn’t fully working before, but now there’s no response at all.) So, if you could help, I’d really appreciate it.

Just to explain, here’s the structure:

  • The first sequence creates the image.
  • The second prepares the information I gathered.
  • The third sequence, which isn’t working at all, is supposed to create the Excel file, send this information to a template, add the image to the same template, and save everything.

MarcusP_0-1730202982540.png

The idea is to insert the image in an empty space in the template and then display the arrays from the previous sequence. Now, I’m pretty lost."

0 Kudos
Message 13 of 18
(304 Views)

Is this some kind of joke ? 

MarcusP_0-1730223363030.png

When i finally make it work, this is what happend...

0 Kudos
Message 14 of 18
(284 Views)

"Why is the image formatted like that? Wasn’t it supposed to be fully expanded? Well, anyway, this is what I was able to do.

Now I just need to fix the image formatting, and it’ll be DONE."

0 Kudos
Message 15 of 18
(272 Views)

I dont even know how this is possible, but i got worse...

MarcusP_0-1730289927306.png

 

0 Kudos
Message 16 of 18
(268 Views)

Hi Marcus,

 


@MarcusP. wrote:

I dont even know how this is possible, but i got worse...


Why worse?

Now you have placed the PNG file content in your Excel sheet… 😄

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 18
(248 Views)

...

i see.

MarcusP_0-1730311239058.png

 

0 Kudos
Message 18 of 18
(244 Views)