ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Invoke node : export image doesn't work in subvi?

Solved!
Go to solution

Windows 7 64bit

labview 9, 32 bit

 

bug alert!!

see attached example vi's

 

The export image invoke node only works while the subvi is open, if called as a subvi and the subvi is closed this function fails to create an image.

 

Using the build XY graph express, I have created an xy graph.  Then created an invoke node to export the image of the xy chart.  When i call this vi as a subvi, it works, provided the subvi remains open.  If I close the subvi and run the main vi, no image is created.

 

Any explanations why this would be so?  Does labview 10 have the same problem?

-Regards

eximo
_______________________________________________
UofL Bioengineering M.S.
Neuronetrix

"I had rather be right than be president" -Henry Clay
0 Kudos
Message 1 of 3
(3,870 Views)

 

That's not a bug, Read This http://forums.ni.com/t5/LabVIEW/Export-simplified-image-failed-in-subvi/m-p/950004

 

You will get an Explanation and what should be used.

 

 

AshwiN,

 

Message 2 of 3
(3,861 Views)
Solution
Accepted by topic author eximo

So the simple answer is, whenever an image is desired from a subvi always use :  invoke node -> get image,  in addition to whatever image gathering code already implemented to force labview to update the image

-Regards

eximo
_______________________________________________
UofL Bioengineering M.S.
Neuronetrix

"I had rather be right than be president" -Henry Clay
0 Kudos
Message 3 of 3
(3,837 Views)