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

ID 683089
Date 10/14/2024
Public
Document Table of Contents

1.7.2.3. 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.