dynamic images that reside on a local server
VLCNCRZR
Senior member
Does anyone know if it is possible to link a dynamic image window on a G4 panel to a PNG or JPG graphic file that resides on a local server rather than a website based graphic image??
Thanks.
Thanks.
Comments
-
Yeah I've put images on the Master itself for an aplication. You just use the address of the Master then instead of the Web address, ie 192.168.1.1
-
I also use the local drive for storing and displaying images. You may want to consider using the IP_ADDRESS_STRUCT if you don?t want to hardcode the IP address of your master into your program or into your touch panel file dynamic images.
DEFINE_VARIABLE IP_ADDRESS_STRUCT sNetlinx DEFINE_START GET_IP_ADDRESS(0:0:0,sNetlinx)
And then in your code you can use sNetlinx.IPADDRESS as the IP address of the master. -
NI master vs. local server
I've got the NI master method down, but I would like give the client the ability to update a specific image on his server rather than logging into the master.
The NI master has an FTP server, which make this process easier.
Would this be a matter of just opening the necessary FTP ports on their server. Other than FTP or HTTP, I dont know of any method to direct the dynamic image to the panel. Maybe AMX will develop a general directory entry for this type of application of dynamic images.
I can do a G4 Computer Control window with no problem to the server,
but cannot get to a single specific graphic file. I realize the G4CC does not utilize the FTP protocol for communication, so this is probably not a good comparison.
Thanks for your replies. -
Sorry, I misunderstood the original question. My mind lives inside Netlinx.

This may be a stupid idea but you could install a lite web server on the local server and store the images there. Maybe someone else can come up with something better. -
Yep - it's time to get your client to run a web service on that machine... FTP and HTTP are your only options from AMX-land, so that's what needs to be on the other end of the call...
- Chip -
image problem solved!
I just downloaded and tested the AMX PictureFrame application and it will work perfectly for this particular project.
I rememer seeing this on the AMX web site a few years ago, but thought I would never utilize this type of program.
Unfortunately, it took me a few hours to remember that it existed, and where to find it.
Thanks again for the suggestions.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums