Hi Tom,
I am triggering the Thread 2 from the 1 using the StartThread(2); function but I have the following problem:
I save all the theads codes using the the FLASH User Memory Button form the Configuration GUI. Additionally I checked ON before the thread 1 check box in the Launch on Power Up to be Launched on Power Up and it Works, the problem is that it does not trigger the thread 2. Only does that if I manually compile and Download it (thread 2) using the C Program GUI. Why is that?, I asume that from the Power up all the C threads are compiled and downloaded automatically, am I right?
Many thanks!!
StartThread() issue
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: StartThread() issue
Hi gonzalo,
Possibly you didn't have a program downloaded to KFLOP's Thread #2 memory when you Flashed User Data?
Please read this article and let us know if you have further questions.
Actually no, the idea behind Flashing User Programs (not recommended) into KFLOP memory is when there is no PC connected to download from.I asume that from the Power up all the C threads are compiled and downloaded automatically, am I right?
Possibly you didn't have a program downloaded to KFLOP's Thread #2 memory when you Flashed User Data?
Please read this article and let us know if you have further questions.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.