To retrieve recorded data from Historical Server, the steps are similar to the above, except:
The application must connect to Historical Server. Set smc_prop_servermode to SMC_SERVER_M_HISTORICAL before making the connection.
The application must call smc_create_playback_session after connecting, but before creating views.
The application must call smc_initiate_playback after creating all views.
Alarms are not allowed on playback of recorded historical data.
Views and filters cannot be dropped.
After the last refresh, the application must call smc_terminate_playback.