View Single Post
  #4   Spotlight this post!  
Unread 13-02-2012, 22:47
Method's Avatar
Method Method is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Ca
Posts: 38
Method is an unknown quantity at this point
Re: simple camera feed and LCD output

I have altered my approach. I just created tracking with the NI Vision Assistant. After doing so and using the tool to create C code, then hooking up to a project, I fixed a few errors in the generated code. I still have two I'm not sure about which occur within the generated c file.

//first instance of the first error
error: invalid conversion from `int' to `MeasurementType'

//only instance of the second error
error: invalid conversion from `void*' to `IVA_Result*'

//second of first error (argument 4 is of type MeasurementType with which I am having the first error)
error: initializing argument 4 of `int imaqMeasureParticle(Image*, int, int, MeasurementType, double*)'

//third of first error
error: initializing argument 4 of `int imaqMeasureParticle(Image*, int, int, MeasurementType, double*)'
Reply With Quote