nobody wrote on Wednesday, February 14, 2007:
Hi, Hope all is great there…
I´m trying to make 2 easy tasks with send and received function:
I defined the send function like this :
if( cQueueSend( ParamEvento.xQueueEvento,( void * ) &mensaje_e, pParamEvento->xBlockTime ) != pdPASS )
and the received like :
if(cQueueReceive( ParamEvento.xQueueEvento, &usDataRxEvento, ParamEvento.xBlockTime ) == pdPASS)
where mensaje_e and usDataRxEvento are signed portSHORT;
Tasks are running well but when I try to see wich is the value sent (in this case mensaje_e) the tasks doesn´t work.
These are the definitions:
typedef struct PARAMETROS_DE_EVENTO
static void Task_Ruedas( void *pvParameters );
static void Task_Encoder( void *pvParameters );
and the problem is when i´m trying to make something like:
Thanks so much for your help, i´ll waiting all your good ideas i don´t know what else can i do find a solution for this problem.
Thanks again and have a nice day!!!