Understanding Task Instances
This article discusses task instantiation and task instance data. Consider a system with 3 analog channels that must be managed and controlled. Specifically, the following functions must be performed on each channel:
- Set gain at initialization time
- Sample (read) the channel every "n" milliseconds
- Display channel reading
- Report an error if the reading is out of range
As indicated above, the actions to be performed on each of the 3 channels is the same; however, the data associated with each channel is unique. The data required for each channel is listed below:
- Channel address
- Channel gain
- Channel sample rate in milliseconds
- Min and max values used to determine when reading is out of range
View Entire Paper | Previous Page | White Papers Search
If you found this page useful, bookmark and share it on:
If you are familiar with RSS feeds, you can also sign up for our free blog feed. Our RSS feed is updated in real-time while our newsletter is updated daily.
