|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Error creating tasks that use encoders
In the original version we passed in the encoders and we ran the Keep code in the Iterative robot without issue. The students wanted it to run all the time since it was needed as long as the robot was enabled.
Todd |
|
#2
|
|||
|
|||
|
Re: Error creating tasks that use encoders
Hi,
We have done some more work with this and it appears that some classes like encoder, dashboard are not thread safe. We are able to include joystick, digital I/O and analog, without an error. Has anyone else try including encoders in a task and if so did they have errors while the oRICO ran? Todd ![]() |
|
#3
|
||||
|
||||
|
Re: Error creating tasks that use encoders
we use tasks, but have only one task access the sensors, the other must ask the first for the value. You could also use semaphores: http://www.chiefdelphi.com/forums/sh...ad.php?t=82398
also, could you use [CODE ] Tags on your posts? It helps a lot. (the # button in the editor) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Periodic Tasks | Luke Pike | NI LabVIEW | 1 | 04-02-2009 01:14 |
| Need help in creating program to use servo's to shift drive | archiver | 2001 | 19 | 24-06-2002 00:35 |