TMStrongAlarmAccess Overview roup

The TMStrongAlarmAccess API call starts a new communication session with a particular device on the 1-Wire network. This is the same as TMStrongAccess except this function requires that the 1-Wire device must have an alarm interrupt condition to be accessed. Returns a value of 1 if the selected part is on the 1-Wire network and alarming, and 0 otherwise. The DS1994, DS1920, and DS2407 potentially have an alarm condition.

short far pascal TMStrongAlarmAccess(
long session_handle,    // session handle for the desired 1-Wire network
void far *state_buffer  // state buffer provided for the 1-Wire network session

For a description of the above types, see the TMEX Type Descriptions.



Specifies the session handle returned from the API function TMExtendedStartSession that specifies the desired 1-Wire network port. This parameter is required by most TMEX API functions.


Specifies a pointer to a memory location that TMEX keeps all of the state information for the 1-Wire networks. This parameter is required by most TMEX API functions.

Return Value

0 => device in ROM buffer not on 1-Wire network or not alarming

1 => device in ROM buffer is on 1-Wire network and alarming and it is selected

<0 => TMEX Network Error Return Code

Code Example

See Also

TMRom, TMStrongAccess, TMOverAccess, TMAccess