Test and Measurement Forum

Unable to reach CM3 from SDK

Post your .Net discussions here

Unable to reach CM3 from SDK

Postby meganano » Tue Sep 06, 2016 8:27 am


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
Posts: 0
Joined: Tue Sep 06, 2016 8:21 am

Re: Unable to reach CM3 from SDK

Postby 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 = "";
                status = Imports.OpenUnitViaIp(out handle, str, ipAddress);
Technical Support Manager
Site Admin
Site Admin
Posts: 3177
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Return to .Net Languages (C#, VB.Net, .)

Who is online

Users browsing this forum: No registered users and 0 guests