GUI-based terminal interface to a device serial port. More...
Public Member Functions | |
PvSerialTerminalWnd () | |
Constructor. | |
virtual | ~PvSerialTerminalWnd () |
Destructor. | |
PvResult | SetDevice (IPvDeviceAdapter *aDevice) |
Assigns the device through which the serial port is accessed. More... | |
PvResult | SetSerialPort (PvDeviceSerial aPort) |
Assigns a specific serial port to the terminal window. More... | |
PvDeviceSerial | GetSerialPort () const |
Returns the serial port currently assigned to the terminal window. More... | |
![]() | |
void | SetPosition (int32_t aPosX, int32_t aPosY, int32_t aSizeX, int32_t aSizeY) |
Set the window's position and size. More... | |
void | GetPosition (int32_t &aPosX, int32_t &aPosY, int32_t &aSizeX, int32_t &aSizeY) |
Get the window's position and size. More... | |
PvString | GetTitle () const |
Get the window's title. More... | |
void | SetTitle (const PvString &aTitle) |
Set the window's title. More... | |
PvResult | Close () |
Close the window. More... | |
Additional Inherited Members | |
![]() | |
PvWnd () | |
Constructor. | |
virtual | ~PvWnd () |
Destructor. | |
GUI-based terminal interface to a device serial port.
PvSerialTerminalWnd presents a GUI to the user allowing serial communication through a Pleora GigE Vision video interface.
Use of the PvSerialTerminalWnd class to directly access the camera head will interfere with the synchronisation between the device and the camera head. It is recommended to avoid accessing device features linked to the camera head while using the PvSerialTerminalWnd class to interact with the camera head.
To use a this class as a modal dialog:
To use a this class as a modeless dialog:
PvDeviceSerial PvSerialTerminalWnd::GetSerialPort | ( | ) | const |
Returns the serial port currently assigned to the terminal window.
PvResult PvSerialTerminalWnd::SetDevice | ( | IPvDeviceAdapter * | aDevice | ) |
Assigns the device through which the serial port is accessed.
[in] | aDevice | Pointer to a PvDevice object. The device must be connected prior to opening a serial port. |
PvResult PvSerialTerminalWnd::SetSerialPort | ( | PvDeviceSerial | aPort | ) |
Assigns a specific serial port to the terminal window.
[in] | aPort | PvDeviceSerial enumeration value representing the device's serial port to use. |
Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com