Invalid option error in initialization of TimeHarp260 #18
-
Hello PicoQuant team! I'm trying to use TimeHarp260 (PICO) from Python on Windows. I confirmed the TH260 works with a GUI app downloaded from the official website. However, when I try to use it from DLL (it is also downloaded from the official website), the initialization failed and caused an invalid option error. I have tried several situations, Could you please provide me with some guidance? Below are the minimum code and printed messages.
Code: from snAPI.Main import *
sn = snAPI(libType=LibType.TH260)
sn.getDevice()
sn.setLogLevel(logLevel=LogLevel.DataFile, onOff=True)
sn.initDevice(measMode=MeasMode.Histogram)
# T2 and T3 also cause the same error
# sn.initDevice(measMode=MeasMode.T2)
# sn.initDevice(measMode=MeasMode.T3) Printed message:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
error -19 means: no license for TTTR or other option I checked the serial number of your TH260 and indeed you did not purchase the DLL-option which is necessary to use the TimeHarp260 together with custom written software via the dll. Please send an email to [email protected] mentioning the serial number of your device (1047180) and we will send you a quote for the necessary option. |
Beta Was this translation helpful? Give feedback.
-
@tpoint75 Maybe the error -19 codes could be a bit more verbatim ? |
Beta Was this translation helpful? Give feedback.
error -19 means: no license for TTTR or other option
I checked the serial number of your TH260 and indeed you did not purchase the DLL-option which is necessary to use the TimeHarp260 together with custom written software via the dll. Please send an email to [email protected] mentioning the serial number of your device (1047180) and we will send you a quote for the necessary option.