Is it possible to control NIs without touchpanel?
winstonma
Posts: 45
I would like to control AMX NIs using a PC... but I dun want to buy a touchpanel and vnc into it. Is it possible that there is a web server/vnc server inside the NIs?
Thanks a lot
Thanks a lot
0
Comments
you can create a design using tpdesign3, then File > "save as html" and then FTP transfer to your netlinx master. access it thru your favourite web browser. the only thing that limits you is the graphical possibilities of tp3design
here we even use a selfmade-software that connects to the netlinx master thru ip connection
IP_SERVER_OPEN and friends on the netlinx master using a port above 10000 somewhere.
from the software we connect thru IP Sockets are programmed. this is done to control the controller in a 'live mode', the settings and stuff are transferred as xml file over ftp and then parsed into Structs, Arrays and so on. once done this, the pc doesn't need to be connected any more.
i don't know very much about this, because it's my mate programming this. but I can find out anything, if you have a specific question.
By the way I read the code from regarding to the web server on NI-700... they originally have a default web server inside the panel... I wonder if I will lost the original web server... if I send the html file in...
When you use G4 Control, you can VNC into the actual panel, not a webserver.
not actually pretending to be a panel, its more, while we are starting a project we use our java software that sends strings to the netlinx master because it is easier this way than it would be programming a touchpanel and transferring the file a hundred times.
with IP_SERVER_OPEN we open a local port on the netlinx master (above 10000), then our software connects to the ip of the netlinx and the port number and sends HTTP-Strings i suppose. these are received in the DATA_EVENT[IP_PORT]
read in the netlinx studio help file about "Internet Protocol (IP) Communication (Advanced Programmers)" IP_SERVER_OPEN is actually a good starting point.
this thread might be interesting, too: http://amxforums.com/showthread.php?t=2006