Reinitialize Serial Plug-in
Tell the plug-in to re-initialize itself and look which serial ports are available on the system now.
Reinitialize Serial Plug-in [ Select ; Result (error) ]
|Select entire contents||replaces the entire contents of a field with the result. If not checked the result replaces the currently selected portion of the field|
|Result (error)||an error code|
Data type returned
If successful it returns 0. If unsuccessful it returns an error code starting with $$ and the error code. Returned error codes can be:
|$$-4211||kErrAllPortNull||no serial ports found|
Other errors may be returned in the future.
Troi Serial Plug-in 5.0
FileMaker Pro 16 to 18
This script step will close all ports first. Then the plug-in looks again for available ports.
You can use this script step when new or different serial ports are added dynamically, for example if you plug-in a USB To Serial adapter.
Reinitialize Serial Plug-in [ Select ; $ErrorCode ]
Related script step
|Open Serial Port|