Jump to content

Digital Camera in a PPC


Recommended Posts

Hi,

i'm developing an app that has to use the digital camera embbeded in a Pocket PC.

I would to know if anyone can give some tips in the best way to work with the

digital camera using LabVIEW PDA Module.

I'm interesed in a solution with no costs. I think NI has some VIs that can adquire images but those are paid.

Thanks in advance,

Pedro

Link to comment
  • 8 months later...

LabVIEW PDA 8.0.1 ships with a new "Camera Capture" VI that allows you to acquire an image via Pocket PC 2005 Camera API. You would need a Windows Mobile 5.0 device to use it.

(Windows Mobile 5.0 Only) Launches the camera application on the PDA target if the PDA target supports picture and/or video capability. This VI saves the images or videos in whatever format the camera application on the PDA target uses. If the PDA target does not support image and/or video capability, this VI returns an error.

- dialog title gives you the opportunity to customize the title bar of the phone's camera application.

- quality indicates the quality of the image or video you capture.

0 default: Normal quality with medium compression and a medium image file size.

1 low: Low quality with maximum compression and the smallest image file size.

2 normal: Normal quality with medium compression and a medium image file size.

3 high: High quality with minimum compression and the largest image file size.

- flags indicate what to capture.

0 still: Capture a still image.

1 video only: Capture a video image without audio.

2 video with audio: Capture a video image with audio.

- error in describes error conditions that occur before this VI runs. The default is no error. If an error occurred before this VI runs, the VI or function passes the error in value to error out. This VI runs normally only if no error occurred before this VI runs. If an error occurs while it runs, it runs normally and sets its own error status in error out. Use the PDA Error Handler VI to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.

- width determines the width of the image in pixels. The default is 240.

- height determines the height of the image in pixels. The default is 180.

- default file name is optional and specifies the filename for the captured image or video.

- created file is the path to the image or video file.

- error out contains error information. If error in indicates that an error occurred before this VI ran, error out contains the same error information. Otherwise, it describes the error status that this VI produces.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.