6 Replies Latest reply on Sep 20, 2015 10:47 PM by mardikennedy

    Ping FMS?


      I thought there was a built in function for pinging the FMS. I though it was a Get function but I can't seem to find it and I may be mistaken.




      If it's not built in, it should be.

        • 1. Re: Ping FMS?

          Nope... what is that you're trying to achieve?


          As long as you are connected to FMS, FMP and FMS are constantly "pinging" each other even when you are otherwise idle.


          If the connection drops, FM will tell you.  With FM14 you get an option to reconnect, in all previous versions you get kicked out of the files.

          • 2. Re: Ping FMS?

            Are you thinking of functions like getConnectionState introduced for fmGo? See New features in FileMaker Pro 13

            • 3. Re: Ping FMS?

              Wim, what I am trying to accomplish is an image heavy layout displaying hi res or low res or super lo res images based on ping to server. If the connection is slower than a set point then lower res layout or display calc will be used for remote connections.

              • 4. Re: Ping FMS?

                I wrote  a GetLatency function for ScriptMaster which is on FMforums... You can obviously point that at your FM server.

                • 5. Re: Ping FMS?

                  Thanks. I will take a look.

                  • 6. Re: Ping FMS?

                    I have a subscript on opening that records - in a global variable - a time for running a few specific steps. It just gives me a reference point.  If it's a 'low' value, the performance is 'fast' and if it's a high value, it's slow, so I better anticipate a Plan B/ Plan C/ Plan D in the UI alternatives.   Thereafter, various scripts check the global variable to choose an appropriate UI behaviour.


                    It's pretty rough and ready, in that it assumes relatively consistent latency on LAN/ WAN/ wifi which is a bit unrealistic, but at least it gives me a fairly flexible framework.  Also, I had to spend a bit of time working out/ experimenting with what my 'timing scale' would be.


                    A 'real ping', dynamically usable function would be great.