Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Waits for a named pipe.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SerialPort | 13.4 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
NamedPipeName | The name of the named pipe. The string must include the name of the computer on which the server process is executing. A period may be used for the servername if the pipe is local. | "\\servername\pipe\pipename" | |
TimeOut | The number of milliseconds that the function will wait for an instance of the named pipe to be available. We limit this from 0 to 5000. Default is 100ms. |
100 | Optional |
Returns OK or error.
Try it:
MBS("SerialPort.WaitNamedPipe"; "\\\\.\\pipe\\test"; 100)
// all backslashes doubled so FileMaker passes them
This function is free to use.
Created 4th September 2023, last changed 4th September 2023