Rockwell Automation 9220-TG QUICK START CONTROLNET MESSAGE User Manual
Page 31

ControlNet Message/Traffic Generator Tool
31
Publication 9220-10.1 — July 1996
/*****************************************************************\
**
** Name: MG_Env ( )
**
** Description:
** This function reads the Message/Traffic Generator environment
** variable and fills in the global configFile string.
**
** Inputs: None
**
** Outputs: UINT status
– SUCCESS
**
– BAD_PARAMETER_VALUE
**
** Copyright (c) 1995, ‘96 Allen–Bradley Company
**
\*****************************************************************/
/*****************************************************************\
**
** Name: MG_Init ( )
**
** Description:
** This function initializes the Message/Traffic Generator
** interface. It must be the first MG_ API function called.
**
** Inputs: None
**
** Outputs: UINT status
– SUCCESS
**
– BAD_PARAMETER_VALUE
**
** Copyright (c) 1995, ‘96 Allen–Bradley Company
**
\*****************************************************************/
/*****************************************************************\
**
** Name: MG_Cleanup ( )
**
** Description:
** This function cleans up after the Message/Traffic Generator
** interface. It must be the last MG_ API function called.
**
** Inputs: None
**
** Outputs: None
**
** Copyright (c) 1995, ‘96 Allen–Bradley Company
**
\*****************************************************************/