LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I print an image under Imaq?

When I use imaqCreateImage() to create an image and display it as separated window or child window of the main panel, How can I print it to printer?Since PrintCtrl() needs the control ID(int), while the created image is image*, I don't know how to print my images. Maybe I should diasplay the image to Picture, which is initially hidden, and then print it? Thanks very much!
0 Kudos
Message 1 of 4
(3,549 Views)

Which Application develop tool do you use? CVI?

 

If using CVI, then the Control ID = constant name of PANEL + _ +constant name of the control.

 

Best regards,

NISH AE Haiping.Fei
0 Kudos
Message 2 of 4
(3,529 Views)

i am not the original poster, but thanks you very much for sharing your ideas, Roger.Fei

 

had you ever used the NI Vision Library, you would know that displaying an image is not done via a standard CVI control, but rather in a completely external window, for which we have no panel identifier nor control id. this feature, having a real image display control that integrate properly, has been asked in this same forum many times, but has still never been implemented. this missing features is a total miss from NI, proving (once again) that your Vision library is a bit out of reality, and far away from the expectations of your fellow users.

 

I wonder: how do you, people working at NI on the vision library, write a vision application and how do you manage to display the image properly on the screen ? have you ever shipped your application to a real manufacturing plant to be used by basic plant operators which do not know what a computer window is ?

Message 3 of 4
(3,516 Views)

Thank you very much, dummy_decoy. You said what I'm thinking. Maybe the engineers in Ni care more about Labview than LabWindows/CVI. It is really tough for me to use LabWindows/CVI & NI Vision to program. There're a lot of limits, which make the programming becomes silly. And as for this topic, I have to use another hidden picture control for the application of printing....

0 Kudos
Message 4 of 4
(3,460 Views)