Ctrl Command load_program_file
Function
executes a board reset, performs a DSP memory check, loads into RTC
program file RTC5OUT.out along with the files RTC5RBF.rbf and RTC5DAT.dat from the
specified directory, performs a version check and starts the signal processor (DSP).
Call
ErrorNo = load_program_file( pPath )
Parameter
pPath
Result
error code as an unsigned 32-bit value:
Value
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
Path name of the directory, where the files RTC5OUT.out, RTC5RBF.rbf and
RTC5DAT.dat are stored (as a pointer to a null-terminated string)
Description
Success.
Reset error: the board could not be reset.
Unreset error: the board won't restart.
File error: file not found or can't be opened.
Format error: RTC5OUT.out has incorrect format.
PCI error: driver reported an error during PCI transfer because driver isn't compatible with DLL. This
occurs particularly when DLL 533 or earlier is used with driver 6.1.7600.16385, or if PCI
communication is in any way impaired. Up to DLL 536, error code 4 indicates a PCI error, too. As of
DLL 537, PCI errors are indicated by error code 16, see the description there.
System error: not enough WINDOWS memory.
Access error: board reserved for another application
Version error: DLL version (driver DLL), RTC version (firmware file) and HEX version (DSP program file)
not compatible
System driver not found
(get_last_error
DriverCall error: loading of RTC5OUT.out file failed.
Configuration error: DSP register initialization failed.
Firmware error: loading of RTC5RBF.rbf file failed.
PCI download error: loading of RTC5DAT.dat file failed.
Busy error: Download locked, board is BUSY or INTERNAL-BUSY
RTC5_BUSY)
DSP memory error
Verify error (only applicable for download verification)
PCI error: as of DLL 537. Or a possible driver/DLL conflict, see note on
(version DLL 533 and lower) are not compatible with the new WDF drivers."
®
return code: RTC5_ACCESS_DENIED)
(get_last_error
page
26: "Older RTC
5 memory the
return code:
®
5 DLL files
340
Need help?
Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?