I said most
You asked for hairs to be split, so hairs are being split.
It is still true that all expressions and all scripts in Perspective are actually being executed on the gateway.
I said most
You asked for hairs to be split, so hairs are being split.
It is still true that all expressions and all scripts in Perspective are actually being executed on the gateway.
I canât of any practical situations that wouldnât require a trip to the GW.
BTW are calls to/from the GW asynchronous? (this is my lack of react knowledge here)
Yes, Perspectiveâs relationship to the gateway is conducted asynchronously over a persistent websocket.
Quick question regarding this. I ran into this a few days ago here:
Where the manual says, in this case that system.db.runPrepQuery
will use the same function signature as you would use in a Vision Client scope, when in Perspective Session Scope. Yet there is no way that I am aware of to set a default DB for a perspective session, and since "all" scripts run in the Gateway I would expect that Gateway Scope is always required.
Is this a difference with Perspective Workstation (I've never personally used it) and that is what Perspective Session scope means, or is the manual just a tad misleading?
Perspective is running inside the context of a particular project (by definition), so on the backend, we pass the project's default database in to the running script's context automatically. The individual scripting function implementations "know" to look for this context and extract it, so both things are true:
See this thread if you're interested in how that mechanism actually works.
@Kevin.Herron @PGriffith just going back to what runs in the gateway. What about Perspective binding transforms, are âFormatâ transforms run on the gateway? (just trying to see if there are things I can use to reduce load on the gateway)
Yes - since the rest of the binding inevitably has to run on the gateway anyways, even if we could run some of the simpler transforms client-side, it wouldnât actually gain much. Theyâre also running on the backend.
Along the lines of the original question⌠If I decided on using Perspective as my HMI for an industrial machine what should I use as the front end application?
I guess I would trust the Perspective workstation but I dont like how you cant get a true full screen and remove that white app bar on top. Chrome can go full screen but I trust Chrome to run 24/7? Appreciate any thoughts and or experience!
I think what you are looking for is Perspective Workstation Kiosk mode but I have no experience in this product