AnalogueOpenOutputFile

Top  Previous  Next

Development status

 

NOT IMPLEMENTED YET.

 

Message

 

AnalogueOpenOutputFile <filehandle> <filename> [-append]

 

Originator

 

Client

 

Response

 

Info: file opened

SyntaxError: insufficient parameters to AnalogueOpenOutputFile

SyntaxError: invalid parameters to AnalogueOpenOutputFile

Error: file exists, -append not specified

Error: cannot open file

 

Response (immediate socket)

 

Success

Failure

 

Details

 

Opens the file entitled filename, and gives it a handle filehandle. The handle is used by other Whisker commands (e.g. AnalogueSample) to refer to the file in future.

 

If the file exists and the –append switch is used, Whisker will try to open the file and append new data to the end. If the file exists and–append is not specified, Whisker will generate an error. To safeguard your data, Whisker will not let you overwrite an existing file.