Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » XIMEA » M3API_SetDigitalOutputModes_Deprecated

M3API_SetDigitalOutputModes_Deprecated


Manages digital outputs in a XIMEA camera.

Name Type Description
inDeviceID Integer* Camera chip ID
inGPIO1State XIMEAGPOState* Sets GPIO1 state
inGPIO2State XIMEAGPOState* Sets GPIO2 state
inGPIO3State XIMEAGPOState* Sets GPIO3 state
inGPIO4State XIMEAGPOState* Sets GPIO4 state

Description

XIMEAGPIOState may take one of the values:
  1. SET_ZERO - sets gpio to zero
  2. SET_ONE - sets gpio to one
  3. SET_EXT_EVENT - sets gpio to input external event
  4. SET_STROBE_OUT - sets gpio to output "strobe out" signal (device busy)
  5. SET_TRIGGER - sets gpio to trigger input
  6. SET_STROBE_OUT_INV - sets gpio to output inverted "strobe out" (device busy)
  7. SET_STROBE_OUT_INT - sets gpio to output "strobe out" signal (integration)
  8. SET_STROBE_OUT_INT_INV - sets gpio to output inverted "strobe out" (integration)

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.

Remarks

There are two ways to programmatically set the value of inGPIOxState.

You can use ChooseByPredicate filter. Choose the XIMEAGPIOState type for ChooseByPredicate filter, select which object should be returned, if input value is true and which, if it's false. Finally, connect outObject (ChooseByPredicate) to inGPIOxState (M3API_SetDigitalOutputModes).

You can also use ChooseByCase filter. Choose the XIMEAGPIOState type for ChooseByCase filter and select which object should be returned for each case. Finally, connect outObject (ChooseByCase) to inGPIOxState (M3API_SetDigitalOutputModes).

Complexity Level

This filter is available on Basic Complexity Level.

Disabled in Lite Edition

This filter is disabled in Lite Edition. It is available only in full, Adaptive Vision Studio Professional version.

See Also