StartThread() issue

Moderators: TomKerekes, dynomotion

Post Reply
gonzalo
Posts: 13
Joined: Wed Feb 27, 2019 4:03 pm

StartThread() issue

Post by gonzalo » Thu Sep 05, 2019 10:19 am

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!!

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: StartThread() issue

Post by TomKerekes » Thu Sep 05, 2019 3:13 pm

Hi gonzalo,
I asume that from the Power up all the C threads are compiled and downloaded automatically, am I right?
Actually no, the idea behind Flashing User Programs (not recommended) into KFLOP memory is when there is no PC connected to download from.

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.

Post Reply