Hello,
I'm working with my CR350 and I want to record the percentage of free memory on it. While reading the documentation I found the chapter "CR350 Status Table". Here we find the typical `Battery()` and `PanelTemp()` functions. And if we continue reading, others like `DataStorageFree` and `DataStorageSize`. My question is, how can I save these?
I'm doing the following and all fails,
' Declare variables Public PTemp, Batt, MemFree, MemSize, DataStorFree, DataStorSize, ' Obtain the value PanelTemp (PTemp, 60) Battery (Batt) ' An example of one of the desired variables DataStorageFree(DataStorFree) Status.DataStorageFree(DataStorFree)
Another try was:
' Declare variables Public PTemp, Batt, MemFree, MemSize, DataStorFree, DataStorSize, ' Obtain the value PanelTemp (PTemp, 60) Battery (Batt) ' An example of one of the desired variables DataStorFree = Status.DataStorageFree()
In this case, doesn't crash but the value in the Public table never change.
PD: I know I can see this information in the Status table, but I also want to see it in the Public table too and store it in some tables.
Thank you very much.
Your second example should work, but the syntax has to be within the Scan/NextScan for the value to be updated. It will update at the rate of the program scan.
Best, Dana
This post is under review.
This post is under review.