View Single Post
  #2   Spotlight this post!  
Unread 02-26-2016, 08:07 AM
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 298
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Changing Camera Aspect Ratio in Code

If you want fine tuned control of your camera you'll probably need to ditch USBCamera and write your own wrapper.

First, find all supported capture modes on your camera with IMAQdxEnumerateVideoModes(). Find the mode you want, and set it using IMAQdxSetAttribute() with IMAQdxAttributeVideoMode. Further IMAQdx documentation should be in C:\Program Files (x86)\National Instruments\Vision\Help
Reply With Quote