EasyManuals Logo

Atlas Copco PowerMACS 4000 User Manual

Atlas Copco PowerMACS 4000
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #593 background imageLoading...
Page #593 background image
Peripheral Devices
9836 3521 01 593
Receiving cycle data from the target system using subscription
This example assumes that there is a label where you can put the cycle data result if there is one.
Note! The API object should have been declared With Events.
Private Sub mPowApi_RecNewCd(Station As Integer, Id As Long)
'
' Abstract: New Cycle data notification received from the API
'
On Error GoTo ErrorHandler
Dim Size As Long
Dim Ret As RetCodeEnum
Dim Buf As String
Size = 10000
Ret = mPowApi.GetCycleDatabyId(Buf, Size, Id)
If Ret = eRetOk Then
lblResult = Buf ' Take care of cycle data
ElseIf Ret <> eRetNoData Then
MsgBox "GetCycleData returned: " & Ret ' Something wrong
End if
Exit Sub
ErrorHandler:
libCleanTerminate "mPowApi_RecNewCd"
Stop
Resume
End SubEnd Sub

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atlas Copco PowerMACS 4000 and is the answer not in the manual?

Atlas Copco PowerMACS 4000 Specifications

General IconGeneral
BrandAtlas Copco
ModelPowerMACS 4000
CategoryPower Tool
LanguageEnglish

Related product manuals