EasyManua.ls Logo

Sekonic C-7000 SDK - SDK Function Details; SK_Connect and SK_Disconnect

Sekonic C-7000 SDK
23 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
Loading...
C-7000 SDK REFERENCE MANUAL
No. I401-C-700-034
Page 15
2012/03/01
3.7. Function detail
3.7.1. SK_Connect ()
operation
Connect with C-7000
type
Function SK_Connect() as Long
argument
none
return
value
Result of communication with C-7000(refer3.5.1)
note
In case of multiple devices, it connects with first device defined by PC
example
Private C7000Device as New C7000.SDK generate instance of SDK
Private Sub Sample()
Dim SDKResult As Long
' >>>>> connect <<<<<
SDKResult = C7000Device.SK_Connect()
If C7000.SDK.SKF_STATUS_COM.SUCCESS <> SDKResult Then ' connect error ?!
' add error processing...
End If
End Sub
3.7.2. SK_Disconnect ()
operation
Disconnect with C-7000
type
Function SK_Disconnect() as Long
argument
none
return
value
Result of communication with C-7000(refer3.5.1)
note
Please set remote mode off before disconnecting
example
Private C7000Device As New C7000.SDK ' generate instance of SDK
Private Sub Sample()
Dim SDKResult As Long
' >>>>> disconnect <<<<<
SDKResult = C7000Device.SK_Disconnect()
If C7000.SDK.SKF_STATUS_COM.SUCCESS <> SDKResult Then ' disconnect error ?!
' add error processing...
End If
End Sub

Related product manuals