Files
dev/script/data.groovy
2018-01-19 10:56:53 +01:00

11 lines
326 B
Groovy
Executable File

path="group/data1"
data1d = [1.0, 2.0, 3.0, 4.0, 5.0]
save_dataset(path, data1d)
set_attribute(path, "AttrString", "Value")
set_attribute(path, "AttrInteger", 1)
set_attribute(path, "AttrDouble", 2.0)
set_attribute(path, "AttrBoolean", true)
read =load_data(path)
print (read)
print (get_attributes(path))
plot(read)