LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I programmatically make a printout of an ActiveX container, as a part of a report ??

There is no such functionallity in Repoprt Generation toolkit.. . .  what I can see.. . .(?)
I also tried to walk around the problem, by making the container as a part of a cluster to use ctrl ref. and "Append ctrl image to report.vi". Was not possible. Even not when I tried again, - very very very fast. . .  . 
 
Any suggestions ??
 
sveinErik
0 Kudos
Message 1 of 3
(2,697 Views)

Hi sveinErik,

i am not sure if i understand what you want? First i thought you want to combine a print out of an activex container, for exaple an excel page, with something special from your labview code, but this part



sveinErik wrote:
...
I also tried to walk around the problem, by making the container as a part of a cluster to use ctrl ref. and "Append ctrl image to report.vi". Was not possible. Even not when I tried again, - very very very fast. . .  . 
...


irritate me. So can you please explain what you want to do?
 
Thanks
Mike
0 Kudos
Message 2 of 3
(2,681 Views)

Sorry for beeng that imprecise/incomplete in my question Mike. Here comes a new try  🙂

My basis is a 3D Surface-control, witch is an activeX container. I want to print out the image of this object as a part of a Word-report. Well, - one solution was to use "Invoke node"/"Get Image" methode on the "3D Surface Control" and  "Draw Flattened Pixmap.vi" on the "Image Data Output" of the invoke node. Then create a "Picture" indicator on the vi's picture-output and  make a "Picture Reference" for the picture, - and then use this "Picture Reference" on "Append Control Image To Report.vi" (Report Generation Tollkit.)

This seems to work properly, but I've got a new challenge : I cant get the resolution I want. The print-out seems to be 8 bit, even thought I ask for 24. Can you advice Mike ? And also, - is there many better ways to solve the "3D Surface control image to Word report"-task ???

 

Thank you

sveinErik

(svein.erik.westby@simrad.com)

 

0 Kudos
Message 3 of 3
(2,650 Views)