Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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