PT-104 and readout temperatur with ethernet

Post your VB and VBA discussions here.

PT-104 and readout temperatur with ethernet

Postby ManzW » Fri Jul 15, 2011 12:52 pm

Dear all,

I'm using the PT-104. This temperature data logger has two possible connections. USB + Ethernet. I'm writing a precedure in Visual Basic 6.0 to read out the temperatures. The procedure runs fine if I'm using the USB-connection for data transfer. There is also a funtion called "UsbPt104OpenUnitViaIp" where I can readout the temperature by the Ethernet connection (USB is still connected for powering). I used the tools "EthernetSettings" to set the IP-address to a free possible address (e.g. 172.017.109.253). Using the written funtion crashes visual basic.
The called procedure has three variables. How can I enter the IP-address and/or how do I have to specify the variable?

Does anybody successfully used the "UsbPt104OpenUnitIp"?

Thanks for your assistance and help!

Regards
ManzW
 

Re: PT-104 and readout temperatur with ethernet

Postby ManzW » Mon Jul 25, 2011 3:26 pm

Dear all,

I'm really sad, that nobody had any information for me :cry:

But I went into contact with a technical guy at picotech. He helped me to get it run. If there is somebody interested he can take a look to the attachment.

I also have another problem. There is a command called "UsbPt104IpDetails" but the datalogger always sends the error code #12 back (Pico_Invalid_Channel_Condition).

I tried to fix the problem with different variable types. But always the same error code back.

Has anybody a helpful information for me?

Best regards

Werner
ManzW
 


Return to VB and VBA (Excel, Access)

Who is online

Users browsing this forum: No registered users and 0 guests