next up previous
Next: Channel Open/Close Functions Up: Host (PC) RTDX API Previous: Set Processor and CPU

Configuration Functions



Configure Rtdx


long ConfigureRtdx( short Mode, long MainBufferSize, long NumOfMainBuffers )

The ConfigureRtdx function sets the RTDX mode and defines the size and number of main buffers.

Parameters:

Mode Continuous or non-continuous mode:
  1 - continuous mode
  0 - non-continuous mode
MainBufferSize Size of Main Buffer in bytes. The default buffer size is 1024.
NumOfMainBuffers Number of main buffers. The default number of main buffers is 4.

Returns:

long - Success / Failure


Configure Log-File


long ConfigureLogFile( BSTR FileName, long FileSize, short FileFullMode, short FileOpenMode )

The ConfigureLogFile function sets up the RTDX log file (*.rtd).

Parameters:

FileName Full directory specification and log file name.
FileSize Size of the log file in bytes.
FileFullMode Action to take if the log file overflows.
  0 - overwrite old data
  1 - throw away new data
FileOpenMode How to open the log file.
  0 - read only
  1 - append to existing file
  2 - overwrite existing file

Returns:

long - Success / Failure




Configure Rtdx


long ConfigureRtdx( short Mode, long MainBufferSize, long NumOfMainBuffers )

The ConfigureRtdx function sets the RTDX mode and defines the size and number of main buffers.

Parameters:

Mode Continuous or non-continuous mode:
  1 - continuous mode
  0 - non-continuous mode
MainBufferSize Size of Main Buffer in bytes. The default buffer size is 1024.
NumOfMainBuffers Number of main buffers. The default number of main buffers is 4.

Returns:

long - Success / Failure


Enable Rtdx


long EnableRtdx( )

Enable Code Composer to perform RTDX functionality.

Returns:

long - Success / Failure


Disable Rtdx


long EnableRtdx( )

Disable Code Composer to perform RTDX functionality.

Returns:

long - Success / Failure


Configure Rtdx


long ConfigureRtdx( short Mode, long MainBufferSize, long NumOfMainBuffers )

The ConfigureRtdx function sets the RTDX mode and defines the size and number of main buffers.

Parameters:

Mode Continuous or non-continuous mode:
  1 - continuous mode
  0 - non-continuous mode
MainBufferSize Size of Main Buffer in bytes. The default buffer size is 1024.
NumOfMainBuffers Number of main buffers. The default number of main buffers is 4.

Returns:

long - Success / Failure


Enable Channel


long EnableChannel( BSTR ChannelName )

Enable target transmissions for a specific data channel.

Returns:

long - Success / Failure


Disable Channel


long DisableChannel( BSTR ChannelName )

Disable target transmissions for a specific data channel.

Returns:

long - Success / Failure



next up previous
Next: Channel Open/Close Functions Up: Host (PC) RTDX API Previous: Set Processor and CPU
H. Rogalla 2005-12-07