Keysight E1406A User Manual and SCPI Programing Guide 37Modules Configured Statically and Dynamically Configuring the Keysight E1406A Command Modulewhere N is the number of modules to be configured. For example, to dynamicallyconfigure three modules based on logical addresses you have selected, the tablesize would be: 2 + 4(3) = 14 bytes. DIAGnostic:NRAM:CREate would be executedas:OUTPUT @E1406;"DIAG:NRAM:CRE 14"Data FormatData can be sent to the dynamic configuration table in any convenient format, aslong as the binary data is preserved. This can be accomplished usingDIAGnostic:PEEK? and DIAGnostic:POKE, by reading the data into a variable inthe computer and then downloading the data to the table using the ArbitraryBlock Program Data format, and so forth. In the following example, this isaccomplished by reading the data into 16-bit integer variables in the computerand then downloading the data to the table using the ANSI/IEEE 488.2-1987Arbitrary Block Program Data format. More information on the Arbitrary BlockProgram format can be found in this manual and in the ANSI/IEEE 488.2-1987document.Example: Dynamically Configuring a ModuleThe following program dynamically sets the logical address of the KeysightE1412A 61?2-Digit Multimeter in slot 6 to 32. The program notes each of thesteps used to create and load the table.To dynamically configure the multimeter, its logical address must be set to 255using the logical address switches.10 !Assign an I/O path and allocate a variable to store dynamicconfiguration20 !data to be downloaded to the command module.30 ASSIGN @E1406 TO 70900;EOLCHR$(10)END40 INTEGER Dy_config(1:6)50 !60 !Allocate a segment of non-volatile user RAM on the command70 !module to store the dynamic configuration table (1 module).80 OUTPUT @E1406;"DIAG:NRAM:CRE 6"90 !When downloading data into the dynamic configuration table,DIAGnostic:DOWNload does not determine if the table is largeenough to store the data. If the amount of data sent byDIAGnostic:DOWNload is greater than the (table) space allocatedby DIAGnostic:NRAM:CREate, system errors will occur. You canrecover from these errors by executing DIAGnostic:BOOT:COLD, orby pressing the "Ctrl-R" keys on an RS-232 terminal while cyclingmainframe power.