Telemachus

Telemachus

14.7k Downloads

b.o.phaseAngle argument out of range?

artwhaley opened this issue ยท 2 comments

commented

When I call :http://192.168.1.84/telemachus/datalink?a=b.o.phaseAngle I get a code 500 internal server error. The error message is pasted below.

Thanks for the awesome work you've done on this!

Argument is out of range.
Parameter name: index at System.Collections.Generic.List`1[System.String].get_Item (Int32 index) [0x00000] in :0
at Telemachus.BodyDataLinkHandler.<.ctor>b__15 (Telemachus.DataSources dataSources) [0x00000] in :0
at Telemachus.DataLinkResponsibility.argumentsParse (System.String args, Telemachus.DataSources dataSources) [0x00000] in :0
at Telemachus.DataLinkResponsibility.process (Servers.AsynchronousServer.ClientConnection cc, Servers.MinimalHTTPServer.HTTPRequest request) [0x00000] in :0
at Servers.MinimalHTTPServer.Server.processRequest (Servers.AsynchronousServer.ClientConnection cc, Servers.MinimalHTTPServer.HTTPRequest request) [0x00000] in :0
at Servers.MinimalHTTPServer.ClientConnection.StatefulConnectionRead (System.Object sender, Servers.ConnectionEventArgs e) [0x00000] in :0

commented

The b.o.phaseAngle API call requires an integer argument as shown below.

http://192.168.1.84/telemachus/datalink?a=b.o.phaseAngle[0] where the integer argument relates to the body in question.

commented

Well now I feel dumb! Thank you!