View Single Post
  #2   Spotlight this post!  
Unread 12-03-2015, 08:48
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: IMAQdx -- how do I set the camera mode?

According to the reference manual, it is a U32. I'm not used to using in in C, but I'd expect videoMode to be writable. I'm not sure why the driver returns a 0 for writable. Type 4 seems to indicate that it is an enum. If you search NIIMAQdx.h for IMAQdxValueType and take the fourth element from the enum, it is IMAQdxValueTypeEnumItem, indicating that the value of that tag has a list of enum strings if you ask for them.

Greg McKaskle