UNI-T UTG7000B Series Signal Source Function Arbitrary Waveform Generator User Manual
- June 9, 2024
- UNI-T
Table of Contents
- UNI-T UTG7000B Series Signal Source Function Arbitrary Waveform Generator
- Introduction
- Reference File
- Basic Format of Command String
- Description
- General Command
- Write Parameter
- Read Parameter
- Key
- Read and Write Configuration File
- Capture Screen
- Write Random Wave File
- Appendix
- Read User Manual Online (PDF format)
- Download This Manual (PDF format)
UNI-T UTG7000B Series Signal Source Function Arbitrary Waveform Generator
Introduction
UCI interface, related problems see UCI Help Documentation. Detailed operating see example project.
Reference File
- UTG2025Def.h : the basic definition of this series
- UCI relevant documentation: see UCI Help Documentation
Basic Format of Command String
- The name of command string 1: command parameter@ attribute 1: attribute value@ attribute 2: attribute value … @ attribute n: attribute value;
- The name of command string 2: command parameter@ attribute 1: attribute value@ attribute 2: attribute value … @ attribute n: attribute value;
- The name of command string n: command parameter@ attribute 1: attribute value@ attribute 2: attribute value … @ attribute n: attribute value;
Description
- It is not case-sensitive;
- Numerical value support the format of hexadecimal, octal and decimalism;
- Support multiple statements (depends on model), if multiple statements and attributes on failure, try to using single statement and attribute;
- Every statement must end with ‘;’;
- Spaces are supported between names, values, and tags;
Example:
“wp@ch:0@addr:10@v:10;” “key: c1;”
Term: SG – short name of Signal Source
General Command
Name of command | Meaning | IO | Data | Note |
---|---|---|---|---|
Local | Lock Pad | W | Enum:0/1{remote/local status} | Keyboard locked in remote |
status
Local?| Query keyboard is locked or not| R| Enum:0/1{unlocked/locked}|
Lock?| Query the lock status of keyboard| R| 8Bytes,64 signed integer, flag
bit|
Write Parameter
Name of command | Command parameter | Type of command parameter |
---|---|---|
wp | None | None |
Name of attribute | Meaning | IO |
--- | --- | --- |
CH | Number of channel | W |
addr | Parameter address | W |
parameter address
v| Parameter value| W| Value usually measured by the smallest unit
-
Example:
“wp@CH:0@addr:9@v:1000;” – set the frequency of CH1 is 1mHz; -
Note:
UCI corresponding interface: uci_Write
Read Parameter
Name of command | Command parameter | Type of command parameter |
---|---|---|
rp | None | None |
Name of attribute | Meaning | IO |
--- | --- | --- |
CH | Number of channel | W |
addr | Parameter address | W |
parameter address
-
Example:
“rp@CH:0@addr:9;” – read the frequency of CH1; -
Note:
UCI corresponding interface: uci_Read, corresponding data size are 8 bytes, double types!
Key
Name of command | Command parameter | Type of command parameter |
---|---|---|
KEY | Key value | See key code as below |
KEY | Character encoding | KEY |
--- | --- | --- |
Bottom function key 1 | AF1 | 0 |
Bottom function key 2 | AF2 | 1 |
Bottom function key 3 | AF3 | 2 |
Bottom function key 4 | AF4 | 3 |
Bottom function key 5 | AF5 | 4 |
Bottom function key | 6 | AF6 |
--- | --- | --- |
F1 | F1 | 6 |
F2 | F2 | 7 |
F3 | F3 | 8 |
F4 | F4 | 9 |
Menu | MENU | . |
Knob Left | FKNL | +/- |
Knob Right | FKNR | Trigger |
Knob Click | FKN | Utility |
Left | L | CH1 |
Right | R | CH2 |
Name of attribute | Meaning | IO |
--- | --- | --- |
Lock | Lock the keyboard | W |
Unlock | Unlock the keyboard | W |
Lock?
| Query the lock status of keyboard| ****
R
| Integer<4Bytes>: 0 – unlocked; 1 – locked
- Example:
- “KEY:c1;” — CH1
- “KEY:c2;” — CH2
- “KEY:c2@lock;” — CH2 locked the key
- “KEY:c2@unlock;” — CH2 unlocked the key
- “KEY:c2@lock?;” — Query keyboard locked or not
- Note:
Command with question mark read in uci_Read . The status gets from the interface return value.
Read and Write Configuration File
Name of command | Command parameter | Type of command parameter |
---|---|---|
dconfig | None | None |
-
Example:
“dconfig;” -
Note:
Use the interface uci_Readto read,buffer area size can set as 1024Bytes,the actual of effective data is defined by the interface return value. Use the interface uci_WriteFromFile to write configuration data, which does not recognize the file suffix, it can only recognize command “dconfig;”, write configuration timeout at least 6s.
Capture Screen
Name of command | Command parameter | Type of command parameter |
---|---|---|
PrtScn | Picture format | Enum(String):null/zip/bmp |
{unpacked pixel data/packed pixel data /BMP file data
- Example:
- “PrtScn:bmp;” — screenshot saved as bmp file data;
- “PrtScn;” — screenshot saved as pixel file data;
- “PrtScn:zip;” — screenshot saved as packed pixel file data;
- Note :
Use uci_Read to read data,the command has no saved data file, it should return to the specified buffer area of uci_Read . If you want to buffer a local file, please save it by yourself.
-
If use command: “PrtScn;”,buffer area size must be >=391680(480 272 3),readout is 24bits of pixel data;
-
If use command:“PrtScn:bmp;”,buffer area size must be 480 272 3 + 54 = 391734,that is the size of picture.
-
If use command: “PrtScn:zip;”, buffer area size can set >=391680 (480 272 3 )(maximum data volume), readout is packed pixel data. And then use the interface:alg_UnCompressPixels_25 to unzipping data.
Note: uci_Read return value is packed data volume -
Use the interface uci_ReadToFile to add the command “prtscn:bmp;”, it can save bitmap to disk file.
Write Random Wave File
Name of command | Command parameter | Type of command parameter |
---|---|---|
WARB | None | None |
Name of attribute | Meaning | IO |
--- | --- | --- |
CH | Number of channel | W |
Mode | Loading mode | W |
-
Example:
“WARB@CH:0@MODE:0;” Loading wave file as carrier wave form into to CH1 -
Note:
use the interface uci_WriteFromFileto to write random wave file, timeout set to 1000.
Appendix
Parameter address
Numerical value unit:
- Frequency unit : μHz, 1mHz° set value 1*1000;
- Voltage unit : μV
- Time unit : ns(ns、μs、ms、s), for example 1s return value is 1*1000^3
- Degree unit :0.01°,phase set to 90°,return value is 90 * 100
- Percent unit 0.01% ,for example duty cycle, return value= input value *100
Keyboard Locked Status Mark Bits
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>