cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Get Image data from the edge

khayes1
13-Aquamarine

Get Image data from the edge

Hi,

could anyone suggest the best way to retrieve image data from a file on an edge device to display in a mashup?

We have some remote assets that have some image files residing on the edge. These image files are updated from time to time. I would like to get the data from one of these files and display it in a mash. The assets have RemoteThingWithTunnelsAndFileTransfer thing representations on the server. I notice that FileRepository things have a LoadImage service, but the RemoteThingWithTunnelsAndFileTransfer things do not. The options that I see are:

  1. Upload the files to a file repository when required and then use the LoadImage service.
  2. Create an image property on the edge and write the data to that rather than a file.

Both the above have drawbacks as 1. uploading the file then reading it might be slow and 2. would mean increasing data transfer even if the data wasn't currently being viewed in a mashup. Ideally I would just like to read the data from the file on the edge, but can't see how I might do that. Has anyone got any ideas please?

Thanks.

1 REPLY 1
khayes1
13-Aquamarine
(To:khayes1)

Just to add a further note, I have tried using option 1 (uploading the file & then reading the data) and it seems to be pretty quick and more than adequate for our usage.

Top Tags