Skip to content

Commit f89e766

Browse files
committed
Fixed issue causing application not to start
1 parent 7a4f93d commit f89e766

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

avaspec.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,14 @@ def AVS_GetScopeData(handle, timelabel, spectrum):
251251
ctypes.byref(spectrum)
252252
)
253253

254+
def AVS_GetLambda(handle, lambdas):
255+
lib = ctypes.WinDLL("avaspecx64.dll")
256+
257+
return lib.AVS_GetScopeData(
258+
handle,
259+
ctypes.byref(lambdas)
260+
)
261+
254262
def AVS_GetParameter(handle, size, reqsize, deviceconfig):
255263
lib = ctypes.WinDLL("avaspecx64.dll")
256264
prototype = ctypes.WINFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_uint32, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(DeviceConfigType))

0 commit comments

Comments
 (0)