DIAGnostic:PEEK:SLOT:DATA?
DIAGnostic:PEEK:SLOT:DATA?
DIAGnostic:POKE:SLOT:DATA
Syntax
DIAGnostic:PEEK:SLOT:DATA? {100|200|300}
DIAGnostic:POKE:SLOT:DATA {100|200|300}, <quoted_string>
Description
The POKE command allows you to add a custom label of up to 10 characters to the module in the specified slot. Characters beyond the tenth character are truncated, and no error message is generated. The PEEK query returns the label string.
Parameters
Name Type Range of Values Default Value <quoted_string> Quoted ASCII String A quoted ASCII string of up to 10 characters. This is a required parameter.
Remarks
- One possible use for this command is to allow you to differentiate between modules of the same type from within your program.
- The custom label is stored in non-volatile memory on the module.
- You must unsecure the instrument with CALibration:SECure:STATe OFF before you can store the custom label.
Return Format
The PEEK query returns the label string.
Examples
The following command adds a label to the module in slot 200.
DIAG:POKE:SLOT:DATA 200,"TestMod1"
The following query returns the label associated with slot 200.
DIAG:PEEK:SLOT:DATA? 200
Typical Response: TestMod1
See Also
DIAGnostic Subsystem Introduction