Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

When using imgPlotDC, how do you get the device context buffer to the view?

When using MFC, SDI, how do i get the device context to plot and image to the view. Do i have to make a bitmap out of the data first?
0 Kudos
Message 1 of 4
(3,522 Views)
Hello,

Take a look at the example that I have attached. The file "hlring overlay.c" makes use of the imgPlotDC function. If you haven't already, I would also suggest taking a look at the NI-IMAQ Function Reference Help that should have installed with NI-IMAQ. You can locate that help file by navigating from your start menu to Programs >> National Instruments >> Vision >> Documentation >> NI-IMAQ Function Reference.

Take a look at this example and that help file and let me know if you have any additional questions on this issue.

Regards,
Scott R.
Applications Engineer
National Instruments
Scott Romine
Course Development Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,522 Views)
Thanks for that mate
0 Kudos
Message 3 of 4
(3,522 Views)
You're very welcome!

Scott R.
Applications Engineer
National Instruments
Scott Romine
Course Development Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,522 Views)