Close camera session.
![]()
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.
![]()
This vi gets the camera capabilities such as if it allows remote computer controlled picture taking and picture deleting.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
This vi gets the information about a device such as device ID, device name and device description etc.

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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
This vi gets the camera storage information such as pictures taken and pictures remaining to be taken etc.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
This vi gets the automatic picture timer mode. It returns error if this property is not supported by the camera controlled by the computer.
![]()
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.
![]()
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.
![]()
Get the PTPCam toolkit version information such as version number, serial number and user.

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.
![]()
This vi has to be called first before using any other camera functions.
![]()
Opens selected camera session.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
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.
![]()
This vi sets the automatic picture timer mode. It returns error if this property is not supported by the camera controlled by the computer.
![]()
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.
![]()
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.
![]()
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.
![]()
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.

A low level vi that commands camera to take a picture.
![]()
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.

A low level vi that transfers a picture to the computer.
![]()
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.
![]()
![]()