Go to Post We are not here to build robots, or to win a contest, or to travel to cool places or to bring home trophies. we are here to see what a career in engineering and science is like; anything else that happens along the way is frosting on the cake - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2012, 19:08
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
niimaq.h and NI-IMAQ MISSING

Hi,

I have an NI Vision Assistant "script" which generated PC-C code for us. It will be using the Axis to acquire images. In the main.c file, it does:

#include "niimaq.h"

I cannot find this file anywhere. :-(

I have seen mention of the NI-IMAQ product being in Program_Files\National_Instruments\NI-IMAQ but our computers do **NOT** have that directory.

It seems we are missing a download/installer. Where do we get this?

Thanks,
bob
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2012, 00:18
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: niimaq.h and NI-IMAQ MISSING

Talking about NI Vision Assistant, when I run it, it popped up the licensing dialog. If I clicked "Activate", it gave me the error "An unexpected licensing error has occurred, contact National Instrument support blah blah blah". So the question: is NI Vision Assistant part of the NI licensing like LabView or do we have to pay extra for this license? BTW, what does this tool do?
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2012, 00:45
Tommy.Brown's Avatar
Tommy.Brown Tommy.Brown is offline
Lead Programmer
FRC #1477 (Texas Torque)
Team Role: Programmer
 
Join Date: Jul 2011
Rookie Year: 2011
Location: The Woodlands
Posts: 27
Tommy.Brown is an unknown quantity at this point
Re: niimaq.h and NI-IMAQ MISSING

I do not have the answer to the activation question, however I do know what the Vision Assistant does.

From my experience with it I have figured out that:
1) It is as it says it is, a Vision Assistant. You can import a photo, and perform all sorts of processing to the image.
2) It is written in LabView, which means that all of the image processing "methods" that it uses are exactly the same as the robot will use if it were programming in LabView. This means that you can easily calculate threshold vales and such on the computer, and then just apply the changes in code. This further supports number 1.
3) It can stream video from the Axis Camera and upon one's command it will save the frame, so you can perform the vision processing on the actual image that the robot will be receiving.

So far the only reason that I have used it is to hook up a camera to a laptop running the Vision Assistant, stream the video and save the frame. Get new threshold values and settings and then I was easily able to just change some parameters and variables in code with C++.
__________________
FRC Team 1477 - Texas Torque
The Woodlands, Texas
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 15:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi