Getdeviceinfo () - Sekonic C-7000 SDK Reference Manual

Table of Contents

Advertisement

C-7000 SDK REFERENCE MANUAL
3.7.3.
SK_GetDeviceInfo ()
operation
Get device information
type
Function SK_GetDeviceInfo(ByRef DeviceInfo As SKS_DEVICE_INFO) as Long
argument save destination of device info (refer3.6.1)
return
Result of communication with C-7000 (refer3.5.1)
value
To get C-7000 status info, remote mode info, button info, light selection ring position info,
note
etc
Private
Private Sub
Dim
Dim
' >>>>> get device info <<<<<
SDKResult = C7000Device.SK_GetDeviceInfo(DeviceInfo)
If
error ?!
End If
example
' >>>>> check device status info <<<<<
If
End If
' >>>>> check light selection ring position <<<<<
If
End If
' >>>>>> check button status <<<<<
If
End If
End Sub
C7000Device
As New
C7000.SDK
Sample()
SDKResult
As Long
DeviceInfo
As
C7000.SDK.SKS_DEVICE_INFO
C7000.SDK.SKF_STATUS_COM.SUCCESS <> SDKResult
'add error processing...
C7000.SDK.SKF_STATUS_DEVICE.IDLE <> DeviceInfo.Status
'add processing...
C7000.SDK.SKF_STATUS_RING.LOW <> DeviceInfo.Ring
'add processing...
0 <> (C7000.SDK.SKF_STATUS_BUTTON.MEASURING
'add processing..
No. I401-C-700-034
' generate instance of SDK
Then
' get device info
Then
Then
And
DeviceInfo.Button)
Then
Page 16
2012/03/01

Advertisement

Table of Contents
loading

Table of Contents