static struct devGpibParmBlock devSupParms = {
&MH2000Debug, /* debugging flag pointer */
-2, /* device does not respond to writes */
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
NULL, /* hwpvt list head */
gpibCmds, /* GPIB command array */
NUMPARAMS, /* number of supported parameters */
-1, /* magic SRQ param number (-1 if none) */
"devMH2000Gpib", /* device support module type name */
DMA_TIME, /* # of clock ticks to wait for DMA completions */
NULL, /* SRQ handler function (NULL if none) */
NULL /* secondary conversion routine (NULL if none) */
,(int) '\xff' /* End of String(eos) */
};
のように、/* device does not respond to writes */の所を-1から変えて、この場合1/60秒のwaitを入れます。dbdファイルの中で次のように定義します。(自動的にできるはず)
#MH2000 dbd list device(ai,GPIB_IO,devAiMH2000Gpib,"MH2000") device(ao,GPIB_IO,devAoMH2000Gpib,"MH2000") device(bi,GPIB_IO,devBiMH2000Gpib,"MH2000") device(bo,GPIB_IO,devBoMH2000Gpib,"MH2000") device(stringin,GPIB_IO,devSiMH2000Gpib,"MH2000") device(stringout,GPIB_IO,devSoMH2000Gpib,"MH2000") device(longin,GPIB_IO,devLiMH2000Gpib,"MH2000") device(longout,GPIB_IO,devLoMH2000Gpib,"MH2000") device(mbbi,GPIB_IO,devMbbiMH2000Gpib,"MH2000") device(mbbo,GPIB_IO,devMbboMH2000Gpib,"MH2000") device(waveform,GPIB_IO,devWfMH2000Gpib,"MH2000")
| DTYP | Record | Signal | Name | Function | Remarks |
|---|---|---|---|---|---|
| MH2000 | waveform | 0 | FB_IR:TEMP01 | 1〜10までの温度 | |
| MH2000 | waveform | 1 | FB_IR:TEMP02 | 11〜20までの温度 | |
| MH2000 | waveform | 2 | FB_IR:TEMP03 | 21〜30までの温度 |