EasyManua.ls Logo

Sekonic C-7000 SDK - SK_SetRemoteMode Function; SK_GetMeasConfig Function

Sekonic C-7000 SDK
23 pages
Print Icon
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 17
2012/03/01
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
value
Result of communication with C-7000(refer3.5.1)
note
Please set remote mode ON before before transacting function of SK_GetMeasConfig ()
SK_SetMeasConfig ()SK_StartMeasuring ()
SK_StopStandby ()SK_GetMeasuringResult (), etc
example
Private C7000Device As New C7000.SDK ' generate instance of SDK
Private Sub Sample()
Dim SDKResult As Long
' >>>>> remote mode ON <<<<<
SDKResult =
C7000Device.SK_SetRemoteMode(C7000.SDK.SKF_REMOTE.REMOTE_ON)
If C7000.SDK.SKF_STATUS_COM.SUCCESS <> SDKResult Then ' remote ON error ?!
' add error processing...
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
value
Result of communication with C-7000 (refer3.5.1)
note
To get the measuremet configuration of connected C-7000 (view angle, measurement
mode, exposure time, shutter speed)
example
Private C7000Device As New C7000.SDK ' generate instance of SDK
Private Sub Sample()
Dim SDKResult As Long
Dim Config As C7000.SDK.SKS_MEAS_CONFIG
' >>>>> get measurement configuration <<<<<
SDKResult = C7000Device.SK_GetMeasConfig(Config)
If C7000.SDK.SKF_STATUS_COM.SUCCESS <> SDKResult Then ' get configuration
error ?!
' add error processing...
End If
End Sub

Related product manuals