Note: before using the vis, make sure that your camera is switched to PTP mode and it’s listed under the WIA devices in WinXP or higher.


PTPCam_CloseCamSession.vi

Close camera session.


Connector Pane

PTPCam_CloseCamSession.vi


PTPCam_DeleteAllImgs.vi

This vi deletes all pictures in the camera. User should only use this vi when they are sure that their camera has the remote deleting picture capability. Use "PTPCam_EnumDeviceCap.vi" to check the available of this capability.


Connector Pane

PTPCam_DeleteAllImgs.vi


PTPCam_EnumDeviceCap.vi

This vi gets the camera capabilities such as if it allows remote computer controlled  picture taking and picture deleting.


Connector Pane

PTPCam_EnumDeviceCap.vi


PTPCam_GetArtist.vi

This vi gets the artist name. It returns error if this property is not supported by the camera controlled by the computer.

The name of the photographer.


Connector Pane

PTPCam_GetArtist.vi


PTPCam_GetBatteryStatus.vi

This vi gets battery status. It returns error if this property is not supported by the camera controlled by the computer.

Camera battery life remaining, represented as a value from 100 (full charge) to 0.


Connector Pane

PTPCam_GetBatteryStatus.vi


PTPCam_GetBurstInterval.vi

This vi gets the burst interval. It returns error if this property is not supported by the camera controlled by the computer.

The time, in milliseconds, between image captures during a burst operation.


Connector Pane

PTPCam_GetBurstInterval.vi


PTPCam_GetBurstNumber.vi

This vi gets the burst number. It returns error if this property is not supported by the camera controlled by the computer.

The number of images the device attempts to capture during a burst operation.


Connector Pane

PTPCam_GetBurstNumber.vi


PTPCam_GetCaptureDelay.vi

This vi gets the camera capture delay. It returns error if this property is not supported by the camera controlled by the computer.

The time, in milliseconds, between the firing of the capture trigger and the actual initiation of the data capture. For no pre-capture delay, set this property to zero. This property is not intended to be used to describe the time between frames for single-initiation multiple captures such as burst or time-lapse.


Connector Pane

PTPCam_GetCaptureDelay.vi


PTPCam_GetCaptureMode.vi

This vi gets the camera capture mode. It returns error if this property is not supported by the camera controlled by the computer.

Capture Mode Description

CAPTUREMODE_NORMAL Normal mode for the camera.

CAPTUREMODE_BURST Capture more than one image in quick succession as defined by the values of WIA_DPC_BURST_NUMBER and WIA_DPC_BURST_INTERVAL.

CAPTUREMODE_TIMELAPSE Capture more than one image in succession as defined by WIA_DPC_TIMELAPSE_NUMBER and WIA_DPC_TIMELAPSE_INTERVAL.


Connector Pane

PTPCam_GetCaptureMode.vi


PTPCam_GetComprSetting.vi

This vi gets compression setting. It returns error if this property is not supported by the camera controlled by the computer.

A numeric value that specifies relative image quality. This property is device-specific.


Connector Pane

PTPCam_GetComprSetting.vi


PTPCam_GetContrast.vi

This vi gets the contrast of the camera. It returns error if this property is not supported by the camera controlled by the computer.

The perceived contrast of captured images. This property can use either an enumeration or a range.


Connector Pane

PTPCam_GetContrast.vi


PTPCam_GetCopyRight.vi

This vi gets the copyright info. It returns error if this property is not supported by the camera controlled by the computer.

Copyright information for the image.


Connector Pane

PTPCam_GetCopyRight.vi


PTPCam_GetDeviceInfo.vi

This vi gets the information about a device such as device ID, device name and device description etc.


Connector Pane

PTPCam_GetDeviceInfo.vi


PTPCam_GetDigitalZoom.vi

This vi gets the digital zoom. It returns error if this property is not supported by the camera controlled by the computer.

The effective zoom ration of the digital camera's acquired image scaled by a factor of 10. No digital zoom (1X) corresponds to a value of 10, which is the standard scene size captured by the camera. A value of 20 corresponds to a 2X zoom where 1/4 of the standard scene size is captured by the camera.


Connector Pane

PTPCam_GetDigitalZoom.vi


PTPCam_GetEffectMode.vi

This vi gets the effect mode. It returns error if this property is not supported by the camera controlled by the computer.

Effect mode specifies the special image acquisition mode of the camera.

Effect Mode Description

EFFECTMODE_STANDARD The standard mode for the camera.

EFFECTMODE_BW Capture a grayscale image.

EFFECTMODE_SEPIA Capture a sepia image.


Connector Pane

PTPCam_GetEffectMode.vi


PTPCam_GetExposIndex.vi

This vi gets the exposure index. It returns error if this property is not supported by the camera controlled by the computer.

Specifies the film speed for digital cameras that can emulate ISO (ASA/DIN) speed settings. Typically, a device supports discrete enumerated values, but continuous control over a range is possible. A value of 0xFFFF corresponds to Automatic ISO setting.


Connector Pane

PTPCam_GetExposIndex.vi


PTPCam_GetExposMetMode.vi

This vi gets the exposure metering mode. It returns error if this property is not supported by the camera controlled by the computer.

Specifies the mode the camera uses to automatically adjust the exposure setting.

Exposure Metering Mode Description

EXPOSUREMETERING_AVERAGE Set the exposure based on an average of the entire scene.

EXPOSUREMETERING_CENTERWEIGHT Set the exposure based on a center-weighted average.

EXPOSUREMETERING_MULTISPOT Set the exposure based on a multi-spot pattern.

EXPOSUREMETERING_CENTERSPOT Set the exposure based on a center spot.


Connector Pane

PTPCam_GetExposMetMode.vi


PTPCam_GetExposureComp.vi

This vi gets the exposure compensation of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Exposure compensation when using automatic exposure mode. Legal values are from -200 to 200 in increments of 50. These values represent the range -2.0 to +2.0.


Connector Pane

PTPCam_GetExposureComp.vi


PTPCam_GetExposureMode.vi

This vi gets the exposure mode of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Exposure Mode Description:

EXPOSUREMODE_MANUAL The shutter speed and aperture are set by the user.

EXPOSUREMODE_AUTO The shutter speed and aperture are automatically set by the camera.

EXPOSUREMODE_APERTURE_PRIORITY The aperture is set by the user, and the camera automatically sets the shutter speed.

EXPOSUREMODE_SHUTTER_PRIORITY The shutter speed is set by the user, and the camera automatically sets the aperture.

EXPOSUREMODE_PROGRAM_CREATIVE The shutter speed and aperture are automatically set by the camera, optimized for still subject matter.

EXPOSUREMODE_PROGRAM_ACTION The shutter speed and aperture are automatically set by the camera, optimized for scenes containing fast motion.

EXPOSUREMODE_PORTRAIT The shutter speed and aperture are automatically set by the camera, optimized for portrait photography.


Connector Pane

PTPCam_GetExposureMode.vi


PTPCam_GetExposureTime.vi

This vi gets the manual exposure time of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Manual exposure time. Units are milliseconds. The camera may represent the range of manual exposure settings it supports through the property attributes. Manual exposure time is only used when the camera is in manual exposure mode.


Connector Pane

PTPCam_GetExposureTime.vi


PTPCam_GetFlashMode.vi

This vi gets the flash mode of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Flash Mode Definition

WIA_FLASH_MODE_AUTO Camera determines whether to flash.

WIA_FLASH_MODE_FILL Camera flashes, regardless of light conditions.

WIA_FLASH_MODE_OFF Camera will not flash.

WIA_FLASH_MODE_REDEYE_AUTO Camera determines whether to flash, using red eye reduction.

WIA_FLASH_MODE_REDEYE_FILL Camera flashes, regardless of light conditions, using red eye reduction.

WIA_FLASH_MODE_EXTERNALSYNC Camera syncs external flash units.


Connector Pane

PTPCam_GetFlashMode.vi


PTPCam_GetFNumber.vi

This vi gets the Manual F-number setting of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Manual F-number setting for use when the camera is in F-number exposure mode. Exposure mode is represented as camera F-number x 100. For example, Number 5.0 = 500.


Connector Pane

PTPCam_GetFNumber.vi


PTPCam_GetFocusDist.vi

This vi gets the focus distance. It returns error if this property is not supported by the camera controlled by the computer.

The distance, in millimeters, between the image-capturing plane of the digital camera and the point of focus. A value of 0xFFFF corresponds to a setting greater than 655 meters.


Connector Pane

PTPCam_GetFocusDist.vi


PTPCam_GetFocusLength.vi

This vi gets the focus length. It returns error if this property is not supported by the camera controlled by the computer.

The 35mm equivalent focal length, in 100ths of a millimeter.


Connector Pane

PTPCam_GetFocusLength.vi


PTPCam_GetFocusMetMode.vi

This vi gets the focus metering mode. It returns error if this property is not supported by the camera controlled by the computer.

Specifies the mode the camera uses to automatically adjust the focus.

Focus Metering Mode Description

FOCUSMETERING_CENTERSPOT Adjust the focus based on a center spot.

FOCUSMETERING_MULTISPOT Adjust the focus based on a multi-spot pattern.


Connector Pane

PTPCam_GetFocusMetMode.vi


PTPCam_GetFocusMode.vi

This vi gets the focus mode of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Focus Mode Description

FOCUSMODE_MANUAL The focus is set by the user.

FOCUSMODE_AUTO The focus is automatically set by the camera.

FOCUSMODE_MACROAUTO The focus is automatically set by the camera to a macro (short-range) setting.


Connector Pane

PTPCam_GetFocusMode.vi


PTPCam_GetPanPosition.vi

This vi gets the pan position for aiming the camer. It returns error if this property is not supported by the camera controlled by the computer.


Connector Pane

PTPCam_GetPanPosition.vi


PTPCam_GetPictHeight.vi

This vi gets picture height. It returns error if this property is not supported by the camera controlled by the computer.

The height to use for newly captured images. The list of valid values for this property has a one-to-one correspondence to the list of valid values for the PICT_WIDTH property.


Connector Pane

PTPCam_GetPictHeight.vi


PTPCam_GetPictWidth.vi

This vi gets picture width. It returns error if this property is not supported by the camera controlled by the computer.

The width to use for newly captured images. The list of valid values for this property has a one-to-one correspondence to the list of valid values for the PICT_HEIGHT property.


Connector Pane

PTPCam_GetPictWidth.vi


PTPCam_GetPowerMode.vi

This vi gets power mode. It returns error if this property is not supported by the camera controlled by the computer.

This property is used to determine whether the device is operating on battery or line power.

Power Mode Description

POWERMODE_LINE AC or other power adapter.

POWERMODE_BATTERY Running off batteries.


Connector Pane

PTPCam_GetPowerMode.vi


PTPCam_GetRGBGain.vi

This vi gets the RGB gain. It returns error if this property is not supported by the camera controlled by the computer.

A null-terminated Unicode string that represents the red, green, and blue gain applied to image data, respectively. For example, "4:25:50" (null-terminated) represents a red gain of 4, a green gain of 25, and a blue gain of 50.


Connector Pane

PTPCam_GetRGBGain.vi


PTPCam_GetSharpness.vi

This vi gets the sharpness of the camera. It returns error if this property is not supported by the camera controlled by the computer.

The perceived sharpness of captured images. This property can use either an enumeration or a range.


Connector Pane

PTPCam_GetSharpness.vi


PTPCam_GetStorageInfo.vi

This vi gets the camera storage information such as pictures taken and pictures remaining to be taken etc.


Connector Pane

PTPCam_GetStorageInfo.vi


PTPCam_GetThumbHeight.vi

This vi gets thumbnail height. It returns error if this property is not supported by the camera controlled by the computer.

The height, in pixels, of thumbnails created for captured images. The list of valid values for this property have a one-to-one correspondence to the list of valid values for the THUMB_WIDTH property.


Connector Pane

PTPCam_GetThumbHeight.vi


PTPCam_GetThumbWidth.vi

This vi gets thumbnail width. It returns error if this property is not supported by the camera controlled by the computer.

The width, in pixels, of thumbnails created for captured images. The list of valid values for this property have a one-to-one correspondence to the list of valid values for the THUMB_HEIGHT property.


Connector Pane

PTPCam_GetThumbWidth.vi


PTPCam_GetTiltPosition.vi

This vi gets the tilt position for aiming the camer. It returns error if this property is not supported by the camera controlled by the computer.


Connector Pane

PTPCam_GetTiltPosition.vi


PTPCam_GetTimeLapseInterval.vi

This vi gets time lapse interval. It returns error if this property is not supported by the camera controlled by the computer.

The time, in milliseconds, between image captures in a time-lapse capture operation.


Connector Pane

PTPCam_GetTimeLapseInterval.vi


PTPCam_GetTimeLapseNumber.vi

This vi gets time lapse number. It returns error if this property is not supported by the camera controlled by the computer.

The number of images the device attempts to capture during a time-lapse capture.


Connector Pane

PTPCam_GetTimeLapseNumber.vi


PTPCam_GetTimerMode.vi

This vi gets the automatic picture timer mode. It returns error if this property is not supported by the camera controlled by the computer.


Connector Pane

PTPCam_GetTimerMode.vi


PTPCam_GetTimerValue.vi

This vi gets automatic picture timer time setting in milliseconds. This value is only used when taking a picture through computer control and when the timer mode is on.

It returns error if this property is not supported by the camera controlled by the computer.


Connector Pane

PTPCam_GetTimerValue.vi


PTPCam_GetUploadURL.vi

This vi gets the upload URL. It returns error if this property is not supported by the camera controlled by the computer.

A URL to which to upload images from a digital camera.


Connector Pane

PTPCam_GetUploadURL.vi


PTPCam_GetVersionInfo.vi

Get the PTPCam toolkit version information such as version number, serial number and user.


Connector Pane

PTPCam_GetVersionInfo.vi


PTPCam_GetWhiteBalance.vi

This vi gets the white balance. It returns error if this property is not supported by the camera controlled by the computer.

Specifies how the digital camera weights color channels.

White Balance Description

WHITEBALANCE_MANUAL White balance is set directly with the WIA_DPC_RGBGAIN property.

WHITEBALANCE_AUTO The camera uses an automatic mechanism to set the white balance.

WHITEBALANCE_ONEPUSH_AUTO The camera determines the white balance setting when a user presses the capture button while pointing the camera at a white surface.

WHITEBALANCE_DAYLIGHT The camera sets the white balance to a value appropriate for use in daylight conditions.

WHITEBALANCE_FLORESCENT The camera sets the white balance to a value appropriate for use with a fluorescent light source.

WHITEBALANCE_TUNGSTEN The camera sets the white balance to a value appropriate for use with a tungsten light source.

WHITEBALANCE_FLASH The camera sets the white balance to a value appropriate for use with an electronic flash.


Connector Pane

PTPCam_GetWhiteBalance.vi


PTPCam_Init.vi

This vi has to be called first before using any other camera functions.


Connector Pane

PTPCam_Init.vi


PTPCam_OpenCamSession.vi

Opens selected camera session.


Connector Pane

PTPCam_OpenCamSession.vi


PTPCam_SetArtist.vi

This vi sets the artist name. It returns error if this property is not supported by the camera controlled by the computer.

The name of the photographer.


Connector Pane

PTPCam_SetArtist.vi


PTPCam_SetBurstInterval.vi

This vi sets the burst interval. It returns error if this property is not supported by the camera controlled by the computer.

The time, in milliseconds, between image captures during a burst operation.


Connector Pane

PTPCam_SetBurstInterval.vi


PTPCam_SetBurstNumber.vi

This vi sets the burst number. It returns error if this property is not supported by the camera controlled by the computer.

The number of images the device attempts to capture during a burst operation.


Connector Pane

PTPCam_SetBurstNumber.vi


PTPCam_SetCaptDelay.vi

This vi sets the camera capture delay. It returns error if this property is not supported by the camera controlled by the computer.

The time, in milliseconds, between the firing of the capture trigger and the actual initiation of the data capture. For no pre-capture delay, set this property to zero. This property is not intended to be used to describe the time between frames for single-initiation multiple captures such as burst or time-lapse.


Connector Pane

PTPCam_SetCaptDelay.vi


PTPCam_SetCaptureMode.vi

This vi sets the camera capture mode. It returns error if this property is not supported by the camera controlled by the computer.

Capture Mode Description

CAPTUREMODE_NORMAL Normal mode for the camera.

CAPTUREMODE_BURST Capture more than one image in quick succession as defined by the values of WIA_DPC_BURST_NUMBER and WIA_DPC_BURST_INTERVAL.

CAPTUREMODE_TIMELAPSE Capture more than one image in succession as defined by WIA_DPC_TIMELAPSE_NUMBER and WIA_DPC_TIMELAPSE_INTERVAL.


Connector Pane

PTPCam_SetCaptureMode.vi


PTPCam_SetComprSetting.vi

This vi sets compression setting. It returns error if this property is not supported by the camera controlled by the computer.

A numeric value that specifies relative image quality. This property is device-specific.


Connector Pane

PTPCam_SetComprSetting.vi


PTPCam_SetContrast.vi

This vi sets the contrast of the camera. It returns error if this property is not supported by the camera controlled by the computer.

The perceived contrast of captured images. This property can use either an enumeration or a range.


Connector Pane

PTPCam_SetContrast.vi


PTPCam_SetCopyRight.vi

This vi sets the copyright info. It returns error if this property is not supported by the camera controlled by the computer.

Copyright information for the image.


Connector Pane

PTPCam_SetCopyRight.vi


PTPCam_SetDigitalZoom.vi

This vi sets the digital zoom. It returns error if this property is not supported by the camera controlled by the computer.

The effective zoom ration of the digital camera's acquired image scaled by a factor of 10. No digital zoom (1X) corresponds to a value of 10, which is the standard scene size captured by the camera. A value of 20 corresponds to a 2X zoom where 1/4 of the standard scene size is captured by the camera.


Connector Pane

PTPCam_SetDigitalZoom.vi


PTPCam_SetEffectMode.vi

This vi sets the effect mode. It returns error if this property is not supported by the camera controlled by the computer.

Effect mode specifies the special image acquisition mode of the camera.

Effect Mode Description

EFFECTMODE_STANDARD The standard mode for the camera.

EFFECTMODE_BW Capture a grayscale image.

EFFECTMODE_SEPIA Capture a sepia image.


Connector Pane

PTPCam_SetEffectMode.vi


PTPCam_SetExposMetMode.vi

This vi sets the exposure metering mode. It returns error if this property is not supported by the camera controlled by the computer.

Specifies the mode the camera uses to automatically adjust the exposure setting.

Exposure Metering Mode Description

EXPOSUREMETERING_AVERAGE Set the exposure based on an average of the entire scene.

EXPOSUREMETERING_CENTERWEIGHT Set the exposure based on a center-weighted average.

EXPOSUREMETERING_MULTISPOT Set the exposure based on a multi-spot pattern.

EXPOSUREMETERING_CENTERSPOT Set the exposure based on a center spot.


Connector Pane

PTPCam_SetExposMetMode.vi


PTPCam_SetExposureComp.vi

This vi sets the exposure compensation of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Exposure compensation when using automatic exposure mode. Legal values are from -200 to 200 in increments of 50. These values represent the range -2.0 to +2.0.


Connector Pane

PTPCam_SetExposureComp.vi


PTPCam_SetExposureIndex.vi

This vi sets the exposure index. It returns error if this property is not supported by the camera controlled by the computer.

Specifies the film speed for digital cameras that can emulate ISO (ASA/DIN) speed settings. Typically, a device supports discrete enumerated values, but continuous control over a range is possible. A value of 0xFFFF corresponds to Automatic ISO setting.


Connector Pane

PTPCam_SetExposureIndex.vi


PTPCam_SetExposureMode.vi

This vi sets the exposure mode of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Exposure Mode Description:

EXPOSUREMODE_MANUAL The shutter speed and aperture are set by the user.

EXPOSUREMODE_AUTO The shutter speed and aperture are automatically set by the camera.

EXPOSUREMODE_APERTURE_PRIORITY The aperture is set by the user, and the camera automatically sets the shutter speed.

EXPOSUREMODE_SHUTTER_PRIORITY The shutter speed is set by the user, and the camera automatically sets the aperture.

EXPOSUREMODE_PROGRAM_CREATIVE The shutter speed and aperture are automatically set by the camera, optimized for still subject matter.

EXPOSUREMODE_PROGRAM_ACTION The shutter speed and aperture are automatically set by the camera, optimized for scenes containing fast motion.

EXPOSUREMODE_PORTRAIT The shutter speed and aperture are automatically set by the camera, optimized for portrait photography.


Connector Pane

PTPCam_SetExposureMode.vi


PTPCam_SetExposureTime.vi

This vi sets the manual exposure time of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Manual exposure time. Units are milliseconds. The camera may represent the range of manual exposure settings it supports through the property attributes. Manual exposure time is only used when the camera is in manual exposure mode.


Connector Pane

PTPCam_SetExposureTime.vi


PTPCam_SetFlashMode.vi

This vi sets the flash mode of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Flash Mode Definition

WIA_FLASH_MODE_AUTO Camera determines whether to flash.

WIA_FLASH_MODE_FILL Camera flashes, regardless of light conditions.

WIA_FLASH_MODE_OFF Camera will not flash.

WIA_FLASH_MODE_REDEYE_AUTO Camera determines whether to flash, using red eye reduction.

WIA_FLASH_MODE_REDEYE_FILL Camera flashes, regardless of light conditions, using red eye reduction.

WIA_FLASH_MODE_EXTERNALSYNC Camera syncs external flash units.


Connector Pane

PTPCam_SetFlashMode.vi


PTPCam_SetFNumber.vi

This vi sets the Manual F-number setting of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Manual F-number setting for use when the camera is in F-number exposure mode. Exposure mode is represented as camera F-number x 100. For example, Number 5.0 = 500.


Connector Pane

PTPCam_SetFNumber.vi


PTPCam_SetFocusDist.vi

This vi sets the focus distance. It returns error if this property is not supported by the camera controlled by the computer.

The distance, in millimeters, between the image-capturing plane of the digital camera and the point of focus. A value of 0xFFFF corresponds to a setting greater than 655 meters.


Connector Pane

PTPCam_SetFocusDist.vi


PTPCam_SetFocusMetMode.vi

This vi sets the focus metering mode. It returns error if this property is not supported by the camera controlled by the computer.

Specifies the mode the camera uses to automatically adjust the focus.

Focus Metering Mode Description

FOCUSMETERING_CENTERSPOT Adjust the focus based on a center spot.

FOCUSMETERING_MULTISPOT Adjust the focus based on a multi-spot pattern.


Connector Pane

PTPCam_SetFocusMetMode.vi


PTPCam_SetFocusMode.vi

This vi sets the focus mode of the camera. It returns error if this property is not supported by the camera controlled by the computer.

Focus Mode Description

FOCUSMODE_MANUAL The focus is set by the user.

FOCUSMODE_AUTO The focus is automatically set by the camera.

FOCUSMODE_MACROAUTO The focus is automatically set by the camera to a macro (short-range) setting.


Connector Pane

PTPCam_SetFocusMode.vi


PTPCam_SetPanPos.vi

This vi Sets the pan position for aiming the camer. It returns error if this property is not supported by the camera controlled by the computer.


Connector Pane

PTPCam_SetPanPos.vi


PTPCam_SetPictHeight.vi

This vi sets picture height. It returns error if this property is not supported by the camera controlled by the computer.

The height to use for newly captured images. The list of valid values for this property has a one-to-one correspondence to the list of valid values for the PICT_WIDTH property.


Connector Pane

PTPCam_SetPictHeight.vi


PTPCam_SetPictWidth.vi

This vi sets picture width. It returns error if this property is not supported by the camera controlled by the computer.

The width to use for newly captured images. The list of valid values for this property has a one-to-one correspondence to the list of valid values for the PICT_HEIGHT property.


Connector Pane

PTPCam_SetPictWidth.vi


PTPCam_SetRGBGain.vi

This vi sets the RGB gain. It returns error if this property is not supported by the camera controlled by the computer.

A null-terminated Unicode string that represents the red, green, and blue gain applied to image data, respectively. For example, "4:25:50" (null-terminated) represents a red gain of 4, a green gain of 25, and a blue gain of 50.


Connector Pane

PTPCam_SetRGBGain.vi


PTPCam_SetSharpness.vi

This vi sets the sharpness of the camera. It returns error if this property is not supported by the camera controlled by the computer.

The perceived sharpness of captured images. This property can use either an enumeration or a range.


Connector Pane

PTPCam_SetSharpness.vi


PTPCam_SetThumbHeight.vi

This vi sets thumbnail height. It returns error if this property is not supported by the camera controlled by the computer.

The height, in pixels, of thumbnails created for captured images. The list of valid values for this property have a one-to-one correspondence to the list of valid values for the THUMB_WIDTH property.


Connector Pane

PTPCam_SetThumbHeight.vi


PTPCam_SetThumbWidth.vi

This vi sets thumbnail width. It returns error if this property is not supported by the camera controlled by the computer.

The width, in pixels, of thumbnails created for captured images. The list of valid values for this property have a one-to-one correspondence to the list of valid values for the THUMB_HEIGHT property.


Connector Pane

PTPCam_SetThumbWidth.vi


PTPCam_SetTiltPos.vi

This vi sets the tilt position for aiming the camer. It returns error if this property is not supported by the camera controlled by the computer.


Connector Pane

PTPCam_SetTiltPos.vi


PTPCam_SetTimeElapseInterval.vi

This vi sets time lapse interval. It returns error if this property is not supported by the camera controlled by the computer.

The time, in milliseconds, between image captures in a time-lapse capture operation.


Connector Pane

PTPCam_SetTimeElapseInterval.vi


PTPCam_SetTimeLapseNumber.vi

This vi sets time lapse number. It returns error if this property is not supported by the camera controlled by the computer.

The number of images the device attempts to capture during a time-lapse capture.


Connector Pane

PTPCam_SetTimeLapseNumber.vi


PTPCam_SetTimerMode.vi

This vi sets the automatic picture timer mode. It returns error if this property is not supported by the camera controlled by the computer.


Connector Pane

PTPCam_SetTimerMode.vi


PTPCam_SetTimerValue.vi

This vi Sets automatic picture timer time setting in milliseconds. This value is only used when taking a picture through computer control and when the timer mode is on.

It returns error if this property is not supported by the camera controlled by the computer.


Connector Pane

PTPCam_SetTimerValue.vi


PTPCam_SetUploadURL.vi

This vi sets the upload URL. It returns error if this property is not supported by the camera controlled by the computer.

A URL to which to upload images from a digital camera.


Connector Pane

PTPCam_SetUploadURL.vi


PTPCam_SetWhiteBalance.vi

This vi sets the white balance. It returns error if this property is not supported by the camera controlled by the computer.

Specifies how the digital camera weights color channels.

White Balance Description

WHITEBALANCE_MANUAL White balance is set directly with the WIA_DPC_RGBGAIN property.

WHITEBALANCE_AUTO The camera uses an automatic mechanism to set the white balance.

WHITEBALANCE_ONEPUSH_AUTO The camera determines the white balance setting when a user presses the capture button while pointing the camera at a white surface.

WHITEBALANCE_DAYLIGHT The camera sets the white balance to a value appropriate for use in daylight conditions.

WHITEBALANCE_FLORESCENT The camera sets the white balance to a value appropriate for use with a fluorescent light source.

WHITEBALANCE_TUNGSTEN The camera sets the white balance to a value appropriate for use with a tungsten light source.

WHITEBALANCE_FLASH The camera sets the white balance to a value appropriate for use with an electronic flash.


Connector Pane

PTPCam_SetWhiteBalance.vi


PTPCam_SnapPicture.vi

This vi commands the camera to take a picture and transfer to the computer under the name given by the "File Path" control. User do not need to give an ending for the file, the software will auto append the ending depends on the format selected. The selected format has to match the file format in the camera. The software support 16 formats including BMP, JPEG, TIFF, PNG etc. Note: this vi will change the device session number, so should use the NewDeviceSession for downstream functions instead of the old DeviceSession. And user should only use this vi when they are sure that their camera has the remote taking picture capability. Use "PTPCam_EnumDeviceCap.vi" to check the available of this capability.


Connector Pane

PTPCam_SnapPicture.vi


PTPCam_TakeAPicture.vi

A low level vi that commands camera to take a picture.


Connector Pane

PTPCam_TakeAPicture.vi


PTPCam_TransAllImgs.vi

This vi transfers all the pictures from camera to the computer. User can specify the directory and prefix name for the pictures. The software will automatically index all the pictures such as image1, image2...image100 with the file ending depends on the format that user select. And the format must match the file format in the camera. The selectable format includes BMP, JPEG, PNG, TIFF etc 16 different formats.


Connector Pane

PTPCam_TransAllImgs.vi


PTPCam_Transfer_A_Picture.vi

A low level vi that transfers a picture to the computer.


Connector Pane

PTPCam_Transfer_A_Picture.vi


 


PTPCam_Example.vi

This is an example for PTPCam toolkit to show how to use some fucntions such as snap a pciture, transfer all pictures from camera, delete all pictures in camera, retrieve device name and camera storage information as well as PTPCam software version information. It also uses some of IVision vis to show the image capture from the camera, so user should either has the licensed IVision LabVIEW toolkit or the demo version to run this vi.


Connector Pane

PTPCam_Example.vi


PTPCam_TreeView.vi


Connector Pane

PTPCam_TreeView.vi