External Alarm State Management API Sample Program
About this task
The External Alarm State Management API contains a sample program that demonstrates the use of this API. You can find the source file and make file for this program in the %BSM_ROOT%\api\amxasmgr
directory. It contains:
amxassample.cpp
|
The sample application source code. |
Amxassample_exe.vcxproj
|
Visual Studio project that creates the sample executable. |
makefile
|
Makefile that creates the sample executable.
|
This sample program generates up to ten alarms and processes Acknowledge, Clear, and Delete requests passed to it by the Alarm Manager.
You can use the project provided with the sample as a basis for constructing projects for your own applications.
for /F "tokens=* USEBACKQ" %F in (`"%PROGRAMFILES(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -property installationPath`) do set VSPATH=%F call "%VSPATH%\Common7\Tools\VsDevCmd.bat"
- You can use any project to create and run the executable for the sample program.
- Create a sample program.
- Run a sample program.
Create a Sample Program