Go to Post A FIRST fanatic who never had any desire to be an engineer. There. I said it. ;) - Katie Reynolds [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-01-2012, 22:19
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Saving Image from Axis Camera to cRIO

Guys,

I've tried using some of the imaq commands from the nivision.h library, but whenever I run the code, I don't see any images stored anywhere.

I've tried:

int imaqWritePNGFile(const Image* image, const char* fileName, unsigned int compressionSpeed, const RGBValue* colorTable);

int imaqWriteVisionFile(const Image* image, const char* fileName, const RGBValue* colorTable);

int imaqWriteBMPFile(const Image* image, const char* fileName, int compress, const RGBValue* colorTable);

And some others even.

For example: imaqWriteVisionFile(imaqImage, "filename", NULL);

I need this to see the progression during image processing.

Does anyone have any suggestions for a file path or if the fileName is expecting an extension? The code compiles and runs in most instances but just doesn't leave an image anywhere.

- Bryce

EDIT: Apparently it returns a non zero value on success and zero otherwise. I'll have to try this on Monday.
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.

Last edited by Bryscus : 21-01-2012 at 23:48.
Reply With Quote
 


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 13:36.

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