LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I print a 3D-graph in CVI ?(Measurement Studio, CW)

I have created and used a 3D-graph in my Labwindows CVI program. The customer finds it very interesting as it shows exactly that what he's looking for. He would like to make a printout of the graph. I know PrintCtrl doesn't work. How can I make a printout from CVI ?
0 Kudos
Message 1 of 3
(3,045 Views)
Actually, PrintCtrl should work fine, it did for me. I opened our shipping example (cvi\samples\userint\activex\3DGraph.prj). In the Stop callback I added a line to print the control with the Stop button is pressed:

PrintCtrl (panelHandle, PANEL_3DGRAPH, "", 1, 0);

It printed fine. See if that works for you. If not, try changing the Bitmap printing mode with SetPrintAttribute. Try both modes.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(3,045 Views)
I have used the PrintCtrl command but if I try to print from the executable installed on the customer PC he gets a printout with "evaluation copy" on it.
So I checked if my license was OK with MStudioLicenseFixer. It reports my 3Dgraph-license to be OK. So if I create an executable normally the license condition is in the executable. Also sometimes when I use PrintCtrl the program doens't respond anymore.
0 Kudos
Message 3 of 3
(3,045 Views)