|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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. Last edited by Bryscus : 21-01-2012 at 23:48. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|