Chapter 6
NI-FBUS Function Reference
NI-FBUS Hardware and Software User Manual
6-24
ni.com
nifStartupCM
Purpose
Starts the NI-FBUS Communications Manager.
Format
nifError_t
nifStartupCM (
uint32 windowStyle,
uint32 interval);
Input
windowStyle
Specifies the style of how the NI-FBUS Communications
Manager main window is displayed. This parameter may be one
of the following:
NIFB_WND_STYLE_NORMAL
Activate and display the main window of
the NI-FBUS Communications Manager.
NIFB_WND_STYLE_MINIMIZE
Minimize the main window of the
NI-FBUS Communications Manager.
interval
The maximum waiting time in milliseconds for the NI-FBUS
Communications Manager to complete the initialization. If
interval
is set to 0, this function will immediately return after
the NI-FBUS Communications Manager process is created. If
interval
is set to
NIFB_TIMEOUT_INFINITE
, the function will
return only when the NI-FBUS Communications Manager has
completed initialization or an error has occurred. The total time of
completing initialization depends on the number and the type of
the FBUS interface cards.
Output
None.
Context
Not applicable.
Description
nifStartupCM
launches the NI-FBUS Communications Manager. Depending on the
windowStyle
parameter, The NI-FBUS Communications Manager will be launched in
normal style or minimized style.