Home / old_versions / experix_r1
Name Modified Size InfoDownloads / Week
Parent folder
experix_update_r1u2.tgz2 2006-10-12 144.9 kB
README_r1u2 2006-10-12 6.1 kB
experix_update_r1u1.tgz2 2006-09-14 148.3 kB
README_r1u1 2006-09-14 4.1 kB
experix_helpers.tgz2 2006-09-01 90.7 kB
experix_dist.tgz2 2006-09-01 693.2 kB
experix_book.tgz2 2006-09-01 125.0 kB
install 2006-09-01 20.7 kB
README_r1 2006-09-01 2.3 kB
Totals: 9 Items   1.2 MB 0
Instructions for applying experix_update_r1u2.tgz2

if not done already, download and build experix as instructed in README_r1
cd /home/bear/experix/updates     # or wherever your experix directory is
download experix_update_r1u2.tgz2
tar -xjf experix_update_r1u2.tgz2
cut out the script below, check the target directory and adjust if needed, and execute it.
cd ~/experix/bin
Compile xpxdif.c as instructed for main experix source files in book/install.
Link experix as instructed in book/install.
For each driver that is needed:
  cd to its directory
  make
  read the comments in the Makefile and do what is called for. 

#!
mv experix__pcdas16.c      ~/experix/dist/drivers/pcdas16
mv Makefile                ~/experix/dist/drivers/pcdas16
mv pcdas16.h               ~/experix/dist/drivers/pcdas16
mv start_poker.xpx-pcdas16 ~/experix/dist/drivers/pcdas16/start_poker.xpx
mv poker_iorec.xpx-pcdas16 ~/experix/dist/drivers/pcdas16/poker_iorec.xpx
mv experix__das1602.c      ~/experix/dist/drivers/das16
mv start_poker.xpx-das16   ~/experix/dist/drivers/das16/start_poker.xpx
mv poker_iorec.xpx-das16   ~/experix/dist/drivers/das16/poker_iorec.xpx
mv real__pcm308.c          ~/experix/dist/drivers/pcm308
mv start_poker.xpx-pcm308  ~/experix/dist/drivers/pcm308/start_poker.xpx
mv poker_iorec.xpx-pcm308  ~/experix/dist/drivers/pcm308/poker_iorec.xpx
mv poker.xpx               ~/experix/dist/drivers
mv xpxdif.h                ~/experix/dist/source
mv xpxdif.c                ~/experix/dist/source
mv xcd.hlp                 ~/experix/dist/help
mv poker.hlp               ~/experix/dist/help
mv debugging               ~/experix/book

-------------------------------------------------
Manifest, with checksums (sum) and sizes (blocks)
-------------------------------------------------
47520    34 debugging
24911   108 experix__das1602.c
32487   104 experix__pcdas16.c
08368     3 Makefile
27728     5 pcdas16.h
18919    58 poker.hlp
14604     5 poker_iorec.xpx-das16
15972     5 poker_iorec.xpx-pcdas16
18449     4 poker_iorec.xpx-pcm308
52435    81 poker.xpx
18051   112 real__pcm308.c
46786     2 start_poker.xpx-das16
46239     2 start_poker.xpx-pcdas16
33519     2 start_poker.xpx-pcm308
26333    30 xcd.hlp
07030    47 xpxdif.c
36037    52 xpxdif.h

------------------------------------------------
Summary of changes and additions in this update:
------------------------------------------------

book/debugging
-- new file:  how to debug experix 

drivers/pcm308/poker_iorec.xpx
-- new file:  command for i/o recording with poker

drivers/das16/poker_iorec.xpx
-- new file:  command for i/o recording with poker

drivers/pcdas16/
-- new directory, to support the Computerboards PC-CARD-DAS16/16-AO.
   files:  experix__pcdas16.c Makefile pcdas16.h start_poker.xpx
   poker_iorec.xpx

drivers/poker.xpx
-- re-worked the setup_pokr command to allow more parameters as needed,
   and clearly separate the code for each device
-- made new variable 'device_settings and allocated 1st 4 entries for the
   XDX_TIMER parameters that runpokr will use; changed runpokr to use this;
   initialized these things in setup_pokr

drivers/pcm308/real__pcm308.c
-- minor corrections in documentation
-- changed IO_RECORD to use the DAC1 page rather than DAC0
-- corrected possible null-pointer deref at the start of pcm308_fo_read
   (it would only happen if somebody tries to do a read on a minor that
   corresponds to an unattached socket)
-- put in code to set or clear  XB1_INTEN and XB1_ACTIVE bits when acting on
   ctrl308_FIFOint (i.e. enabling or disabling interrupts).  This should
   just be fastidious housekeeping, no effect on operations.
-- removed unused empty function board_setup
-- made XDX_TIMER error out when XB1_ACTIVE is set
-- changed all use of XDP_ACTIVE to XB1_ACTIVE
-- fixed XDX_AISCAN (wasn't it ever tested?)
-- added XDX_TESTS number 9 to set the DAC update mode
-- in XDX_AOSCAN removed statements setting DAC update mode
-- in XDX_AISCAN changed comments to talk about "method 1" and "method 2"
   rather than "standard method" and "special method".
-- changed set_pacer and related code to conform to new spec of XDX_PACER
-- changed the i/o recording to report the source line number, and removed
   i/o recording from the interrupt handler
-- put BASE308 into xdcb to eliminate some argument passing
-- corrected argument type error for the Outw macro
-- removed a redundant statement setting XB1_ACTIVE in XDX_TIMER
-- corrected mask for ctrl308_masked_write in XDX_AISCAN command

drivers/das16/experix__das1602.c
-- trivial typo correction in a comment
-- removed redundant statement "pars=31" in XDX_AISCAN
-- in XDX_GAINS, corrected the DAC voltage conversion factors (so far nothing
   has been relying on this)
-- in the "specialized" XDX_AISCAN, disabled burst mode (this shouldn't make
   a difference because channel register was already programmed for 1 channel
   and burst length was set to 1)
-- made XDX_TIMER error out when XB1_ACTIVE is set
-- in XDX_AISCAN changed comments to talk about "method 1" and "method 2"
   rather than "standard method" and "special method".
-- changed set_pacer and related code to conform to new spec of XDX_PACER
-- removed MODULE_PARM pacermin and added MODULE_PARM PACERmin which is the
   minimum pacer setting in nanoseconds
-- removed the compilation option for including XDX_TEST
-- put in i/o monitoring

source/xpxdif.h
-- added XB1_1ACTIVE to combine the XB1_ACTIVE and XDP_ACTIVE flags when they
   would be redundant (in some synchronized-page drivers)
-- added a "method 2" AISCAN, which is the formerly "special" method in the
   drivers
-- added to spec of XDX_PACER: get/set the minimum allowable pacer interval

source/xpxdif.c
-- changed xcd/P:  returned value is always a time in seconds

help/xcd.hlp
-- corrected xcd/i:  31 parameters
-- changed xcd/P:  cksel=-2 gets/sets minimum allowable pacer interval

help/app/poker.hlp
-- added device_settings to the list of variables

drivers/das16/start_poker.xpx
drivers/pcm308/start_poker.xpx
-- removed code about setting minimum pacer interval (now done in setup_pokr)

Source: README_r1u2, updated 2006-10-12