This manual explains the use of commands to remotely control the LVDS Video
plug-in application.
You can install the LVDS Video plug-in either in the SourceXpress software
application or in an AWG5200 Series Arbitrary Waveform Generator.
Using a single VISA or raw socket session, it is possible to communicate the
plug-in with both SourceXpress programmatic interface and AWG5200 Series
instruments.
For information on the Remote Control, GPIB Parameters, LAN Parameters,
Connecting to the Instrument using GPIB, and Setting up GPIB Communication,
refer to the AWG5200 Series Arbitrary Waveform Generators ProgrammerManual.
LVDS Video Signal Plug-in Programmer manual 1
Getting started
2 LVDS Video Signal Plug-in Programmer manual
Syntax and commands
Command syntax
For information on the Syntax Overview, Command and Query Structure,
Clearing the Instrument, Command Entry, Parameter Types, SCPI Commands
and Queries, refer to the AWG5200 Series Arbitrary Waveform GeneratorsProgrammer Manual.
Parameter types
Every parameter in the command and query descriptions is of a specified type.
The parameters are enclosed in brackets, such as <value>. The parameter type is
listed after the parameter and is enclosed in parentheses, for example, (boolean).
Some parameter types are defined specifically for the RSA Series command set
and some are defined by ANSI/IEEE 488.2-1987 as defined in the table below.
Parameter typeDescriptionExample
arbitrary block
booleanBoolean numbers or valuesON or 1; OFF or 0
binaryBinary numbers#B0110
octalOctal numbers#Q57, #Q3
hexadecimal
NR11 numericIntegers0, 1, 15, -1
1 2
NR2
numericDecimal numbers1.2, 3.141516, -6.5
NR31 numericFloating point numbers3.1415E-9, -16.1E5
NRf1 numericFlexible decimal number that
3
string
1
A specified length of arbitrary
data
#512234xxxxx . . . where
5 indicates that the following
5 digits (12234) specify the
length of the data in bytes;
xxxxx ... indicates the data
1
Hexadecimal numbers
#HAA, #H1
(0-9, A, B, C, D, E, F)
See NR1, NR2, and NR3
may be type NR1, NR2 or NR3
Alphanumeric characters (must
examples
"Testing 1, 2, 3"
be within quotation marks)
1
Defined in ANSI/IEEE 488.2 as "Definite Length Arbitrary Block Response Data."
2
Some commands and queries will accept an octal or hexadecimal value even though the parameter type is defined as NR1.
3
Defined in ANSI/IEEE 488.2 as "String Response Data."
LVDS Video Signal Plug-in Programmer manual 3
Syntax and commands
Command groups
Control commands
Table 1: Control commands and their descriptions
CommandDescription
LVS:FILE on page 13Sets or queries the bit map image path.
LVS:FRATe on page 13Sets or queries the frame rate value.
LVS:HRESolution on page 14Sets or queries the horizontal resolution value.
LVS:PCLock on page 16Queries the pixel clock value.
LVS:RESet on page 16Resets the LVDS video plugin by setting all the controls to its
default values/state.
LVS:VRESolution on page 17Sets or queries the vertical resolution value.
Compile commands
Table 2: Compile commands and their descriptions
CommandDescription
LVS:COMPile on page 7Compiles and generates a waveforms, based on the LVDS video
plugin setup.
LVS:COMPile:CANCel on
page 7
LVS:COMPile:CASSign on
page 7
LVS:COMPile:CHANnel on
page 8
LVS:COMPile:ENABle on
page 8
LVS:COMPile:NAME on
page 8
LVS:COMPile:OSAMpling on
page 9
LVS:COMPile:OUTPut on
page 9
LVS:COMPile:OVERwrite on
page 9
LVS:COMPile:PLAY on
page 10
LVS:COMPile:SRATe on
page 10
LVS:COMPile:SRATe:AUTO on
page 11
Cancels the compilation.
Sets or queries the type of compilation.
Sets or queries the channel number.
Sets or queries the data lanes.
Sets or queries the name of the waveform.
Sets the oversampling rate which is used to determine the
sampling rate of the compiled signal.
Sets or queries the output value.
Sets or queries the overwrite existing waveforms/sequences
state (enabled or disabled) while compiling.
Sets or queries the Play after assign setting.
Sets or queries the sampling rate in compile settings.
Sets or queries the sampling rate auto calculation status.
4 LVDS Video Signal Plug-in Programmer manual
Syntax and commands
Encoding commands
Table 3: Encoding commands and their descriptions
CommandDescription
LVS:ENCoding:CBITs on
page 12
LVS:ENCoding:CMODe on
page 12
LVS:ENCoding:TYPE on
page 13
Sets or queries the values of encoding color bits.
Sets or queries the value of compatibility mode.
Sets or queries the encoding type.
Voltage characteristics
commands
Table 4: Pulse setup commands and their descriptions
CommandDescription
LVS:VOLTage:HIGH on
page 19
LVS:VOLTage:LOW on
page 19
Sets or queries the value of high voltage.
Sets or queries the value of low voltage.
Horizontal (pixel)
commands
Table 5: Horizontal (pixel) commands and their description
CommandDescription
LVS:HORizontal:ACTive on
page 14
LVS:HORizontal:ALOW on
page 14
LVS:HORizontal:BLANking:BP
ORch on page 15
LVS:HORizontal:BLANking:FP
ORch on page 15
LVS:HORizontal:PERiod on
page 15
LVS:HORizontal:SYNC on
page 16
Queries the horizontal active value.
Sets or queries the status of horizontal active low checkbox.
Sets or queries the horizontal blanking back porch value.
Sets or queries the horizontal blanking front porch value.
Queries the horizontal period value.
Sets or queries the horizontal synchronization value.
LVDS Video Signal Plug-in Programmer manual 5
Syntax and commands
Vertical (lines) commands
Table 6: Vertical (lines) command and their description
CommandDescription
LVS:VERTical:ACTive on
page 17
LVS:VERTical:ALOW on
page 17
LVS:VERTical:BLANking:BPOR
ch on page 18
LVS:HORizontal:BLANking:FP
ORch on page 15
LVS:VERTical:PERiod on
page 18
LVS:VERTical:SYNC on
page 19
Queries the vertical active value.
Sets or queries the status of vertical active low checkbox.
Sets or queries the vertical blanking back porch value.
Sets or queries the vertical blanking front porch value.
Queries the vertical period value.
Sets or queries the vertical synchronization value.
Export image data
commands
Table 7: Export image data commands and their description
CommandsDescription
LVS:EXPort:ENABle on
page 11
LVS:EXPort:FILE on page 11Sets or queries the path file name used to save the exported
Sets or queries the status of export check box.
image data into a text file.
6 LVDS Video Signal Plug-in Programmer manual
Commands in alphabetical order
This section contains all the available commands which are represented in
alphabetical order.
Use the Command Groups section to simplify navigating to specific groups of
commands.
Syntax and commands
LVS:COMPile
LVS:COMPile:CANCel
This command compiles and generates a waveform, based on the LVDS video
plugin setup.
This is an overlapping command.
Syntax. LVS:COMPile
Group. Compile
Arguments. NA
Returns. NA
Example. LVS:COMPile, compiles the waveform based on the LVDS video
plugin settings.
This command cancels the compilation.
Syntax. LVS:COMPile:CANCel
Group. Compile
Arguments. NA
Returns. NA
Example. LVS:COMPile:CANCel, cancels the current compilation in progress.
LVS:COMPile:CASSign
LVDS Video Signal Plug-in Programmer manual 7
This command sets or queries the type of compilation.
Syntax. LVS:COMPile:CASSign {0 | 1}
LVS:COMPile:CASSign?
Group. Compile
Arguments. 0 or OFF compiles the waveform.
1 or ON compiles and assign the waveform to a channel.
Returns. A single <Boolean> value.
Example. LVS:COMPile:CASSign 1, compile and assign the function.
LVS:COMPile:CASSign? might return 0, which indicates the compilation of
waveform.
Example. LVS:COMPile:OUTPut "Clock", Marker 3, sets the output to Marker 3.
LVS:COMPile:OUTPut? "DL3", might return Analog, which indicates the output
value is analog.
This command sets or queries the overwrite existing waveforms/sequences state
(enabled or disabled) while compiling. When enabled, new waveforms/sequences
overwrite existing waveforms/sequences of the same name. When disabled, new
waveforms are generated with an additional numeric suffix added at the end of
each name.
Syntax. LVS:COMPile:OVERwrite{0 | 1 | ON | OFF}
LVS:COMPile:OVERwrite?
Group. Compile
Arguments. ON or 1 enables overwriting waveforms/sequences state.
OFF or 0 disables overwriting waveforms/sequences state.