added read/write string to PhasorAPI.