![Troi Serial Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4638-serial-online-help-fb-600.jpg)
![]() |
Serial_GetUSBInfo |
Get USB information (if available) of the serial port with the specified name.
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
Serial_GetUSBInfo ( switches ; portname )
![Troi Serial Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4638-serial-online-help-fb-600.jpg)
![]() |
Serial_DelayMilliseconds |
Waits the specified number of milliseconds.
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
Serial_DelayMilliseconds( switches ; milliseconds )
![Troi Serial Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4638-serial-online-help-fb-600.jpg)
![]() |
Serial_GetPortInfo |
Get information and status of the serial port with the specified name.
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
Serial_GetPortInfo ( switches ; portname )
![Troi Serial Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4638-serial-online-help-fb-600.jpg)
![]() |
Serial_AsciiValueToText |
Converts (one or more) numbers to their equivalent ASCII characters.
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
Serial_AsciiValueToText ( switches ; ASCIIvalues { ; separator } )
![Troi Serial Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4638-serial-online-help-fb-600.jpg)
![]() |
Serial_Close |
Closes a serial port with the specified name.
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
Serial_Close ( switches ; portname )
![Troi Serial Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4638-serial-online-help-fb-600.jpg)
![]() |
Serial_Control |
Controls the serial port with the specified name. The port needs to be opened first (see also Serial_Open).
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
Serial_Control ( switches ; portname )
![Troi Serial Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4638-serial-online-help-fb-600.jpg)
![]() |
Serial_DataWasReceived |
Returns the name of the port when data was received on a serial port. Use this function to see if this is an event that needs to be handled.
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
Serial_DataWasReceived ( switches )
![Troi Serial Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4638-serial-online-help-fb-600.jpg)
![]() |
Serial_Debug |
Use this function to troubleshoot the serial port and test scripting.
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
Serial_Debug ( switches )
![Troi Serial Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4638-serial-online-help-fb-600.jpg)
![]() |
Serial_GetPortNames |
Returns the names of all serial ports that are available on the computer.
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
Serial_GetPortNames ( switches )