10-24-2024 12:23 PM
Basicamente oque eu queria ajuda é pra conseguir fazer com que eu consiga pegar uma imagem dos meus arquivos, e inserir no meu projeto, se isso seria possível
10-24-2024 12:31 PM - edited 10-24-2024 12:32 PM
Hi Marcus,
@MarcusP. wrote:
Basically what I wanted help with was how to get an image from my files and insert it into my project, if that would be possible?
Basically it would help when you would write your questions in English so we all could read them.
(Otherwise there's a Portuguese regional board…)
On your question: You can drag&drop any (image) file into your project, so what is the real problem?
10-24-2024 12:35 PM - edited 10-24-2024 12:36 PM
@MarcusP. wrote:
Translated by Google: Basically what I wanted help with was how to get an image from my files and insert it into my project, if that would be possible.
Your question is not clear.
You can add any file, including pictures to a LabVIEW project by "right-click..add..file.." or even just drag.
You can also paste any image to the front panel or diagram of a VI as static decoration.
You can use an image indicator and load the file with suitable code.
10-24-2024 01:25 PM
Ok, I’m going to be honest. What I wanted to say is that I need to use a graph in a report, and to do that, I’m trying to use a different method to insert it.
How so? Well, I know how to generate an image from part of a VI and save it in a folder. The idea was to find a method to take that image from the folder and use it in the report (yeah, it’s quite a workaround). But I need some way to insert this graph image into the MS Office Report process, and honestly, I don’t know how.
10-24-2024 01:45 PM - edited 10-24-2024 01:45 PM
It is still not clear at all.
Did your "original" method work (what was it)? Then why are you now trying to use a "different" method?
I assume you are creating the report using LabVIEW and the report generation tools, right?
Is this just a picture of a graph indicator?
You can load an image file into a picture indicator and use that in your report.
10-24-2024 02:07 PM
"Ok, I’ll share my .vi to give more context. I had another method where I would send the data to Excel, and by using a reference, I would grab the range and replace it in the 'report' I was working on. However, in that case, I couldn’t keep the graph (I wanted it to be the same as the one in LabVIEW).
This brought up a question: is it possible to send images to the 'report' using MS Office Report? From what I’ve seen, it doesn’t seem possible, so I need help understanding how I can insert the graph image into my Excel report."
10-24-2024 02:45 PM
vc pode usar a funcao INSERT OBJECT , ele aceita o arquivo de imagem q vc quer inserir
10-24-2024 02:47 PM
GerdW vc pode usar Google translator, muitas postagens aparecem aqui em outras linguas, nao necessariamente so em ingles.
10-25-2024 01:05 AM
Hi LVNinja,
yes, I know how to use GoogleTranslate.
But wouldn't it be nice by the OP to ask in English (and do the translation once) instead of (most of) us need to go to GoogleTranslate to translate the messages again and again?
(With the same argument of yours I could write all my answers in German: the OP could use GoogleTranslate to translate them to Portuguese.)
There's a reason we have a (mostly) English worldwide forum and several "regional boards" for other languages…
10-25-2024 06:50 AM
Hi, everyone! First off, I apologize for posting in the wrong forum. I didn’t realize I was in the [American forum], so that was my mistake. No need for any arguments—let’s just move past that.
On to the main point: I’m trying to use an image in Excel. Thanks for the advice, LVNinja! Here’s my plan: I’ll create a .vi that generates an image of the graph, then in the next .vi, I’ll replace an array in Excel and see how that works.
Thanks again for the input!