View unanswered posts | View active topics It is currently Tue Sep 23, 2014 4:33 pm






Reply to topic  [ 2 posts ] 
monitoring event and catch 
Author Message
Rookie

Joined: Fri Apr 18, 2014 4:45 am
Posts: 1
Post monitoring event and catch
I want to use conditional variable, but RobotC only provides 'semaphore'. Thus I would try to code a conditional variable. Then I found the information about using event.
Thus, I searched the information about it.

However, it does not work in RobotC 3.6.2.
viewtopic.php?t=49
I use the code ,"Sample Program to Demonstrate Events".
I think that code should be work on event "kTimerEvent2" not Kuserevent1, not fixing some value to execute "SignalEvent".

Not only this, but I use the other codes in web (viewtopic.php?f=1&t=621&view=print).

The both cases can not catch the event. Therefore, I think monitor and catch do not work anymore. (Also wiki (API explanation) do not have any information about monitor, catch.

Please tell me whether robotc does not support event-monitoring and event-catching or not.


Thanks.
Hyesun


Fri Apr 18, 2014 5:00 am
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 603
Post Re: monitoring event and catch
The posts you are referencing are from 2007/2008. ROBOTC does not currently support events/interrupt/function callbacks. Back in the RCX days (and early NXT days), it had a very basic implementation, but with the platform of today (EV3/NXT/VEX Cortex/VEX IQ) it does not support.

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Mon Apr 21, 2014 2:27 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.