Scripting for custom serial or Ethernet communciation.

Post Reply
User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Scripting for custom serial or Ethernet communciation.

Post by Ron L. »

Using C# scripting in iX Developer, it is possible to communicate to other devices using a custom protocol not support by the drivers. I've attached some example iX Developer 1.30 projects to help get started.
Attachments
TCPClientSrcEx.zip
Sample project; TCP/IP Client. iX Developer v1.3.
(31.22 KiB) Downloaded 1548 times
UDPServerSrcEx.zip
Sample project; UDP Server. iX Developer v1.3.
(32.76 KiB) Downloaded 1291 times
SimpleSerialTmrEx.zip
Sample project; custom serial communication. iX Developer v1.3
(29.95 KiB) Downloaded 1803 times
UDPClientSrcEx.zip
Sample project; UDP Client. iX Developer v1.3.
(32.33 KiB) Downloaded 1269 times
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer

User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Re: Scripting for custom serial or Ethernet communciation.

Post by Ron L. »

A more advanced serial example.
Attachments
NMEASerialParseEx.zip
(32.19 KiB) Downloaded 1468 times
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer

User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Re: Scripting for custom serial or Ethernet communciation.

Post by Ron L. »

Example for receiving strings in the format of "<tag name>=<value>;" on a serial port.
Attachments
SerialParseEx.zip
(38.39 KiB) Downloaded 1319 times
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer

Post Reply