Download GPH-3300
Transcript
GPH-3300 Help for Linux 5.5 Test Driver The GPH-3300 has the test driver capable of checking the functions of the GPH-3300 without using the board. To use the test driver, link libgpg3300t.so instead of libgpg3300.so. The following shows the example to compile the test.c program that uses the test driver. #gcc -o test test.c -lpthread –lgpg3300t Each function checks whether parameters are correctly specified or not. As error codes, refer to Return Value for details. Function Description DaOpen Returns DA_ERROR_SUCCESS if the process was successfully completed. DaClose Returns DA_ERROR_SUCCESS if the process was successfully completed. DaCloseEx Returns DA_ERROR_SUCCESS if the process was successfully completed. DaGetDeviceInfo Returns DA_ERROR_SUCCESS if the process was successfully completed. DaSetBoardConfig Returns DA_ERROR_SUCCESS if the process was successfully completed. DaGetBoardConfig Returns DA_ERROR_SUCCESS if the process was successfully completed. DaSetSamplingConfig Returns DA_ERROR_SUCCESS if the process was successfully completed. DaGetSamplingConfig Returns DA_ERROR_SUCCESS if the process was successfully completed. DaSetMode Returns DA_ERROR_SUCCESS if the process was successfully completed. DaGetMode Returns DA_ERROR_SUCCESS if the process was successfully completed. DaSetSamplingData Returns DA_ERROR_SUCCESS if the process was successfully completed. DaClearSamplingData Returns DA_ERROR_SUCCESS if the process was successfully completed. DaStartSampling Returns DA_ERROR_SUCCESS if the process was successfully completed. DaStartFileSampling Returns DA_ERROR_SUCCESS if the process was successfully completed. DaSyncSampling Returns DA_ERROR_SUCCESS if the process was successfully completed. DaStopSampling Returns DA_ERROR_SUCCESS if the process was successfully completed. DaGetStatus Returns DA_ERROR_SUCCESS if the process was successfully completed. DaSetOutputMode Returns DA_ERROR_SUCCESS if the process was successfully completed. DaGetOutputMode Returns DA_ERROR_SUCCESS if the process was successfully completed. DaOutputDA Returns DA_ERROR_SUCCESS if the process was successfully completed. DaInputDI Returns DA_ERROR_SUCCESS if the process was successfully completed. DaOutputDO Returns DA_ERROR_SUCCESS if the process was successfully completed. DaSetFifoConfig Returns DA_ERROR_SUCCESS if the process was successfully completed. DaGetFifoConfig Returns DA_ERROR_SUCCESS if the process was successfully completed. DaSetInterval Returns DA_ERROR_SUCCESS if the process was successfully completed. DaGetInterval Returns DA_ERROR_SUCCESS if the process was successfully completed. DaSetFunction Returns DA_ERROR_SUCCESS if the process was successfully completed. DaGetFunction Returns DA_ERROR_SUCCESS if the process was successfully completed. DaDataConv Returns DA_ERROR_SUCCESS if the process was successfully completed. DaWriteFile Returns DA_ERROR_SUCCESS if the process was successfully completed. fnConv The process was successfully completed. CallBackProc The process was successfully completed. Copyright 2002, 2003 Interface Corporation. All rights reserved. 109