spc3_query_snapshots

Navigation:  C++ > SPC管理接口 > SPC报警记录 >

spc3_query_snapshots

Previous pageReturn to chapter overviewNext page

 

函数

查询多个spc报警点的实时报警记录

int32 spc3_query_snapshots(

 int32 nRecNum,

 uint32* pTagIDArray,

 int64 nMask,

 HD3SpcRecord* pRecArray,

 int32* pErrCodeArray

);

参数

nRecNum

   [in] 报警点个数。

pTagIDArray

   [in] 报警点ID数组。

nMask

   [in]返回的报警记录的属性掩码

pRecArray

   [out] 报警记录数组。

pErrCodeArray

   [out] 错误码数组。

返回值

查询成功,返回RD_SUCCESS。一部分成功返回EC_HD_API_SPC_QUERY_SNAPSHOTS_FAILED,查询失败返回其它错误码,见error_code.h。

说明

举例

示例代码参见SPC报警记录

参见:

spc3_query_group_child_tags

spc3_acknowledge_alarms

spc3_query_snapshots

spc3_register_alarm_record_info

spc3_query_tag_records

spc3_query_tags_all_all_records

spc3_query_group_records

spc3_comment_alarms

 

©2015. All Rights Reserved.