08-26-2008 05:44 PM
Hello, I have spent some time having a good look through the various posts on the forum and have got so far with my attept to place a JPG file into a specific area on an Excel spreadsheet.
To give some back ground knowledge the project i have written has the user fill in a pre test information page including the addition of a picture of the item under test. After the test, the user is given a post test page of information to complete before exiting to save data. The project then opens an Excel template and places the data both sampled and user inputed into the file. I would really like to also place the JPG image from the pre test to the Excel file in a specific area of cells. I have reduced the JPG image to a thumb nail size, so resizing is not an issue but placing the image on say a particular cell would be my goal. I have attache images of how far i have got & what i am trying to achieve im afraid my knowledge in this area is short. Thanking you now for any replies i may receive.
08-26-2008 05:55 PM
08-26-2008 06:08 PM
Hi,
Just so i can understand, I have the image already called from a saved file location as the picture was taken with a digital camera. During the running of the vi. th user clicks an ADD PICTURE button and is then asked to choose the image from a file. This JPG data is added to the main loop.
Are you saying that i have to save this image to a file and then input this file location to the addpicture filename connector?
I have already tried to add the file location of the original file to the addpicture connector but this didn't work, I may have been close but still no image apeared in the Excel spreadsheet.
Do you have any example code to look at? I would be most grateful.
08-27-2008 02:03 AM
I have managed to do it. I was going about it the right way i just needed to make sure the path to the file made it to the vi.
Thanks for your help.
08-27-2008 02:12 AM