I'm running a computer with Windows Seven 64 bits and Excel 2016. I have 2 PT-104 USB :
On the CQ493/053 I have four temperature measurement device
On the CV669/077 I have two temperature measurement device
With Picolog, I'm able to see the six measurement device
If I'm trying the MS Excel VBA Example for USB PT-104 (64-bit) USBPT104_x64.xls, when I push the button Get Data:
It seems that the macro is finding only the CQ493/053 device, how I can modify the macro to have the two PT-104 ? and then to have the six channels ?
At first, No Data appear in the cells A2, B2, C2 & D2 and some data appear only in A3 & B3,
then nothing happen during 1 minutes (more or less) and suddenly all the data appear in the table ? Why the data are not appearing subsequently ?
This is the file I recorded with executing the macro
The example is designed to collect data for one USB PT-104 device.
If you wish to collect data from two devices, you will need to modify the example accordingly.
Please note that when you call the UsbPt104OpenUnit() function it will return a unique handle value for the device that it opens a connection to. You do have the option to specify the serial number of the device that you wish to connect to.
Once the handle value has been obtained, you can then use this value to call the subsequent functions to setup the devices and collect data. Please also refer to the Programmer's Guide for further information on the functions available from the driver.
Could you please e-mail support@picotech.com and we can provide you with an updated dll to see if it resolves the issue with the delay.
Declare PtrSafe Function UsbPt104Enumerate Lib "usbpt104.dll" (ByVal details As String, ByVal length As Integer, ByVal communicationType As Long) As Long