Back to Adaptive Vision Library website

You are here: Start » Function Reference » XIMEA » M3API_GetDigitalInputs_Deprecated

M3API_GetDigitalInputs_Deprecated


Returns digital inputs' values from a XIMEA camera.

Syntax

void avl::M3API_GetDigitalInputs_Deprecated
(
	M3API_GetDigitalInputs_DeprecatedState& ioState,
	atl::Optional<int> inDeviceID,
	bool& outPositiveEdgeEvent,
	bool& outNegativeEdgeEvent
)

Parameters

Name Type Default Description
ioState M3API_GetDigitalInputs_DeprecatedState& Object used to maintain state of the function.
inDeviceID Optional<int> NIL Camera chip ID
outPositiveEdgeEvent bool& Is true, if Positive Edge Event appears
outNegativeEdgeEvent bool& Is true, if Negative Edge Event appears

Description

To be able to use a XIMEA camera, you need to install camera driver. You can find it at the following address (select binaries):

https://www.ximea.com/support/wiki/apis/XIMEA_API_Software_Package

To install XIMEA camera driver, follow the steps below:

  1. Connect your camera to your computer.
  2. Manually select the path to the unpacked camera driver and install it.

To verify the driver installation, you can run newCCDtest_mm.exe (in the directory, where camera driver was unpacked). If the camera was detected and you can see the image from it, you can use your XIMEA camera in Adaptive Vision Studio.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

See Also