주요 콘텐츠

이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.

과거 데이터에 액세스

OPC HDA 서버의 데이터에 액세스

Industrial Communication Toolbox™는 OPC HDA 서버에 연결하는 OPC HDA 클라이언트를 제공합니다. 클라이언트를 사용하여 원시 데이터와 처리된 데이터 둘 모두를 읽고 해석합니다. 또는 원시 값을 가져와 툴박스의 OPC HDA 함수를 사용하여 처리할 수도 있습니다. 대규모 데이터 세트를 처리할 때 서버에 처리된 데이터만 반환하도록 지시하면 전송 시간과 데이터 용량을 줄일 수 있습니다.

MATLAB®는 OPC HDA 서버의 모든 데이터를 OPC HDA 데이터 객체로 저장하므로 데이터를 편리하게 저장하고 조작하고 시각화할 수 있습니다. 각 데이터 요소에는 항목 ID와 연결된 데이터 값, 품질 및 타임스탬프가 포함됩니다.

함수

모두 확장

opcregisterInstall and register OPC Foundation core components
opchdaserverinfoQuery host for installed HDA servers
opchdaCreate OPC historical data access client
connectConnect client object to OPC server
isConnectedDetermine if HDA client is connected to server
disconnectDisconnect client object from OPC server
opc.hda.resetDisconnect and delete all OPC HDA client objects
findDescriptionLocate OPC HDA servers using server description
getNamespaceOPC HDA server namespace
browseNamespaceGraphically browse OPC HDA server namespace
readRawRead raw data of specified time range from HDA server
readModifiedRead modified data from an OPC HDA server
readAtTimeRead data from an OPC HDA server at specified times
readProcessedRead server-aggregated data from OPC HDA server
opc.hdaQualityStringconverts OPC HDA quality ID to quality string
readItemAttributesRead item attribute values from OPC HDA server
getDescriptionGet description of OPC HDA aggregate type or item attribute
getIDFromNameGet ID of OPC HDA aggregate type or item attribute
getIDListGet IDs of all aggregate types or item attributes of OPC HDA object
getNameListGet names of all aggregate types or item attributes of OPC HDA object
getIndexFromIDIndices matching OPC HDA data item IDs
opc.setDateDisplayFormatSet display format of timestamp for OPC data objects
opc.getDateDisplayFormatGet display format of timestamp for OPC data objects
showValuesDisplay table of values for OPC HDA data object
stairsPlot OPC HDA data in stairstep graph
plot Plot OPC HDA data in line graph
tsintersectIntersection of timestamps in OPC HDA data object
tsunionUnion of timestamps in OPC HDA data object
arrayHasSameTimeStampVerify if all elements in OPC HDA data object have same timestamp
resampleResample OPC HDA data object to have defined timestamps
singleConvert OPC HDA data object array to single matrix
doubleConvert OPC HDA data object array to double matrix
int8Convert OPC HDA data object array to int8 matrix
int16Convert OPC HDA data object array to int16 matrix
int32Convert OPC HDA data object array to int32 matrix
int64Convert OPC HDA data object array to int64 matrix
uint8Convert OPC HDA data object array to uint8 matrix
uint16Convert OPC HDA data object array to uint16 matrix
uint32Convert OPC HDA data object array to uint32 matrix
uint64Convert OPC HDA data object array to uint64 matrix
logicalConvert OPC HDA data object array to logical matrix

도움말 항목

OPC HDA(Historical Data Access) 정보

서버 연결 및 탐색

데이터 검색 및 표시

추천 예제