12.07.2015 Views

spec - Local Sector 7 web page

spec - Local Sector 7 web page

spec - Local Sector 7 web page

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

National Instruments GPIB with National Instruments Driver sThe National Instruments GPIB boards and drivers should be installed according toNational Instruments instructions. <strong>spec</strong> communicates with the boards using onlythe device node /dev/gpib0.(On System V PC Platforms, where the GPIB driver is linked into the kernel, and thekernel is patched using the ibconf program, you should run ibconf directly on thedriver file, so that each time you rebuild a kernel, you won’t need to rerun ibconf.Thus, you might runibconf /etc/conf/pack.d/ib2/Driver.oafter the driver has been installed.)When you do configure /dev/gpib0 with the ibconf program, set the controller primaryaddress to 0, the secondary address to none, board-is-system-controller mode toyes and disable-auto-serial-polling mode to yes.Other board configuration parameters are programmed by <strong>spec</strong> each time it is run,thus overriding any values you may set using the ibconf program. Those parametersare: timeout setting, EOS byte, terminate-read-on-EOS mode, type of compare onEOS, set-EOI-w/last-byte-of-write mode and UNIX signal. The <strong>spec</strong>ial nodes that maybe created for each individual device by the National Instruments installation programare not used at all.National Instruments GPIB with cib.oconfig file:PC_GPIBPC4 = device_namePC_GPIBPC4_L = device_nameedconf interfaces screen:GPIB DEVICE ADDR TYPEYES /dev/gpib0 Nat Inst with cib.oYES /dev/gpib0 Nat Inst with cib.o (shared)National Instruments provides a C language interface to its driver on most platformsin a file called cib.c. For some older versions of the National Instruments driver,<strong>spec</strong> has built-in C code that can be used instead of the National Instruments Cinterface. When using the National Instruments cib.o file, it isn’t possible for GPIBdevices that generate service requests (SRQ) to generate interrupts. Such devicesmust be used in polled mode.In addition to <strong>spec</strong>ifying this choice in the config file, the location of the cib.o file mustbe entered when <strong>spec</strong> is installed. (See Page 191 in the Administrator ’sGuide.220 HARDWARE REFERENCE INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!