» » Communication Protocol Suite for .NET 3.0

 

Communication Protocol Suite for .NET 3.0

Author: Loreal on 4-01-2015, 18:23, views: 613

0
Communication Protocol Suite for .NET 3.0
Communication Protocol Suite for .NET 3.0 | 427 kB


Communication protocols 3964 and 3964R for .NET.
available for .NET 2 - 4.5
source code included in full version
royalty free distribution

INSTALLATION

Add component to Visual Studio toolbox:

1. click "Tools/Choose Toolbox Items..." menu
2. click Browse button
3. select files
"C:\Program Files (x86)\Winsoft\Communication Protocol Suite for .NET\NET4\Design\Winsoft.ComPort.dll"
"C:\Program Files (x86)\Winsoft\Communication Protocol Suite for .NET\NET4\Design\Winsoft.ProtSuite.dll"


Sending data to the communication device

// writes "AT&V" terminated with CR
comPort.WriteString("AT&V\xd");


Reading data from the communication device

// set timeout
comPort.Timeouts.ReadMultiplier = 100;
comPort.Timeouts.ReadConstant = 100;

try
{
// read 10 characters
string value = comPort.ReadString(10);

// show data
MessageBox.Show(value);
}
catch (ComException ex)
{
// timeout
MessageBox.Show(ex.Message);


Home:
http://www.winsoft.sk


DOWNLOAD

Category: Microsoft.net

Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.
Information
Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.