char* pnt_name, int pnt_type, DR_ApValue_t* pnt_value, char** error
The integer value 0 if the point was updated successfully, otherwise the following error code is returned:
This function writes a new value to the named point. The field I/O is updated immediately, unless the point is a member of a writeable group, in which case it is updated when the group is processed.
int result; DR_ApValue_t value; char *error_str, *name = "Red_Light1"; value.s = 1; result = DR_ApWritePoint (name, DR_API_BIT_TYPE, &value, &error_str);
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.