Skip to main content
Submitted by alongilboaafimilk on Thu, 07/27/2017 - 09:08

Hi
I develop on windows PC using C# , .NET, visual studio 2015.
I use gclib.GRecord(false) using the C# API, to read the current state of a DMC 4173, over ethernet cable.
I receive a byte array, but want to cast it into struct or class similar to GDataRecord.
question:
Do you have that source code ready?

Alon
Afimilk

Comments 2

alongilboaafimilk on 08/02/2017 - 04:24

is this forum active?

troym_galil on 08/04/2017 - 09:24

Hello Alon,

We have structures available for C and C++ to take the byte array and cast to the correct data type. We do not have this available in C#.NET. The wrapper code is open source so you can modify it as you need. Depending on what you are trying to do, the GalilWidgets package could meet your needs. This has an XML configuration file for a DataRecord viewer tool. Please check this out and also contact us at support@galil.com for more direct questions.

http://www.galil.com/sw/pub/all/doc/gclib/html/widgets.html