Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logic Server Math
#1
i want to perform a math operation on two elapsed time fields, and get a percentage. Is that possible in the Logic Server? if i select a float in the defined fields, it will not allow me to select a time as a source field to perform the operation.  it works fine with local/global variables.
Reply
#2
I don't think you can do that with the logic server. You can do it in an action easily enough. But if you want to continuously update a value for display, I don't think there's a good way to do that right now.
Dean Roddey
Explorans limites defectum
Reply
#3
Can you point me to the logic server docs? I can't seem to find them.

Specifically I want to do Absolute value and I'm wondering if that function is available...

Thanks -- Bob
Reply
#4
All stuff related to actual usage of the tools (including the Admin Interface) is under the /Tools section. So Tools -> Administrative Interface -> Configure. The docs follow the same structure as the tree browser in the AI, and the Logic Server config is under the /Configure part of the tree.
Dean Roddey
Explorans limites defectum
Reply
#5
Okay, I found the log server doc. Its in Reference/Drivers/Miscellaneous/LogcSrv

Absolute does not seem to be available, but maybe I'll do SqRoot(%(1) * %(1))...
Reply
#6
See my post above. That's where normally you would look for that sort of thing. In this case, it gives some basic info and then redirects you to the driver doc for the Logic Server's associated driver.

I'll put adding an Abs() expression to the list.
Dean Roddey
Explorans limites defectum
Reply
#7
BTW, I forgot to post here that I added the Abs() expression.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  SubSonic Media Server API Support? gReatAutomation 4 151 06-16-2019, 02:45 PM
Last Post: gReatAutomation
  Logic Server not sending triggered events znelbok 7 327 05-08-2019, 08:13 AM
Last Post: Dean Roddey
  Files of type "Logic Server config" cannot be edited chmilar 2 283 04-06-2019, 11:53 AM
Last Post: chmilar
  why master server needs DHCP client running? lleo 4 591 01-04-2019, 01:13 PM
Last Post: Dean Roddey
  Logic Server bad events rbroders 1 762 10-14-2018, 09:59 PM
Last Post: Dean Roddey
  Triggered Event Server not triggering EST 52 7,362 08-10-2018, 11:23 AM
Last Post: Dean Roddey
  The server did not reply to the 'rset' request indygreg 3 1,220 07-26-2018, 11:22 AM
Last Post: Dean Roddey
  Logic Server Field Limit zra 6 1,679 07-10-2018, 12:44 PM
Last Post: zra
  Security Server could not be contacted Shaky 2 933 05-21-2018, 10:29 PM
Last Post: Shaky
  Redid server, issues with Nest and Elk ghurty 6 1,440 05-16-2018, 05:15 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)