Difference between revisions of "Digital input/output (DIO)"
(→LabVIEW demos) |
(→LabVIEW demos) |
||
Line 95: | Line 95: | ||
== LabVIEW demos == | == LabVIEW demos == | ||
− | + | SU_DIO_Test.vi | |
+ | |||
+ | or for a specific extension board: | ||
+ | |||
+ | SU700 -> SU700_TTLIO_Test.vi | ||
+ | SU707 -> SU707_Test.vi |
Revision as of 10:46, 2 May 2016
Contents
LogicPool (DIO)
This module supports several hardware expansions cards or submodules, no all functionalities are supported for all submodules.
Models
There is only one model for this module.
Supported hardware
SU700, SU701, SU703, SU704, SU706, SU707
Register Map
Module Address: 'T' or Ox??
Read register
Register Address | Name | Data |
---|---|---|
0 | MUX_IN | Bit 7..0: multiplexer address |
1 | STATE_IN | Bit 7..0: input value |
Write register
Register Address | Name | Data |
---|---|---|
0 | MUX_OUT | Bit 7..0: multiplexer address |
1 | Debounce | Bit 7..0: input value |
2 | Mode | Bit 0:
'1' 50 Ohm termination '0' Open Bit 1: NIM/TTL '1' NIM '0' TTL |
LabVIEW Vi
Digital Input/Output. Support: SU700, SU701, SU703, SU704, SU706, SU707 According to hardware this supports either TTL,, TTL_coax, NIM or DIFFERENTIAL I/Os. Each connector can be used as either an output (DO) or input (DI) or both. If used as an input, terminal DO (driving output) must not be connected, as this enables the output driver and would override any input signals.
Please obey termination rules as defined for the specific used hardware!
Inputs
DIO#: number of connector (must be unique!)
Outputs
USB In and USB Out are related to the selected USB interface! No connection uses a global parameter, set by OPEN.vi!
Parameters
Mode: set according to used hardware module and level standards. (SU704 supports switchable 50 Ohm termination!) Debounce/ms: debounce delay for suppressing intermittent signals (1..255 ms). debounce=0 disables this function!
Functions
Connect: connects all in/outputs and sets all parameters Set DO: change input DO Get DI: return output state at DI Write Mode: load appr. mode
LabVIEW demos
SU_DIO_Test.vi
or for a specific extension board:
SU700 -> SU700_TTLIO_Test.vi SU707 -> SU707_Test.vi