• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - CDP Core
  • SerialNT
  • 5.0.0

SerialNT Class

Implements the Serial interface on Win32. More...

Header: #include <SerialNT>
Inherits: Serial
  • List of all members, including inherited members

Public Functions

SerialNT()
virtual ~SerialNT()
bool TxWait(unsigned int lTimeout)

Reimplemented Public Functions

virtual void ClearDTR() override
virtual void ClearRTS() override
virtual void Close() override
virtual bool GetByte(unsigned char *pByte, unsigned int lTimeout) override
virtual int GetBytes(unsigned char *pBuf, int nBytes, unsigned int lTimeout) override
virtual unsigned int GetInfinite() override
virtual unsigned int GetZeroTimeout() override
virtual bool Open() override
virtual bool PutByte(const unsigned char *pByte, unsigned int lTimeout) override
virtual int PutBytes(const unsigned char *pBuf, int nBytes, unsigned int lTimeout) override
virtual void SetDTR() override
virtual void SetRTS() override
virtual void SetupParams(unsigned int lBaudRate, ParityModes eParity, int nDataBits, int nStopBits, ProtocolModes eProtocol, int nMultiDrop, std::string strPortName) override
  • 21 public functions inherited from Serial

Additional Inherited Members

  • 1 static public member inherited from Serial
  • 4 protected functions inherited from Serial

Detailed Description

Implements the Serial interface on Win32.

See also Serial and SerialLinux.

Member Function Documentation

SerialNT::SerialNT()

Constructor. Don't instansiate this class; Use Serial::MakeSerial() instead.

[virtual] SerialNT::~SerialNT()

[override virtual] void SerialNT::ClearDTR()

Reimplemented from Serial::ClearDTR().

[override virtual] void SerialNT::ClearRTS()

Reimplemented from Serial::ClearRTS().

[override virtual] void SerialNT::Close()

Reimplemented from Serial::Close().

[override virtual] bool SerialNT::GetByte(unsigned char *pByte, unsigned int lTimeout)

Reimplemented from Serial::GetByte().

[override virtual] int SerialNT::GetBytes(unsigned char *pBuf, int nBytes, unsigned int lTimeout)

Reimplemented from Serial::GetBytes().

[override virtual] unsigned int SerialNT::GetInfinite()

Reimplemented from Serial::GetInfinite().

[override virtual] unsigned int SerialNT::GetZeroTimeout()

Reimplemented from Serial::GetZeroTimeout().

[override virtual] bool SerialNT::Open()

Reimplemented from Serial::Open().

[override virtual] bool SerialNT::PutByte(const unsigned char *pByte, unsigned int lTimeout)

Reimplemented from Serial::PutByte().

[override virtual] int SerialNT::PutBytes(const unsigned char *pBuf, int nBytes, unsigned int lTimeout)

Reimplemented from Serial::PutBytes().

[override virtual] void SerialNT::SetDTR()

Reimplemented from Serial::SetDTR().

[override virtual] void SerialNT::SetRTS()

Reimplemented from Serial::SetRTS().

[override virtual] void SerialNT::SetupParams(unsigned int lBaudRate, ParityModes eParity, int nDataBits, int nStopBits, ProtocolModes eProtocol, int nMultiDrop, std::string strPortName)

Reimplemented from Serial::SetupParams().

bool SerialNT::TxWait(unsigned int lTimeout)

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top