Skip to content

Commit

Permalink
Fixed issue causing application not to start
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoux committed Jul 17, 2018
1 parent 7a4f93d commit f89e766
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions avaspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@ def AVS_GetScopeData(handle, timelabel, spectrum):
ctypes.byref(spectrum)
)

def AVS_GetLambda(handle, lambdas):
lib = ctypes.WinDLL("avaspecx64.dll")

return lib.AVS_GetScopeData(
handle,
ctypes.byref(lambdas)
)

def AVS_GetParameter(handle, size, reqsize, deviceconfig):
lib = ctypes.WinDLL("avaspecx64.dll")
prototype = ctypes.WINFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_uint32, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(DeviceConfigType))
Expand Down

0 comments on commit f89e766

Please sign in to comment.