7.4.1 LatchStart Method

This Method starts the latch capture function of the represented probe. The security constraints defined in chapter 6.6 apply.

Signature

	LatchStart (
		);
	

The Method Result Codes (defined in Call Service) are defined in Table 15.

Table 21 – Possible Method Result Codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_LockedThe EncoderProbeType Object is locked by a different Client’s Session.
Bad_RequiresLockThe EncoderProbeType Object is not locked. Clients must lock the EncoderProbeType Object before invoking a Method.
Bad_UnexpectedErrorThe server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

The LatchActive Variable contains True if the represented probe’s latch is active, otherwise False.

The LastLatchedPos Variable contains the last latched position of the probe.

The Server might provide the Client with information about changes of the probe’s latch data by sending EncoderProbeLatchEventType Events.