Planning Your Application Program
Chapter 6
* To receive alarm information from ADAM-5000/TCP(s)
ADAM5KTCP_Open( )
ADAM5KTCP_Add5KTCPForStream( )
hEvent=CreateEvent ( )
(A Win32 API)
ADAM5KTCP_SetStreamAlarmState(ADAM5KTCP_ReceiveStreamWhenAlarm)
ADAM5KTCP_StartStream( &hEvent )
N
hEvent signaled ?
Y
ADAM5KTCP_ReadStreamDatat( )
1
ADAM5KTCP_ReadAlarmInfo( )
Y
N
Alarm info buffer is empty?
Y
N
quit ?
ADAM5KTCP_StopStream( )
ADAM5KTCP_Close( )
ADAM-5000/TCP
User’s Manual
6-7
Summary of Contents for ADAM-5000/TCP Series
Page 1: ......
Page 23: ......
Page 44: ...4 I O modules...
Page 148: ......
Page 183: ......
Page 218: ......
Page 300: ...Appendix A Design Worksheets...
Page 307: ...Appendix A Design Worksheets A 8 ADAM 5000 TCP User s Manual...
Page 308: ...Appendix B Data Formats and I O Ranges...
Page 323: ...Appendix B Data Formats and I O Ranges B 13 ADAM 5000 TCP User s Manual...
Page 324: ...Appendix C Grounding Reference...
Page 331: ...Appendix C Grounding Reference Figure C 6 wire impedancC C 8 ADAM 5000 TCP User s Manual...