AN 425: Using the Command-Line Jam STAPL Solution for Device Programming

ID 683089
Date 12/09/2016
Document Table of Contents Step 3: Handle Text Messages from jbi_export()

The jbi_export() function uses the printf() function to send text messages to stdio. The Jam STAPL Byte-Code Player uses the jbi_export() signal to pass information, for example, the device UES or USERCODE, to the operating system or software that calls the Jam STAPL Byte-Code Player. The function passes text and numbers as strings and decimal integers, respectively.

If there is no stdout device available, the information can be redirected to a file or storage device, or passed back as a variable to the program that called the player.