TCPmaker : Visual Tour    Sending Messages to Screen Controls  

Here's what the "Variables" page looks like before we click any buttons on the demo board.

(Note that the Pl plotter control is initially associated with variable Pot1, so by turning the pot on the demo board, we have traced out a curve.)

This page demonstrates the following Control Message API functions:

mtSetAssociationNv() - Associate a float web variable with a control
mtSetAssociationSv() - Associate a string web variable with a control
mtSetScale() - Set the scaling factors for a floating point Nv variable
mtSetFormat() - Set the format string and argument list of an Sv string variable

Compare the screen shot below with the appearance after we press several buttons on the demo board, as shown on the next page of this tutorial.

 

open full sized image

19 of 33
Copyright Notice and Author Information