Doc. # 1-0000252 | |||
---|---|---|---|
Date Updated | 02-03-2005 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | ADAM-5510 |
How to use function Get501718 with V4.10 library of ADAM-5510? | |||
---|---|---|---|
Solution:
We add a new instruction in library version 4.10, which is 'AiUpdate'. You can find the introduction in manual p.6-30. Before accessing data with Get1718, you need to check the if the data is ready with AiUpdate.Like:
void main()
{
int *returnvalue;
/* one ADAM-5018(5017) moudel on slot 0 of ADAM-5510 */
if( AiUpdate(0, &channel) ==0)
{
Get501718(0,1, returnvalue);
}
}
|