VB.NET code to exchange data between a PC and an iC922x controller
| Version Number | Description |
|---|---|
| 1.0 | Initial Version |
This application note shows how to send /receive data to/from a VB.NET application running on a PC and an iC922x controller.
1. Supported Components
| Component Name | Version |
|---|---|
| iC9200 series | ≥ 2024.9 |
| iCube Engineer | ≥ 2024.9 |
| .NET | .NET Framework Version: 4.7.2 -- Console Application |
2. Supporting Libraries
All.
3. Solution details
Prepare the iC922x controller as a server. Code given below opens a socket and gets ready to receive a maximum of 1024 bytes (size of the variable 'dataFromPC').
Code in VB.NET is shown below.
.NET Framework Version: 4.7.2 -- Console Application