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

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
meganano
Newbie
 
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 = "192.168.1.74:6570";
                status = Imports.OpenUnitViaIp(out handle, str, ipAddress);
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
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