Commit graph

267 commits

Author SHA1 Message Date
Ian Abbott
382f445b4a doc/extensions_funcref.txt: Some DocBook mark-up changes. 2012-05-09 14:45:18 +01:00
Ian Abbott
054ceeb77e doc/error_funcref.txt: Some DocBook mark-up changes. 2012-05-09 14:16:23 +01:00
Ian Abbott
32047d460b doc/dio_funcref.txt: Some DocBook mark-up changes. 2012-05-09 12:32:05 +01:00
Ian Abbott
4566a4a433 doc/deprecated_funcref.txt: Some DocBook mark-up changes. 2012-05-08 18:44:48 +01:00
Ian Abbott
c1cd802546 doc/calibration_funcref.txt: Some DocBook mark-up changes. 2012-05-08 18:08:56 +01:00
Ian Abbott
09106917de doc/command_funcref.txt: Some DocBook mark-up changes. 2012-05-08 17:08:16 +01:00
Ian Abbott
1c64dcb1b5 doc/funcref: Some DocBook mark-up changes. 2012-05-08 16:51:49 +01:00
Ian Abbott
eab51a0d94 doc/install.xml: Fixed a link. 2012-05-08 14:12:11 +01:00
Ian Abbott
5f95a358a6 doc/reference.xml: Minor change.
Used a proper cross reference to driver structures.
2012-05-08 14:04:55 +01:00
Ian Abbott
4874091364 doc/other.xml: More DocBook mark-up changes.
More changes, mostly adding <structfield> tags.
2012-05-08 13:58:27 +01:00
Ian Abbott
4bbaa29b41 doc/comedilib.ent: Got rid of a couple of redundant entities.
Got rid of the 'hellip' and 'uuml' entities in favour of predefined
versions of these entities.
2012-05-08 12:25:28 +01:00
Ian Abbott
5d91ff685d doc/install.xml: A few DocBook mark-up changes. 2012-05-08 12:11:55 +01:00
Ian Abbott
a814061d88 doc/tutorial.xml: A few DocBook mark-up changes. 2012-05-08 11:35:22 +01:00
Ian Abbott
df4d8963de doc/other.xml, reference.xml: Slowly varying inputs and comedi triggers
Mention that the stuff that relies on the COMEDI_TRIG ioctl, including
the slowly varying input (comedi_sv_...) functions no longer work with
current versions of the Comedi kernel layer.
2012-05-04 18:45:33 +01:00
Ian Abbott
8fae5ac58c doc/reference.xml: Improve description of comedi_insnlist...
... by adding a link to the comedi_do_insnlist function.
2012-05-04 18:29:47 +01:00
Ian Abbott
683e685c9f doc/reference.xml: Removed some comedilib internals.
Removed subdevice_struct as it is internal to comedilib.  Removed
struct comedi_t_struct, leaving only the comedi_t typedef as
applications only see it as a pointer to an opaque, incomplete type.
2012-05-04 18:20:42 +01:00
Ian Abbott
c63732907e doc/reference.xml: More DocBook mark-up changes. 2012-05-04 18:10:55 +01:00
Ian Abbott
a3c29c87a8 doc: Use a stylesheet for dblatex
Add comedilib_dblatex_config.xsl stylesheet and pass it to dblatex when
producing PDF output.  The current version of the stylesheet doesn't
make much difference to the output, but it's somewhere we can put stuff
later.

We probably want to do something similar for the other PDF backends, but
those are currently broken anyway.
2012-05-04 16:32:35 +01:00
Ian Abbott
9bd59e1def doc/other.xml: Moved a few tags around and minor changes.
Moved <link> tags inside <function>, <type>, <constant> etc. tags so
fonts stay a bit more consistent.
2012-05-03 19:56:59 +01:00
Ian Abbott
2d82ee25b3 Merge branch 'master' of git://comedi.org/git/comedi/comedilib 2012-05-03 13:06:46 +01:00
Bernd Porr
048c280a9a Removed a para from the section about proc which mentioned an NI
card but that's now the dux board from above actually.
2012-05-03 02:11:14 +01:00
Bernd Porr
ee16e47509 Just spotted that the documentation also talks about board_info.
I've updated it as well: explained the new command comedi_board_info.
2012-05-03 02:07:30 +01:00
Bernd Porr
2d0ed0442c Added a couple of sentences about async acquisition and the
two modes cards do it and then mentioned our new board_info.
2012-05-03 01:24:22 +01:00
Ian Abbott
c1a454bb40 doc/other.xml: More fiddling about.
More documentation tidy-ups.  I'll probably get bored eventually!
2012-05-02 15:47:59 +01:00
Ian Abbott
708b802811 doc/comedilib.xml: Add myself (Ian Abbott) to list of authors. 2012-05-02 13:04:24 +01:00
Ian Abbott
ad6a93952f doc/tutorial.xml: Fix a broken link. 2012-05-02 13:01:41 +01:00
Ian Abbott
6892b40468 doc/other.xml: Use comedi_dio_bitfield2 instead of comedi_dio_bitfield.
Rework text to use comedi_dio_bitfield2 as comedi_dio_bitfield is marked
as deprecated elsewhere in the document.
2012-05-02 12:54:46 +01:00
Bernd Porr
aaa4514804 I've added a bit more "meat" to the asynchronous acquisition section
and added myself to the authors section.
2012-05-01 19:41:38 +01:00
Ian Abbott
5392632a1c doc/funcref: Added missing comedi_data_read_n
There was a broken link to the comedi_data_read_n function from
elsewhere, so we'd better add a section for it.
2012-05-01 17:42:15 +01:00
Ian Abbott
7655653daf doc: Use ansi style funcsynopsis for html output.
Set XSL parameter "funcsynopsis.style" to "ansi" in the XSL stylesheet
used for HTML output (comedilib_html_config.xsl).
2012-05-01 17:14:27 +01:00
Ian Abbott
cc82998ec7 doc/mkref: Add some refmiscinfo for man pages
Make the man pages a bit neater.
2012-05-01 16:54:39 +01:00
Ian Abbott
1d351bfa04 doc/other.xml: Some DocBook markup changes. 2012-05-01 15:42:07 +01:00
Ian Abbott
5fdc15c302 doc: A few whitespace tweaks in program listings 2012-05-01 12:51:08 +01:00
Ian Abbott
c938e2bf60 doc/other.xml: Replaced simplelists
Replaced some simplelists with variablelists to fix some dblatex layout
problems.
2012-05-01 11:48:46 +01:00
Bernd Porr
df6a97ec6c I've updated the manual in the section configuration and
also updated the tutorial. I've simplified the tut2.c
by using comedi2phys instead of comedi2physical. The use of
polynomials as a 2nd comedi program is a bit too difficult
for a novice and might deter the user to dig deeper into
the coding. Also, I've added tut3.c which is a stripped
down version of cmd.c and of that again the relevant lines
for the handbook to save space.
2012-04-27 01:37:33 +01:00
Ian Abbott
e7a3e54042 doc/other.xml: Make table of configuration instructions less ugly.
The PDF output of the table of configurations was awful.  Fiddled with
the column widths a bit and simplified the layout "Meanings of data[1],..."
column to allow it to wrap.
2012-04-25 18:34:54 +01:00
Ian Abbott
be4e3b4007 configure: Allow choice of backend for PDF generation.
Add --with-pdf-backend=[yes|no|dblatex|fop|default] option which
defaults to "yes".  This controls the option passed to 'xmlto' to
generate PDFs.

If set to "yes" (the default) it looks for 'dblatex' and uses it as the
backend for 'xmlto' if found, otherwise 'xmlto' will use the default
backend.

If set to "no" (same as --without-pdf-backend), PDF generation is
disabled.

If set to "dblatex" it looks for 'dblatex' and uses it as the backend
for 'xmlto' if found, otherwise PDF generation is disabled.

If set to "fop" it looks for 'fop' and uses it as the backend
for 'xmlto' if found, otherwise PDF generation is disabled.

If set to "default", 'xmlto' will use the default backend.
2012-04-25 17:14:16 +01:00
Ian Abbott
08448172d8 doc/drivers.txt: Rebuilt from comedi
Rebuilt "doc/drivers.txt" using "make Documentation/comedi/drivers.txt"
in the Comedi package.  Note: this scans the driver sources included
with the comedi.org Comedi package, not the Linux "staging" Comedi
sources, so some newer, staging-only drivers are missing.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
2012-04-23 18:12:41 +01:00
Ian Abbott
31b558634a doc/Makefile.am: Create directory for pdf output
dblatex is passed the option `-o $(srcdir)/pdf`, but if this directory
does not exist, the PDF file is created with the name 'pdf' in
$(srcdir).  Make the directory so that the -o option treats the
specified name as an output directory instead of an output filename.
2012-04-23 17:52:06 +01:00
Bernd Porr
456421c4f6 Fixed a path issue with comedilib.pdf. Got correctly
saved into the pdf subfolder but install exprected
it in the doc folder.
2012-04-23 12:43:04 +01:00
Bernd Porr
9a76f63cd3 automake now checks for dblatex and the pdf version
of the comedi manual is now generated
2012-04-23 12:22:16 +01:00
Bernd Porr
0d8c6e9661 Comedilib.pdf can now be generated with
dblatex -t pdf ./comedilib.xml

There were two major issues in the comedilb.xml:
1) there were too many nested sections so that
   latex ran out of sub-sub-sub-sub-sections.
2) A section needs a title and can no longer
   exist without one. The first line
   of the textfiles contains now the title
   and will be inserted by mkref into the xml file.

todo: switch from xmlto to dblatex for the pdf generation
and re-enable it in the makefile.
2012-04-23 00:23:03 +01:00
Ian Abbott
a61c28c696 doc/reference.xml: Added section for comedi_polynomial_t.
The tutorial.xml contained links to a missing section for the
comedi_polynomial_t type, so I added one.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
2012-04-20 13:28:15 +01:00
Ian Abbott
4f21a64daa doc/Makefile: Remove *.css files on uninstallation.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
2012-04-20 12:26:34 +01:00
W. Trevor King
679c0fb5f7 driverwriting.xml: COMEDI_CB_EOA is also used to report end-of-output. 2012-04-16 08:58:20 -04:00
W. Trevor King
1fd268ccdb driverwriting.xml: COMEDI_CB_OVERFLOW is also used to report underflows. 2012-04-16 07:52:48 -04:00
Ian Abbott
b8a4f1a265 Added channel parameter to comedi_set_clock_source() and
comedi_get_clock_source().  Bumped library version to 0.10.0.
2010-03-19 13:44:56 +00:00
Ian Abbott
c234d5afbc Oops, I missed one of the info to board_info changes. 2008-12-18 11:43:27 +00:00
Ian Abbott
80ac38a5b1 demo/info is now demo/board_info. Thanks to JuanPi for pointing it out. 2008-12-18 11:23:48 +00:00
Frank Mori Hess
f21482f6c2 Added specification of return value for comedi_dio_bitfield2. 2008-05-01 17:30:11 +00:00