AMX NXV-300 Dokumentacja Strona 70

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 69
NetLinx Programming
Dynamic Image Commands (Cont.)
^RMF Modify an existing resource.
Syntax:
"'^RMF-<resource name>,<data>'"
Variable:
resource name = 1 - 50 ASCII characters
data = Refer to the table in the RAF command for more information.
Example:
SEND_COMMAND Panel,"'^RMF-Sports_Image,%ALab_Test/Images%Ftest.jpg'"
Changes the resource ’Sports_Image’ file name to ’test.jpg’ and the path to ’Lab_Test/Images’.
^RSR Change the refresh rate for a given resource.
Syntax:
"'^RSR-<resource name>,<refresh rate>'"
Variable:
resource name = 1 - 50 ASCII characters.
refresh rate = Measured in seconds.
Example:
SEND_COMMAND Panel,"'^RSR-Sports_Image,5'"
Sets the refresh rate to 5 seconds for the given resource (’Sports_Image’).
^RAF Add new resources. Adds any and all resource parameters by sending embedded codes and data.
Syntax:
"'^RAF-<resource name>,<data>'"
Variable:
resource name = 1 - 50 ASCII characters.
data = Refers to the embedded codes, see table below.
Example:
SEND_COMMAND Panel,"'^RAF-New Image,%P0%HAMX.COM%ALab/
Test_file%Ftest.jpg'"
Adds a new resource. The resource name is ’New Image’, %P (protocol) is an HTTP, %H (host
name) is AMX.COM, %A (file path) is Lab/Test file, and %F (file name) is test.jpg.
Przeglądanie stron 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 79 80

Komentarze do niniejszej Instrukcji

Brak uwag