04-17-2012 04:33 AM
Hi Balkishore,
I know you are a newby in Python&SCPI but it is important for you, if you want to work with Pyton&SCPI, that you first get familiar with those.
You cannot start talking a language without knowing the vocabulary and the grammar.
On page 113 of the user manual of your non-NI Hardware it says:
The following conventions are used in SCPI command syntax. Triangle
brackets (<>) indicates that you must specify a value for the enclosed
parameter. The square brackets ([]) indicates that the parameter is
optional and can be omitted. The braces ({}) enclose the parameter
choices for a given command string. A vertical bar (|) separates several
choices for a parameter.
The brackets are only there to show you up what kind if parameter you have for your command.
I would highly recommand you to get familiar with Python and SCPI first before you try to communicate with your hardware!
Have a nice day,