<when year="XXXX" month="XX" day="XX" hour="XX" minute="30" second="XX">
any way to substitute a variable?
<when year="XXXX" month="XX" day="XX" hour="XX" minute="var" second="XX">
and if that's possible, how do you concatenate strings?
<whens> look like this:
if mpp==1 && SWC < 0.2 then ...
<boolean_operation type="equal to">
<variable do="get" name="mpp"></variable>
<boolean_operation type="less than">
<analogue id="SWC" time="0"></analogue>
I'm definitely not the expert, but I don't think you'll be able to find things like date and string manipulation in the Fusion environment.
I think a better way would be to do your logic in another program, then have it use the COM interface to trigger digital outputs or whatever it is you're after.
Your when is correct, and it works that way even with "3X" it will be at anything that starts with '3' and so on. As for using a variable, I suppose I could add that, I hadnt thought of it. Luckily I coded it very generically so it should be relatively easy.
Originally Posted by GadgetBandit
Only problem is the main source is currently broken. I am working on a huge under-the-hood improvement for USB communication, and that means the program is non-functional. Once I get it back up and running, I will add this easily.
The when "var" wont be possible right now. It is possible, but it will take quite a bit of time, I will add it to the list.