V+ AceServer Module Documentation CALL sv.write_byte(8, handle, ptr) CALL sv.write_double(100.1, handle, ptr) CALL sv.write_short(2, handle, ptr) CALL sv.write_single(121.2, handle, ptr) CALL sv.write_string("Text", handle, ptr) CALL sv.write_trans(NULL, handle, ptr) ; Read the data that was written CALL sv.read_bool(handle, saved.ptr, bool.val) CALL sv.read_byte(handle, saved.ptr, byte.val) CALL sv.read_double(handle, saved.ptr, double.val) CALL sv.read_short(handle, saved.ptr, short.val) CALL sv.read_single(handle, saved.ptr, single.val) CALL sv.read_string(handle, saved.ptr, $string.val) CALL sv.read_trans(handle, saved.ptr, trans.val) .END sv.stop_collect(robot.num) Abstract Stop the data collection operations on the specified robot.
Input Parameters Parameter Description robot.num The robot number to stop data collection on. Output Parameters None sv.sig.is.equal(sig.num, expected.val, is.equal.res) Abstract Compares a signal to an expected value. This method is employed when a program checks a signal is at the expected state. It encapsulates the comparison process but it also manages the fact a program is running on an emulator or not. In the case of an emulator, reading inputs can be a problem as in emulator mode external system generating the input signals is not available. In emulator mode, this method will always consider the signal is at the expected state and will then always return true .
Input Parameters Parameter Description sig.num the signal number we want to check expected.val The expected signal value Output Parameters Parameter Description is.equal.res The result value, indicating if signal is at the expected value ACE Reference Guide, 18317-000 Rev A Page 734