Data

SCPI Commands :

[SOURce<HW>]:BB:DM:DLISt:DATA
[SOURce<HW>]:BB:DM:DLISt:DATA:APPend
Commands in total: 2
Subgroups: 0
Direct child commands: 2
get(start: int = None, count: int = None) str[source]
# [SOURce<HW>]:BB:DM:DLISt:DATA
value: 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 command 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. The command *RST has no effect on data lists.

Parameters:
  • start – integer Range: 1 to 2147483647

  • count – integer Range: 1 to 2147483647

Returns:

data: integer bit data

set(data: str) None[source]
# [SOURce<HW>]:BB:DM:DLISt:DATA
driver.source.bb.dm.dlist.data.set(data = rawAbc)

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 command 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. The command *RST has no effect on data lists.

Parameters:

data – integer bit data

set_append(bits: str) None[source]
# [SOURce<HW>]:BB:DM:DLISt:DATA:APPend
driver.source.bb.dm.dlist.data.set_append(bits = rawAbc)

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, for example, a data list that has been created. Use the command method RsSmw.source.bb.dm.dlist.data.set() first and enter modulation data in the list. The command *RST has no effect on data lists.

Parameters:

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