Samples
Accessing the samples in your IFT
Last updated
Was this helpful?
Accessing the samples in your IFT
Last updated
Was this helpful?
The samples for the currently processed message or constants are provided in the script for computation. A variable is automatically created for each sample or constant. The variable contains the value of the sample as a string, whatever the status. To use it as a number, just add the sign + before it.
You can for example do this:
You can access the latest saved sample by adding the '$' sing in front of it. For example, if you'd like to get the latest value of the parameter APU_STATUS, just use $APU_STATUS.
The whole sample of APU_STATUS containing values, dates and other could be accessed by: FW['$APU_STATUS']. You could do that with all the samples.