UsbPt104OpenUnitViaIp

Post your VB and VBA discussions here
Post Reply
sscthj89
Newbie
Posts: 0
Joined: Tue Dec 06, 2016 9:46 pm

UsbPt104OpenUnitViaIp

Post by sscthj89 » Tue Dec 06, 2016 10:04 pm

I am currently attempting to create an application that uses a unit that is connected via Ethernet. I am able to ping the unit and the unit has been working correctly with the PicoLog software supplied. To connect using my application I have turned off the PicoLog and am trying to use the excel spreadsheet application for verification that the connect works. I have already gone through the tasks of ensuring the driver api file is correct and am now at the point in the code where the function 'UsbPt104OpenUnitViaIP' is failing and returning 3 which is unit not found. Again, the unit pings. Any help would be greatly appreciated.

sscthj89
Newbie
Posts: 0
Joined: Tue Dec 06, 2016 9:46 pm

Re: UsbPt104OpenUnitViaIp

Post by sscthj89 » Wed Dec 07, 2016 6:13 pm

Actually, I found my problem. I was not using the port in the IPAddress string.

Martyn
Site Admin
Site Admin
Posts: 3305
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: UsbPt104OpenUnitViaIp

Post by Martyn » Thu Dec 08, 2016 7:17 am

Good to hear that you have found the issue :)
Martyn
Technical Support Manager

Post Reply