PtInit (name)
This function initializes the widget library. It must be called before any Photon functions are used in your application.
To attach to the local Photon server:
Gamma> PtInit (nil);
tTo attach to a Photon server running on node 5:
Gamma> PtInit ("//5/dev/photon");
t
See the introduction of the Photon Functions chapter (Tutorial One) in the Cogent Tools Demo and Tutorials book for an example of this function used in context.
Copyright © 1995-2012 by Cogent Real-Time Systems, Inc. All rights reserved.