RB8513 Timebase
[Reference Manual]


Detailed Description

Purpose

Generate short pulses with a programmable interval time.

Description

Module RB8513 is a clock signal generator with a programmable interval time. It has a TTL trigger input and a TTL clock output.

The module's front-panel looks as follows.

  +-----------+
  |TIME BASE  |
  |prog 50n-1s|
  |    output |
  |     (o)   |
  |     TTL   |
  |           |
  |           |
  |           |
  |           |
  |    input  |
  |     (o)   |
  |     TTL   |
  |           |
  |    RULBUS |
  +-----------+

The module can generate a clock signal with the following interval times.

 Programmable interval times
--------------------------------
  50 ns
 100 ns
 200 ns
 500 ns
   1 us -  99   us, step   1 us
 100 us -   9.9 ms, step 100 us
  10 ms - 990   ms, step  10 ms

Configuration

The RB8513 timebase module has no properties that are configured at production time.

Default configuration

rb8513_timebase "name"
{
   address = 0xB0
}

When the Rulbus configuration file is read, the timebase interval time is set to 1 us.

Usage

There are functions to set and get the interval time.

int32 handle;

rb8513_timebase_open( &handle, "timebase" );
rb8513_timebase_setIntervalTime( 1e-3 );
rb8513_timebase_close( handle )


Open and close

EXPORT int32 RDL_API rb8513_timebase_open (int32 *pHandle, CCstr name)
 open a timebase.
EXPORT int32 RDL_API rb8513_timebase_close (int32 handle)
 close a timebase.

Control

EXPORT int32 RDL_API rb8513_timebase_stop (int32 handle)
 stop timebase.

Interval Time

EXPORT int32 RDL_API rb8513_timebase_getIntervalTime (int32 handle, float32 *pTime)
 get the current interval time in s.
EXPORT int32 RDL_API rb8513_timebase_setIntervalTime (int32 handle, float32 time)
 set set interval time to 50 ns, 100 ns, 200 ns, 500 ns, 1..99 us, 0.1..9.9 ms, 10..990 ms.


Generated on Wed Apr 6 08:59:22 2005 for Rulbus Device Library for Microsoft Windows by doxygen 1.4.0