ReadWebField
Synopsis
An application module that reads a web-based AVS/Express field.
Input Port
Parameters
URL UItext
OutFile UItext
Status UItext
portable_toggle UItoggle
swap_toggle UItoggle
flip_toggle UItoggle
|
Output Port
Description
This module accepts a web-based URL pointing at an AVS/Express field data file hosted by a WWW server. The field data file is then cached locally and read as though it were a field data type.
Input
None.
Parameters
URL
Specify a valid URL address. The ReadWebField module reads and caches the contents contained at the location specified. If the URL is invalid or points to unretrievable information, the phrase " URL contains no data " appears in the Status parameter.
OutFile
The location of the URL content cache. It is also the port that is used as input to another AVS/Express data reader. The default location is /tmp/xp_out.da t, but a you can change the location at any time.
If two URLs are fetched in a row, the contents of the second URL overwrite the contents of the first URL if the location of the cache file is not changed. The OutFile _parameter receives an notify _event after every valid URL retrieval.
Status
A text field that contains status information for the current URL fetch. Messages are displayed in this field as the URL collection progresses; these messages are described in W3Cget_URL .
portable_toggle
swap_toggle
Turn byte swapping on/off.
flip_toggle
Flip the x-axis of the field.
Output Port
obj
Renderable output geometry from reading the field.
Example
Examples.Graphics_Display.WebMultiView
v/gd_examp/URLread1.v
File
v/w3c.v
See also related modules