Test and Measurement Forum

Using Visual C# with Picolog 1012

Post your .Net discussions here

Using Visual C# with Picolog 1012

Postby Surface_Test » Tue Oct 27, 2015 11:08 am

I am working on code to control my Picolog1012 under Visual Studio 2013.
I would like to build this function into my Form based Visual C# program.

I have installed the full SDK suite: 10.6.10, but see limited support for C# for this product.

Do you have C# wrappers available for the Picolog1000 series?

Thanks.
Surface_Test
Newbie
 
Posts: 0
Joined: Tue Oct 27, 2015 11:00 am

Re: Using Visual C# with Picolog 1012

Postby Hitesh » Tue Oct 27, 2015 3:02 pm

Hi Surface_Test,

Please find below a couple of files that should help you get started.

The main file is the PL1000Imports.cs file which contains the function definitions. The PL1000ConsoleExample.cs file is just a basic example showing how to open a connection, display device information and then close the connection.

PL1000Imports.cs
Imports definition file
(5.81 KiB) Downloaded 53 times


PL1000ConsoleExample.cs
Basic C# example code
(3.96 KiB) Downloaded 58 times


Hope this helps,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2006
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Using Visual C# with Picolog 1012

Postby Surface_Test » Tue Oct 27, 2015 3:54 pm

Thanks very much Hitesh.

That works nicely.
Surface_Test
Newbie
 
Posts: 0
Joined: Tue Oct 27, 2015 11:00 am


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

Who is online

Users browsing this forum: No registered users and 0 guests