Data

SCPI Commands :

[SOURce<HW>]:BB:DM:DLISt:DATA
[SOURce<HW>]:BB:DM:DLISt:DATA:APPend
class DataCls[source]

Data commands group definition. 2 total commands, 0 Subgroups, 2 group commands

get(start: Optional[int] = None, count: Optional[int] = None) List[str][source]
# SCPI: [SOURce<HW>]:BB:DM:DLISt:DATA
value: List[str] = driver.source.bb.dm.dlist.data.get(start = 1, count = 1)

The Setting command sends the bit data to the selected data list. Any existing content in the list is overwritten. This command only writes data into the data section of the file. Data can be sent as block data in binary or packet format (FORMat ASCii | PACKed) , each byte being interpreted as 8 data bits. When binary data transmission is in use, use the command SYSTem:COMMunicate:GPIB:LTERminator EOI to set the termination character mode to ‘EOI control data message only’ so that a random LF in the data sequence is not interpreted as End, thereby prematurely terminating the data transmission. The command …LTER STAN resets the mode. According to the specifications, the byte sequence is defined as ‘most significant byte first’. The query reads out the data part of the list file. If the query is expanded by using the two parameters <Start> and <Count>, the list is read out in smaller sections. Without the parameters the total length is always read out starting from address 1. *RST has no effect on data lists.

param start

integer Range: 1 to 2147483647

param count

integer Range: 1 to 2147483647

return

data: integer bit data

set(data: List[str]) None[source]
# SCPI: [SOURce<HW>]:BB:DM:DLISt:DATA
driver.source.bb.dm.dlist.data.set(data = ['rawAbc1', 'rawAbc2', 'rawAbc3'])

The Setting command sends the bit data to the selected data list. Any existing content in the list is overwritten. This command only writes data into the data section of the file. Data can be sent as block data in binary or packet format (FORMat ASCii | PACKed) , each byte being interpreted as 8 data bits. When binary data transmission is in use, use the command SYSTem:COMMunicate:GPIB:LTERminator EOI to set the termination character mode to ‘EOI control data message only’ so that a random LF in the data sequence is not interpreted as End, thereby prematurely terminating the data transmission. The command …LTER STAN resets the mode. According to the specifications, the byte sequence is defined as ‘most significant byte first’. The query reads out the data part of the list file. If the query is expanded by using the two parameters <Start> and <Count>, the list is read out in smaller sections. Without the parameters the total length is always read out starting from address 1. *RST has no effect on data lists.

param data

integer bit data

set_append(bits: List[str]) None[source]
# SCPI: [SOURce<HW>]:BB:DM:DLISt:DATA:APPend
driver.source.bb.dm.dlist.data.set_append(bits = ['rawAbc1', 'rawAbc2', 'rawAbc3'])

Appends the bit data onto the end of the existing data in the selected data list. Existing content in the data list is not overwritten. Hence, you can create long data lists piecemeal. The command cannot be used with an empty data list, like for example data lists that has just been created. Use the command [:SOURce<hw>]:BB:DM:DLISt:DATA first and enter modulation data in the list. *RST has no effect on data lists.

param bits

0 | 1 {,0 | 1 } | block data