Write/Read |
Description |
Set and read the specified DC source’s ON/OFF state in the multi-dimensional sweep. |
VB Syntax |
md.DCState (name,port) = value |
Variable |
(Type) - Description |
md |
A MultiDimensionalSweep (object) which belongs to a SA channel. |
name,port |
(string) Name of the "DC source, port" |
value |
(Boolean) Choose from: 0 - OFF -Disable the specified DC source in multi-dimensional sweep. 1 - ON - Enable the specified DC source in multi-dimensional sweep. |
Return Type |
Boolean |
Default |
0 |
Examples |
md.DCState ("AO1") = OFF 'Write |
value = md.DCState("MyDCSource,Port 1") 'Read |
|
C++ Syntax |
HRESULT put_DCState (BSTR name, VARIANT_BOOL value); HRESULT get_DCState (BSTR name, VARIANT_BOOL* value); |
Interface |
IMultiDimensionalSweep |