Function Detail; Connect (); Disconnect () - Sekonic C-7000 SDK Reference Manual

Table of Contents

Advertisement

C-7000 SDK REFERENCE MANUAL
3.7.

Function detail

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

Advertisement

Table of Contents
loading

Table of Contents