|
| |
The image object can be used to display images or for other uses.

 | The image object can be used to display an image. Simple place it on
the plot background and drag and drop an image into it's configuration image
box. |
 | The update value can be used to specify an image. In this example
the 1st position (rightmost) digit of analog value channel 0 is part of the
image name. As analog data arrive, the image reflects that digit.
|
 | Creating:
oImage.objName=L,T [,W,H,image,border
(0/1)]
!POBJ oImage.img1=5,20,10,10,comp\LED_RED_1.jpg,1
|
 | Functions:
SET Value (.Set or omitted)
Images are asumed to be in the media path, the macro path (PATH), or
can be provided the full path.
!POBJ objName=image
!POBJ
img1=comp\LED_RED_0.jpg
Clear (.Clear or Clr)
Clears the image. Images are transparent when cleared.
!POBJ objName.Clr
!POBJ img2.Clr
Text Tip (.Tip)
Sets the text pop-up tip
!POBJ objName.Tip=Text string
!POBJ img1.Tip=Status of Heater
Move (.Move or .M)
Moves the object to new coordinates/changes sizing
!POBJ objName.Move=[L,T,W,H] or !POBJ objName.M=[L,T,W,H]
!POBJ img1.M=50,50,,10
|
 | Update Value (.Update or .U)
Sets the value which will be used to update the object whenever a !POBJ
Update is performed.
!POBJ obj.Name.U=[text]
!POBJ img1.U=comp\LED_RED_(BIT0).JPG
|
 | Code Event - (.C or .Code)
Activated by a click.
objName.Code=string of code.
!POBJ img1.C=!STAT The date and time is (PRDT)
|
 | Values
(objName) - No significant data returned
(objName.T) - Top coordinate
(objName.L) - Left coordinate
(objName.W) - Width
(objName.H) - Height
(objName.B) - Bottom coordinate
(objName.R) - Right coordinate
(objName.BC) - Color
(objName.X) - The X coordinate for the background
where the object were it was last clicked, or the mouse was moved with the
left-button down.
(objName.Y) - The Y coordinate for the background where the
object were it was last clicked, or the mouse was moved with the left-button
down.
(objName.XP) - The X coordinate for the percent into the image where
it was last clicked (0--100)
(objName.YP) - The Y coordinate for the percent into the image where
it was last clicked (0--100)
(ME) - Used only in its event code, returns object name.
((ME)) - Used only in its event code, returns object value.
|
|