07-06-2020 02:30 AM
Dear all,
I am developing a vi to read with the thermometer PICO USTBC08 and the nanovoltmeter Keithley 2812. The problem is that sometimes, the program closes automatically. Others, it runs but when I interact with some button (for example "Configure") it closes too.
If I remove some of these devices from the vi, it works properly; so I cannot determine which part of the code is causing the problem.
Please, could you help me to identify the problem in this vi?
Regards
Solved! Go to Solution.
07-06-2020 03:27 AM
What driver do you use for the Keithley device? The official VISA based driver from NI?
If so I'm pretty sure your problems come from the Pico Driver. Are you sure you use the latest one from their github repository?
They seem to use DLLs and interfacing to DLLs is a serious challenge that many do not understand how to do right. I've seen many drivers from instrument manufacturers that are flawed in various ways, up to outright useless trash.
07-06-2020 05:22 AM
Hi rolfk,
I have downloaded Keithley Driver from http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=4805B27587BA4E05E05400144FF9A4...
and Pico files from https://www.picotech.com/downloads and https://github.com/picotech/picosdk-ni-labview-examples/tree/master/usbtc08
Yes, as you say, Pico is based on DLLs but I find surprising that if I use the Example vi alone, it works properly, but when inserted in the vi with the Keithley and write data functions, it stops and closes automatically LabVIEW program, without showing any error.
Thank you for your quick response,
Regards
07-06-2020 06:12 AM
Hi,
Do you know if the temperature can be read using the Pico and the LabVIEW without DLLs? All Examples available at Github are based on DLLs,
Thank you in advance,
Regards
07-06-2020 03:50 PM
@ambabiloni wrote:
Hi,
Do you know if the temperature can be read using the Pico and the LabVIEW without DLLs? All Examples available at Github are based on DLLs,
Doesn't look like. All the SDK examples use the DLL or on Linux a shared library from Pico. They do not seem to want to let anyone see what top secret communcation protocol their product uses.
07-07-2020 09:45 AM
That's a real problem, I will see if I can connect another device to measure the temperatures.
Thank you very much for your response.
Regards