Go to Post I, for one, have no particular problem with singing, dancing and sex appeal. Mark Leon combines all that with a career at NASA! - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-03-2009, 22:59
mgoodell6 mgoodell6 is offline
Registered User
AKA: Mark Goodell
FTC #1902 (Exploding Bacon)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2005
Location: Orlando, FL
Posts: 3
mgoodell6 is an unknown quantity at this point
Capturing Camera Images to cRIO

I have not been able to get the frcWriteImage() function to work. I am using code from the WindRiver camera example but receive a frcWriteImage failed each time I try to save an image. Any help with this would be appreciated.

Here is the code I am using

if ( !GetImage (cameraImage,NULL) ) {
printf ("\nCamera Acquisition failed");
} else {
if (!frcWriteImage(cameraImage, "image.jpeg") ) {
printf ("frcWriteImage failed");
} else {
printf ("\n>>>>> Saved image to %s", "image.jpeg") );
// always dispose of image objects when done
frcDispose(cameraImage);
}
}
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving images/video from camera (LabVIEW) Chaos in a Can NI LabVIEW 3 16-08-2010 16:21
Connecting Axis camera to cRIO laultima FRC Control System 20 21-01-2009 16:56
Capturing images from a Flash file JohnBoucher IT / Communications 2 03-12-2007 15:14
Capturing Video from camera with Premiere 5.5 sanddrag IT / Communications 14 09-09-2005 04:45


All times are GMT -5. The time now is 09:50.

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