public void ResetTest() { //Reset internal data store data.Clear(); foreach (DEVICEID id in devices) { data[id] = new List <int>(); } //Reset External Buffers foreach (DEVICEID id in devices) { HANDLE_RETURN_VALUES = aio.ResetAiMemory(id); } }
//機器のリセット private void resetAio() { int aioReset = aio.ResetAiStatus(devId); if (aioReset != 0) { statusMsg(aioReset, null); return; } int aioResMem = aio.ResetAiMemory(devId); if (aioResMem != 0) { statusMsg(aioResMem, null); return; } }