Hello engflash,
Please see the example program located at "\samples\userint\custctrl\cviogl\oglarm.prj".
For further information, please go to http://www.ni.com and search for "+cvi +gl" then click on the KnowledgeBase article titled "Can I Use Traditional OpenGL Drawing Commands with the CVI OGL Control?".
Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask