AdvancedHMI Software

General Category => Open Discussion => Topic started by: bachphi on November 28, 2018, 04:55:37 PM

Title: .NET interface directly to Cognex
Post by: bachphi on November 28, 2018, 04:55:37 PM
I plan to use a cognex Dataman DMR260 and  a IS2000M without a PLC, just PC with .NET using their SDK.
Anybody here with experience using their SDK? TIA.
Title: Re: .NET interface directly to Cognex
Post by: Archie on November 28, 2018, 05:37:53 PM
I have not personally used it, but my counterpart that has done many vision systems has integrated the Cognex SDK into AdvancedHMI applications.
Title: Re: .NET interface directly to Cognex
Post by: bachphi on November 28, 2018, 07:19:39 PM
Nice, are you referring Mr. RB?
Title: Re: .NET interface directly to Cognex
Post by: Archie on November 28, 2018, 08:45:15 PM
Nice, are you referring Mr. RB?
His user name on here is alanls1, but he rarely visits the forum.
Title: Re: .NET interface directly to Cognex
Post by: bachphi on November 30, 2018, 12:56:15 PM
Here is what I got from Cognex support:
Code: [Select]
Since the IS2000 series does not have Spreadsheet capability, it does not work with the In-Sight SDK.
Here's an excerpt from the SDK Release Notes (that come installed with the SDK):
"The In-Sight Micro 1020, In-Sight 2000 series and In-Sight 7020, 7010, 7230, 7430 and 7432 are not supported with the In-Sight SDK."

I just wonder if your counterpart ever done any work with IS2000?
Title: Re: .NET interface directly to Cognex
Post by: Archie on November 30, 2018, 02:39:33 PM
Do you just want to see a picture from the camera or the live video?
Title: Re: .NET interface directly to Cognex
Post by: bachphi on November 30, 2018, 04:36:59 PM
I am planning to use a DMR260 to read a string from a datamatrix, process the string. Then use IS2000 to check for presence of certain feature. At the end , make the decision based on the combined results.

I am currently trying to convert Cognex SDK for DMR C# to vb, but having problem with the conversion as well. If you or someone can help with the translation, that would be great. TIA
Title: Re: .NET interface directly to Cognex
Post by: bachphi on December 01, 2018, 02:55:50 PM
No Error, untested version
Title: Re: .NET interface directly to Cognex
Post by: bachphi on December 03, 2018, 06:53:52 AM
I tested w/ a DMR8600 using Serial/USB. It seemed  to be working fine except the logging part
Title: Re: .NET interface directly to Cognex
Post by: bachphi on January 04, 2019, 10:42:15 PM
I plan to use a cognex Dataman DMR260 and  a IS2000M without a PLC, just PC with .NET using their SDK.
Anybody here with experience using their SDK? TIA.
According to Cognex support, IS2000 series does not have Spreadsheet capability, and therefore it does not work with the In-Sight SDK.
And since IS2000 is capable of sending ASCII text over TCP/IP. I think I will try to use the GenericTCPClient which is now a part of AAHMI control components.