Hi Scot,
you should set the option input of the 'Open VI reference' to
8, this will open a new reentrant instance of the VI (like a memory copy).
Here's the
help on this:
If you target a reentrant VI and do not use this
option, this function returns a reference to the VI without allocating
a parallel data space for the VI reference. When you do not use this
option, multiple calls to this function for a reentrant VI return
references to the same VI with the same data space, and this function
does not clone the VI.The tool suggested by Ravensfan was partly written by me, it is great for your purpose, you select the part you want to capture, start the tool (Tools->Code Capture Tool), review your setting (FP-none, BD-selected, Clipboard-FileName), finish the capture.
Then you switch over to your internet browser, in the file dialog you past the file name from the clipboard and the file is attached.
Thanks Raven.
Ton
Message Edited by TonP on
05-29-2008 06:21 AM