Hello,
I have a Tag that shows the state of a device. Several of the states of this Tag are alarm or fault states. I want to know the number of times the states are "activated" during a certian period of time "*-1d to *" for example.
I was going to
1). Try to import into Excel, ALL the data tags for the well for that time period. (I do not know how to do this!!!)
2). Use Excel to count the number of times the state was activated. ( I can do this easily)
3). Repeat this for each state that I want to peform this on. ( I can do this easily)
Note: There may be more than one consecutive value at an alarm state
7, 6, 7, 6, 7, 6, 15, 15, 5, 6, 7, 6, 7, 6, 15, 15, 15, 5, 6, 7, 6, 7, 6, 7, 6, 7, 15, 5, 6, 7.
Here the stae of 15 is activated 3 times (indicated in Bold), but there are 6 entries for this state.
Is anyone able to help with either
1). How to use Datalink to load all data points for a specific period of time
2). How to count the number of activation of a certian state/value for a certian period of time