Back to Aurora Vision Library website

You are here: Start » Function Reference » Hardware Support » Z4Sight » Z4Sight_GetCounterReferenceValue

Z4Sight_GetCounterReferenceValue


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Gets the I/O command list's internal counter value at the current moment.

Syntax

void avl::Z4Sight_GetCounterReferenceValue
(
	Z4Sight_State& ioState,
	atl::Optional<const avl::Z4SightSystemAndDeviceIdentifier&> inDeviceID,
	int inCommandList,
	atl::int64& outReferenceValue
)

Parameters

Name Type Range Default Description
Input will be modified ioState Z4Sight_State& Object used to maintain state of the function.
Input value inDeviceID Optional<const Z4SightSystemAndDeviceIdentifier&> NIL Device identification.
Input value inCommandList int 1 - 2 I/O command list.
Output value outReferenceValue int64& Command list's internal counter value.

Remarks

I/O device driver software

This filter is intended to cooperate with a Zebra 4Sight device using its vendor SDK. To be able to connect to the device, it is required to install Matrox MIL X SDK. Zebra 4Sight industrial PCs usually come with a preinstalled runtime license.

Add DLL path to system environment variable may be required.

Recommended Matrox MIL X SDK version for Aurora Vision Studio usage is V22H1 (10.60.0776).

Device identification

Device field can be used to specify the number (rank) of the target board of the specified system type. Device can be set to:

  • DEFAULT - Specifies the default board. The default board is set in the MILConfig utility.
  • DEVn - Specifies the device number (rank) of the board (where 0 <= n <=15).

System field can be used to specify the system type. System can be set to:

  • HOST - Specifies the default build-in system like IO in industrial PC.
  • CONCORD - Specifies the IO system from Concord framegrabber.

This filter allows to obtain the current value of an I/O command list's counter. This value can later be used to register events at precise moments of time in relation to that value.

See Also