Statistics: Posted by martignasse — 19 Aug 2009, 09:49
Statistics: Posted by LevraiBernardo — 19 Aug 2009, 04:44
just to let you know, next version will have trace functions to write directly in the usine console.To finish, show a modal window with the message :
MessageBox(NULL,msg.data(), TEXT("Title of the window"), MB_OK );
Statistics: Posted by martignasse — 17 Aug 2009, 12:09
Statistics: Posted by LevraiBernardo — 16 Aug 2009, 03:32
2. how to send data to ArrayOut?
for (i = 0; i < 8; i++) {
pPrototype->PArrayOut->DATA = tab;
}
it's good way to do that? it's not work ....
CODE:
void Process (void* pModule) {// make convenient pointer to the moduleTArrayTest* pArrayTest = ((TArrayTest*)pModule);// used for loopint i;// test to fill the arraypArrayTest->PArrayOut->len = 8;for (i = 0; i < pArrayTest->PArrayOut->len; i++) {pArrayTest->PArrayOut->DATA[i] = i;}}Statistics: Posted by martignasse — 31 Dec 2008, 13:56
Statistics: Posted by nelson — 31 Dec 2008, 12:34
Statistics: Posted by martignasse — 19 Aug 2009, 09:49
Statistics: Posted by LevraiBernardo — 19 Aug 2009, 04:44
just to let you know, next version will have trace functions to write directly in the usine console.To finish, show a modal window with the message :
MessageBox(NULL,msg.data(), TEXT("Title of the window"), MB_OK );
Statistics: Posted by martignasse — 17 Aug 2009, 12:09
Statistics: Posted by LevraiBernardo — 16 Aug 2009, 03:32
2. how to send data to ArrayOut?
for (i = 0; i < 8; i++) {
pPrototype->PArrayOut->DATA = tab;
}
it's good way to do that? it's not work ....
CODE:
void Process (void* pModule) {// make convenient pointer to the moduleTArrayTest* pArrayTest = ((TArrayTest*)pModule);// used for loopint i;// test to fill the arraypArrayTest->PArrayOut->len = 8;for (i = 0; i < pArrayTest->PArrayOut->len; i++) {pArrayTest->PArrayOut->DATA[i] = i;}}Statistics: Posted by martignasse — 31 Dec 2008, 13:56
Statistics: Posted by nelson — 31 Dec 2008, 12:34