Unable to reach CM3 from SDK

Post your .Net discussions here
Post Reply
meganano
Newbie
Posts: 0
Joined: Tue Sep 06, 2016 8:21 am

Unable to reach CM3 from SDK

Post by meganano » Tue Sep 06, 2016 8:27 am

Hello,

If I use the Pico Recorder (Converter) I can connect to my CM3 device, as it appears after I hit the refresh button. The SDK c# example says "Unable to open device". I was thinking the port information is missing? In the Converter window I manually type in port 3000, but the "openUnitViaIP" method doesn't need a port number....

Or am I missing somehting here?

Best regards

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

Re: Unable to reach CM3 from SDK

Post by Martyn » Mon Sep 12, 2016 8:35 am

There is an error in the code. The OpenUnit call needs the string address:port

Code: Select all

                ipAddress = "192.168.1.74:6570";
                status = Imports.OpenUnitViaIp(out handle, str, ipAddress);
Martyn
Technical Support Manager

Post Reply