03-30-2009 08:20 PM
Hi
I am in need of some urgent help.
The problem is that in my source code, at the end of the testing, I take a picture of the front panel and save it as an image and also print it on the printer. While everything works in the LabVIEW mode as intended, the problem occurs when I build the executable. In the executable, the image it saves in the image file is missing. The printing part works though, but the imgae file looks like as attached.
I am also attaching the subVI that captures/prints the image of the main VIs front panel.
I am using LabVIEW 8.6 and Microsoft .net ver 3.5 SP1
Thanks.
jeet
03-30-2009 10:33 PM
You should get the image the same way you are doing the print - by using the reference you are passing into the subVI.
p.s. Get rid of the sequence structure. It does nothing except hide your code. You've got error clusters that can be used instead.
03-31-2009 11:47 AM
Hi Dennis
Thanks for the response. The problem is that if I input the the VI reference to the invoke node and use the FP.Getimage method,
then the executable crashes at that point where the invoke node is executed. To fix this i came up with this alternative method
that you saw in my attached VI.
- jeet
03-31-2009 02:02 PM
Jeet,
If you always want it to print the front panel when it finishes executing, you could select Print on Completion from the Operate menu.
I hope this helps.
-Christina
04-07-2009 02:24 PM
(NOTE : one cycle of sinwave have 100 sample if have 2 cycle then it would be 200 sample)
my question is how to detect that sample value and put into array????
04-07-2009 02:34 PM