- Posts: 73
[SolTrace] lk scripting: sprintf
- solarjoe
- Topic Author
Less
More
23 Apr 2015 06:41 #3239
by solarjoe
[SolTrace] lk scripting: sprintf was created by solarjoe
Hello,
since there still is no SolTrace support forum and the email
support has nearly been stopped I hope someone here can help me.
Has someone managed to use the sprintf-function in SolTrace?
Since SolTrace and SAM both use lk scripting in the meantime,
I tried to check sprintf in both:
outln(sprintf("%.3f, %.4f", 423, 234));
returns
423.000, 234.0000 in SAM
-0.000, -0.0000 in SolTrace
Can someone reproduce this and maybe tell me how to get it working?
Kind regards,
Joe
since there still is no SolTrace support forum and the email
support has nearly been stopped I hope someone here can help me.
Has someone managed to use the sprintf-function in SolTrace?
Since SolTrace and SAM both use lk scripting in the meantime,
I tried to check sprintf in both:
outln(sprintf("%.3f, %.4f", 423, 234));
returns
423.000, 234.0000 in SAM
-0.000, -0.0000 in SolTrace
Can someone reproduce this and maybe tell me how to get it working?
Kind regards,
Joe
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
24 Apr 2015 11:24 #3240
by pgilman
Replied by pgilman on topic [SolTrace] lk scripting: sprintf
Hi Joe,
I happen to know one of the SolTrace developers and was able to find out that it uses an older version of LK than SAM that has a bug that causes the problem with the sprintf() function. You could try writing your own string conversion function to work around the issue.
Thanks,
Paul.
I happen to know one of the SolTrace developers and was able to find out that it uses an older version of LK than SAM that has a bug that causes the problem with the sprintf() function. You could try writing your own string conversion function to work around the issue.
Thanks,
Paul.
Please Log in or Create an account to join the conversation.
- solarjoe
- Topic Author
Less
More
- Posts: 73
28 Apr 2015 05:47 #3241
by solarjoe
Replied by solarjoe on topic [SolTrace] lk scripting: sprintf
Hi Paul,
thanks for the help!
Do you know if someone at NREL wrote a workaround sprintf function for the old LK
that we could use?
And do you know anything about the future of SolTrace? Has it been abandoned?
Kind regards,
Joe
thanks for the help!
Do you know if someone at NREL wrote a workaround sprintf function for the old LK
that we could use?
And do you know anything about the future of SolTrace? Has it been abandoned?
Kind regards,
Joe
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
28 Apr 2015 09:49 #3242
by pgilman
Replied by pgilman on topic [SolTrace] lk scripting: sprintf
Hi Joe,
Sorry, I don't know of a sprintf workaround in the old LK.
We're hoping to get support for another round of work on SolTrace in the near future.
Best regards,
Paul.
Sorry, I don't know of a sprintf workaround in the old LK.
We're hoping to get support for another round of work on SolTrace in the near future.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman