Changes between Version 9 and Version 10 of adeiDG
- Timestamp:
- 07/18/08 12:24:16 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
adeiDG
v9 v10 77 77 http://adei_server.net/adei/services/database.php?db_server=toskanadb&db_name=prespektrometer_rep&db_group=0&experiment=0&window=1211159859-1211241600&format=csv 78 78 }}} 79 * To generate an 1280x1024 image with composite graph of all channels from first loggroup for a period starting at May 19, 2008 and finishing at May 20, 2008 79 * To generate an 1280x1024 image with composite graph of all channels from first loggroup for a period starting at May 19, 2008 and finishing at May 20, 2008 80 {{{ 81 http://localhost/zweb/services/getimage.php?db_server=toskanadb&db_name=prespektrometer_rep&db_group=0&experiment=0&window=1211159859-1211241600&frame_width=1280&frame_height=1024 82 }}} 83 * If information on generated image is required, then two step approach could be used. The ''genimage'' request is used to generate an image. 80 84 {{{ 81 85 http://localhost/adei/services/genimage.php?db_server=toskanadb&db_name=prespektrometer_rep&db_group=0&experiment=0&window=1211159859-1211241600&frame_width=1280&frame_height=1024 82 86 }}} 83 In a response you will get JSON encoded document with various image properties. If an error was occurred, the JSON document will contain single property, called error, which describes the problem. Otherwise, among other properties, the 'image' property containing image identificator will be returned. You should pass it to getimageservice in order to obtain image.87 In a response you will get JSON encoded document with various image properties. If an error was occurred, the JSON document will contain only ''error'' property, which describes the problem. Otherwise, among other properties the 'image' property containing image identificator will be returned. Then it is possible pass this idetificator to ''getimage'' service in order to obtain image. 84 88 {{{ 85 89 http://localhost/adei/services/getimage.php?id=clients/00000000000000000000000000000000/draw.toskanadb__prespektrometer_rep__0/eda6ebefe6e066c87af7c3af423f195e/1216378894_1211159859_81741.png