Setremotemode (); Getmeasconfig () - Sekonic C-7000 SDK Reference Manual

Table of Contents

Advertisement

C-7000 SDK REFERENCE MANUAL
3.7.4.
SK_SetRemoteMode ()
operation
Set ON/OFF of remote mode
type
Function SK_SetRemoteMode(ByVal RemoteMode As SKF_REMOTE) as Long
argument Set ON/OFF of remote mode(refer3.5.5)
return
Result of communication with C-7000(refer3.5.1)
value
Please set remote mode ON before before transacting function of SK_GetMeasConfig ()、
SK_SetMeasConfig ()、SK_StartMeasuring ()、
note
SK_StopStandby ()、SK_GetMeasuringResult (), etc
Private
Private Sub
Dim
' >>>>> remote mode ON <<<<<
example
SDKResult =
C7000Device.SK_SetRemoteMode(C7000.SDK.SKF_REMOTE.REMOTE_ON)
If
End If
End Sub
3.7.5.
SK_GetMeasConfig ()
operation
To get the configuration of measurement set in the device
type
Function SK_GetMeasConfig(ByRef MeasConfig As SKS_MEAS_CONFIG) as Long
argument Save destination of measurement configuration refer3.6.13)
return
Result of communication with C-7000 (refer3.5.1)
value
To get the measuremet configuration of connected C-7000 (view angle, measurement
note
mode, exposure time, shutter speed)
Private
Private Sub
Dim
Dim
example
' >>>>> get measurement configuration <<<<<
SDKResult = C7000Device.SK_GetMeasConfig(Config)
If
error ?!
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
Config
As
C7000.SDK.SKS_MEAS_CONFIG
C7000.SDK.SKF_STATUS_COM.SUCCESS <> SDKResult
' add error processing...
No. I401-C-700-034
' generate instance of SDK
Then
' remote ON error ?!
' generate instance of SDK
Then
' get configuration
Page 17
2012/03/01

Advertisement

Table of Contents
loading

Table of Contents