RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Issues with editor
Author Message
Reply with quote
Post Issues with editor 
I am not able to get the script editor to work properly.
I can make changes and write to the controller, but the println() function never displays any results in the editor window after polling the log. Also if I copy and paste the log into wordpad the results are in a foreign language Chinese I think. Anyone know how to fix this?


_________________
Thanks,
Anastos
View user's profile Send private message
Reply with quote
Post  
Hi,

Try using a generic editor like Notepad++ for editing your scripts outside of the window.

To see the results of your println() you have to enable 'poll logging' to see the results in the window. You'll also see any errors your script might have.

See this wiki page for more info: https://wiki.autosportlabs.com/RaceCapture_troubleshooting

Thanks,


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Hi Brent,
I have been checking the poll log box, and have tried all the various options i.e. error, trace, debug etc. I have used the clear screen and rerun buttons, not once have I been able to get println() to work. How could I use a separate program like notepad++ to view the script in action. How do I resolve the foreign language in the log? By the way my application log displays in Chinese also.


_________________
Thanks,
Anastos
View user's profile Send private message
Reply with quote
Post  
Hi-

It could be that you have a bug in your script. Can you paste your script here, or your entire config file as an attachment to a reply?

We also have a beta 1.10.0 app available for testing, which should fix the garbage characters for the copy-to-clipboard issue: https://forum.autosportlabs.com/viewtopic.php?t=5434


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Here is the rcp file as it is being used. I am trying to incorporate additional features like "start logging above 10mph, gear calculations etc." Those features are not in the attached script. I can not get the script to work and when trying to debug I can not get the editor to provide feedback by way of println()


_________________
Thanks,
Anastos
View user's profile Send private message
Reply with quote
Post  
I installed the 1.10 beta on a Windows PC running Windows 7 Home Premium SP1. The program crashes when trying to go to analysis or analog sensors in setup. The dashboard seems to work ok


_________________
Thanks,
Anastos
View user's profile Send private message
Reply with quote
Post  
Hi,

I looked at your script - no where in your script you have any println statements - that's why you're not seeing any messages in the log window below.

An example of seeing a println working is by temporarily replacing your entire script with this simple one:

function onTick()

println("hello")

end

Once you press the "poll log" box then you will see the output in the window.


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Thanks Brent I'll try that. I realize there weren't any println() statements in the script I sent. I removed them when they did not do anything. I was hoping maybe someone might see a problem in what was sent that would explain the foreign language issue or perhaps an issue that would prevent println() function.


_________________
Thanks,
Anastos
View user's profile Send private message
Reply with quote
Post  
Oh, regarding the crashing on the beta app, does that happen repeatedly? Do you see that happening on other computers you try?

If you'd like to post a follow up in the beta testing thread, that would be even better.

Thanks,


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Yeah it crashes every time I try to go to analysis. I was going to copy and paste an App log and see if it was in English but I could never get there. Then I tried accessing other areas of the app and it crashed as well. Only in the setup areas, the dashboard seemed fine.


_________________
Thanks,
Anastos
View user's profile Send private message
Reply with quote
Post  
Thanks. Could you report in the beta testing thread so we can track it there?
https://forum.autosportlabs.com/viewtopic.php?t=5434

We'll be rolling out a 1.10.1 app update shortly which might have a fix that could address your issue.

Thanks!


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Hi anastos,

We released a 1.10.1 app here: https://forum.autosportlabs.com/viewtopic.php?t=5434

Could you give it a test and report there to indicate if you are still seeing the crash issue?

Thanks,


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum