Startmeasuring () - Sekonic C-7000 SDK Reference Manual

Table of Contents

Advertisement

C-7000 SDK REFERENCE MANUAL
3.7.7.
SK_StartMeasuring ()
opeartion
Start measurement
type
Function SK_StartMeasuring() as Long
argument none
return
Result of communication with C-7000 (refer3.5.1)
value
note
Private
Private Sub
Dim
Dim
' >>>>> start measurement <<<<<
SDKResult = C7000Device.SK_StartMeasuring ()
If
error ?!
example
End If
' >>>>> wait for completion of measurement <<<<<
Do
error ?!
Loop While
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...
System.Threading.Thread.Sleep(100)
SDKResult = C7000Device.SK_GetDeviceInfo(DeviceInfo)
If
C7000.SDK.SKF_STATUS_COM.SUCCESS <> SDKResult
' add error processing...
End If
(C7000.SDK.SKF_STATUS_DEVICE.IDLE <> DeviceInfo.Status And
C7000.SDK.SKF_STATUS_DEVICE.IDLE_OUT_MEAS <> DeviceInfo.Status)
No. I401-C-700-034
' generate instance of SDK
Then
' start measurement
Then
' get device info
Page 19
2012/03/01

Advertisement

Table of Contents
loading

Table of Contents