Some beta-users of time cockpit 2010 (Beta 1) with software development skills asked how they could access raw signal data. It can be done with just a few lines of IronPython directly inside time cockpit.
The following script shows all network connection signals on a certain calendar day.
result = Context.SelectSingle("From X In Chunk \
Where :Day(X.BeginTime) = 7 \
And X.Entity.EntityName = 'CleansedIpConnectSignal' \
Select X")
for sig in result.Content:
# Find out the properties of the signal
print "** Properties:"
for prop in sig.Entity.Properties:
print " " + prop.Name
# Print signal details of a network signal
print str(sig.BeginTime) + "; " + str(sig.EndTime) + "; " + str(sig.HostName) + "; " + str(sig.InterfaceName)
print "Done!"
PS: If you want to learn more about TCQL (time cockpit query language; the query inside Context.SelectSingle) check out www.timecockpit.com/help/html/a7465f29-c739-4a14-bf5b-09821133dd9a.htm