Commands

Tango command names are not case-sensitive.

tng_hascmd()
Returns 1, if the device has the command.
* = tng_hascmd( "dev1", "StartMove")

tng_inout()
Executes a command that returns no output.
* = tng_inout( "dev1", "start")

tng_inoutVoidDouble()
Executes a command that returns a double value.
* = tng_inoutVoidDouble( "dev1", "com")

tng_inoutDoubleArrVoid()
Executes a command that requires a double array (can be empty) and returns a void.
* = tng_inoutDoubleArrVoid( "dev1", "com", 1., 2., 3.)
* = tng_inoutDoubleArrVoid( "dffrctmtr", "AddReflection")

tng_inoutVoidLong()
Executes a command that returns a long value.
* = tng_inoutVoidLong( "dev1", "com")

tng_inoutLongArrVoid()
Executes a command that requires a array of longs and returns a void.
* = tng_inoutLongArrVoid( "dffrctmtr", "ComputeU", 0, 1)

tng_inoutLongVoid()
Executes a command that requires a long and returns a void.
* = tng_inoutLongVoid( "marccd", "StopExposure, 0)

tng_inoutVoidULong()
Executes a command that returns a unsigned long value.
* = tng_inoutVoidULong( "dev1", "com")

tng_inoutDoubleDouble()
Executes a command that expects a double argument and returns a double value.
* = tng_inoutDoubleDouble( "tg_test", "DevDouble", 1.2345)

tng_inoutDoubleLong()
Executes a command that expects a double argument and returns a long value.
* = tng_inoutDoubleLong( "dev1", "Calibrate", 2.)

tng_inoutDoubleULong()
Executes a command that expects a double argument and returns a unsigned long value.
* = tng_inoutDoubleULong( "dev1", "com", 0.123)

tng_inoutLongLong()
Executes a command that expects a long argument and returns a long value.
* = tng_inoutLongLong( "mca10", "start", 0)

tng_inoutULongULong()
Executes a command that expects a unsigned long argument and returns a unsigned long value.
* = tng_inoutULongULong( "dev1", "com", 2)

tng_inoutStringDouble()
Executes a command that expects a string argument and returns a double value.
* = tng_inoutStringDouble( "dffrctmtr”, "AffineCrystal", "Cr1")

tng_inoutStringString()
Executes a command that expects a string argument and returns a string.
* = tng_inoutStringString( "exp_mot65”, "WriteRead", "RP?")

tng_inoutStringVoid()
Executes a command that expects a string argument and returns a void.
* = tng_inoutStringVoid( "dffrctmtr”, "AddNewCrystal", "Cr1")

tng_inoutVoidShort()
Executes a command that returns a short.
* = tng_inoutShort( "dffrctmtr", "SomeName")

tng_inoutVoidUShort()
Executes a command that returns an unsigned short.
* = tng_inoutUShort( "dffrctmtr", "GetReflectionSize")

tng_inoutShortVoid()
Executes a command that requires a short and returns void.
* = tng_inoutShortVoid( "dffrctmtr", "RemoveReflection", 0)

tng_inoutUShortVoid()
Executes a command that requires an unsigned short and returns void.
* = tng_inoutUShortVoid( "dffrctmtr", "someCom", val)

tng_inoutShortDoubleArr()
Executes a command that requires a short and returns a double array.
* = tng_inoutShortDoubleArr( "dffrctmtr", "GetReflection", 0)