Valid for NG-Trace library version 2.7.300 and later.
We assume that you have correctly installed NG-Trace and the FBox library according to the instuctions on the NG-Trace Download page.
You have already created your modem application and therefore you have a Fupla file with one of the Modem driver FBoxes.
- Open the Fupla file with the Modem Driver FBox. After the Modem Driver FBox, place the FBox called 'NGT Modem' (or 'NGT Modem adv') from the 'NG-Trace' FBox family.
On the FBox face enter a free register (one single free register).
In the FBox select the same channel as the one used by the EIB Driver. - In the PCD device in the PG5 Project Manger create a new file with the type 'NG-Trace'.
During the creation, select the option 'Standard Buffer'.
Important: Uncheck the option 'Linked/Build'.
The NG-Trace will open. - In the 'Settings' tab, select the option 'Connect to standard buffer'. Enter the same start register as chosen above. Save the settings.
- Build, download and run your program as usual in the PG5 Project Manager. During build, you should get the following message:
- NG-Trace Buffer for ModemR created. - Go online with the PG5 Project Manager.
- In the View tab of the NG-Trace, press the Connect and the Start buttons.
The named columns apears and the events are recorded. If the options are checked, the PC Date, PC Time and PCD status are added.
The following values are traced:
- Date-Time
Date and Time of the event - Modem status
The current status of the modem (displayed in the Modem driver FBox) - Application status
The status of the application using the modem. This can e.g. be the status from the 'Send SMS' FBoxes - Call command
The command sent to the modem - Connection
The status of the connection of the modem - Tf Number
The currently used phone number - Dst Number
The destination number of SMS messages - Error
The error code (the same code as in the Modem Driver FBox) - App Error
The error code from the appliction (e.g. the Send SMS FBox)
For more information concerning the use of the NG-Trace please refer to the online help file.