09-23-2015 06:18 PM
Hi, I'm trying to send an email including a file attachment. The file I want to include is generated by the 'write to measurement file' function with a user-specified file path input. When I try to connect the file path to the SMTP Attachments VI, I get an error saying that the source is a file path but the sink is looking for a 1D array of file paths. Is there a way to convert the originial file path into an array of paths, or an alternate method to attach the file?
I've also tried using the old 'SMTP Send Email with Attachments' function by converting the file path into a string and inputting that as the attachment path, but it also didn't work.
Thanks!
Solved! Go to Solution.
09-23-2015 06:39 PM - edited 09-23-2015 06:42 PM
Using the build array tool from the arrays menu should do exactly what you are looking for.
09-24-2015 09:23 AM
Worked perfectly, thanks!
03-10-2016 12:21 AM
Hi,
Can you share your VI
i am getiing error 56.