Skip to main content

CSV

CSV:APPEND_FILE

csv:append_file(Charstring file, Bag b)
STABLE

append bag of vectors b into file in CSV format


csv:append_file(Charstring file, Stream s)
STABLE

append stream of vectors s into file in CSV format


CSV:FILE_STREAM

csv:file_stream(Charstring file, Charstring option) -> Stream of Vector
STABLE

Stream tuples from CSV file.

 `option` is one of `read`, `loop`, or `tail` 

csv:file_stream(Charstring file, Charstring option, Number pace) -> Stream of Vector
STABLE

Playback CSV file in a specified pace.

 The `option` is one of `read`, `loop`, or `tail` 

csv:file_stream(Charstring file) -> Stream of Vector
STABLE

Stream tuples from CSV file


CSV:FROM_STRING

csv:from_string(Charstring row) -> Vector
STABLE

Read CSV from a charstring


CSV:LOAD

csv:load(Charstring model, Charstring file) -> Charstring
STABLE

Load exported functions from CSV file in model


CSV:POPEN_STREAM

csv:popen_stream(Charstring command) -> Stream of Vector
STABLE

Call an OS command that produces a CSV stream on standard output


CSV:SERIAL_STREAM

csv:serial_stream(Charstring sn, Integer br) -> Stream of Vector
STABLE

CSV stream from serial port named sp with baud rate br


csv:serial_stream(Charstring sn, Integer br, Charstring flow_control, Integer data_bits, Integer stop_bits, Integer parity) -> Stream of Vector
STABLE

No description.


CSV:SOCKET_STREAM

csv:socket_stream(Charstring host, Integer sp, Object request) -> Stream of Vector
STABLE

CSV stream from port sp on host


csv:socket_stream(Charstring host, Integer sp) -> Stream of Vector
STABLE

CSV stream from port sp on host


CSV:UNLOAD

csv:unload(Charstring fn, Charstring model, Charstring file) -> Charstring
STABLE

Unload function named fn into CSV file in model


csv:unload(Vector of Function fv, Charstring model, Charstring file) -> Charstring
STABLE

Unload functions in fv into CSV file in model


CSV:WRITE_FILE

csv:write_file(Charstring file, Bag b)
STABLE

Write bag of vectors b into file in CSV format


csv:write_file(Charstring file, Number feedback, Bag b) -> Bag of Vector
STABLE

Write bag of vectors b into file in CSV format.

 Return the row every `feedback` rows 

csv:write_file(Charstring file, Stream s)
STABLE

Write Stream of vectors s into file in CSV format


csv:write_file(Charstring file, Number feedback, Stream s) -> Stream of Vector
STABLE

Write Stream of vectors s into file in CSV format.

  Return saved rows every `feedback` rows