Configurable Switch Matrix: Difference between revisions

From RadiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
[[Image:Screenshot configurable switch matrix configuration window.png]]
[[Image:Screenshot configurable switch matrix configuration window.png]]


For all text field applies: when a text field is left empty, no command is being send at that time.
For all text fields the following applies: when a text field is left empty, no command is sent at that time.


{{ScreenElementDescription|Device Driver|
{{ScreenElementDescription|Device Driver|
{{ScreenElementDescription|Reset|Text field to specify the reset command. The command is send to the device during the test initialization.}}
{{ScreenElementDescription|Reset|Text field to specify the reset command. The command is sent to the device during the test initialization.}}
{{ScreenElementDescription|Init|Text field to specify the initialize command. The command is send to the device during the test initialization.}}
{{ScreenElementDescription|Init|Text field to specify the initialize command. The command is sent to the device during the test initialization.}}
{{ScreenElementDescription|Get ID|Text field to specify the *IDN? query. The command is send to the device during the device check.}}
{{ScreenElementDescription|Get ID|Text field to specify the *IDN? query. The command is sent to the device during the device check.}}
{{ScreenElementDescription|Returned ID|Text field to specify the expected respond to have the Get ID compared with. The string is used during the device check in case a query is specified.}}
{{ScreenElementDescription|Returned ID|Text field to specify the expected respond to have the Get ID compared with. The string is used during the device check in case a query is specified.}}
{{ScreenElementDescription|Deinit|Text field to specify the deinitialize command. The command is send to the device during the test deinitialization.}}
{{ScreenElementDescription|Deinit|Text field to specify the deinitialize command. The command is sent to the device during the test deinitialization.}}
}}
}}


{{ScreenElementDescription|Operation|
{{ScreenElementDescription|Operation|
{{ScreenElementDescription|During Test|Commands (one per line) send to the device just before starting the test.}}
{{ScreenElementDescription|During Test|Commands (one per line) sent to the device just before starting the test.}}
{{ScreenElementDescription|After Test|Commands (one per line) send to the device after finishing the test.}}
{{ScreenElementDescription|After Test|Commands (one per line) sent to the device after finishing the test.}}
{{ScreenElementDescription|After sending perform a read and discard result|When selected the driver will perform a read after sending the command. Some device need to be read out before  
{{ScreenElementDescription|After sending perform a read and discard result|When selected the driver will perform a read after sending the command. Some devices need to be read out before  
sending the next command.}}
sending the next command.}}
}}
}}


{{ScreenElementDescription|Operation Complete|
{{ScreenElementDescription|Operation Complete|
{{ScreenElementDescription|Wait for Operation Completion after sending command(s)|This will append the *OPC? to the commands being send.}}
{{ScreenElementDescription|Wait for Operation Completion after sending command(s)|This will append the *OPC? to the commands being sent.}}
}}
}}


[[Image:Configurable_switch_matrix_configuration_window_custom2.png]]
[[Image:Configurable_switch_matrix_configuration_window_custom2.png]]


The following fields can be specified to send commands at each event. In several of the commands a keyword can be specified, which will be replaced by the actual value.
The following fields can be specified to sent commands at each event. In several of the commands a keyword can be specified, which will be replaced by the actual value.
{{ScreenElementDescription|Test|
{{ScreenElementDescription|Test|
{{ScreenElementDescription|Test started|}}
{{ScreenElementDescription|Test started|}}
Line 58: Line 58:
[[Image:Configurable_switch_matrix_configuration_window_custom3.png]]
[[Image:Configurable_switch_matrix_configuration_window_custom3.png]]


The following fields can be specified to send commands at each event. Depending on the event, the keyword __result__ can be used and is replaced by a value. For example: "My forward power is __result__dBm" will be replaced by: "My forward power is -3.15dBm".
The following fields can be specified to sent commands at each event. Depending on the event, the keyword __result__ can be used and is replaced by a value. For example: "My forward power is __result__dBm" will be replaced by: "My forward power is -3.15dBm".


{{ScreenElementDescription|Measurements|
{{ScreenElementDescription|Measurements|
Line 71: Line 71:
[[Image:Configurable_switch_matrix_configuration_window_custom4.png]]
[[Image:Configurable_switch_matrix_configuration_window_custom4.png]]


The following fields can be specified to send commands at each event.  
The following fields can be specified to sent commands at each event.  


{{ScreenElementDescription|Antenna Tower|
{{ScreenElementDescription|Antenna Tower|
Line 137: Line 137:
| __radian__ || the angle where the turntable is turning to expressed in radians
| __radian__ || the angle where the turntable is turning to expressed in radians
|}
|}
Some remarks should be taken into account with these keywords:
Please note the following regarding these keywords:
* the keywords are case sensitive,  
* the keywords are case sensitive,  
* the latest known value at that moment will be used,
* the latest known value at that moment will be used,

Latest revision as of 10:52, 4 November 2025

The Configurable Switch Matrix device driver is a Switch Matrix which is supported by RadiMation®.  

This switch matrix device driver can be used to control relays with RadiMation®, even if no specific device driver is yet available for those relays. See RadiMation Application Note 167: Controlling a custom relay via the Configurable Switch Matrix driver for a simple example of how this device driver can be used.

GPIB DeviceStream Configuration.png

On the Communication tab, the desired communication method can be selected and configured. Depending on the selected method, additional relevant settings are shown and can be configured.

ScreenElementDescription.svg Communication Streams Selects the medium or method that should be used to communicate with the device. Depending on the capabilities of the device this can be one or more of:

Depending on the selected communication stream, additional configuration parameters can be configured. See the Communication Settings in Chapter 15, on how to configure each of these communication streams.


Screenshot configurable switch matrix configuration window.png

For all text fields the following applies: when a text field is left empty, no command is sent at that time.

ScreenElementDescription.svg Device Driver
ScreenElementDescription.svg Reset Text field to specify the reset command. The command is sent to the device during the test initialization.
ScreenElementDescription.svg Init Text field to specify the initialize command. The command is sent to the device during the test initialization.
ScreenElementDescription.svg Get ID Text field to specify the *IDN? query. The command is sent to the device during the device check.
ScreenElementDescription.svg Returned ID Text field to specify the expected respond to have the Get ID compared with. The string is used during the device check in case a query is specified.
ScreenElementDescription.svg Deinit Text field to specify the deinitialize command. The command is sent to the device during the test deinitialization.
ScreenElementDescription.svg Operation
ScreenElementDescription.svg During Test Commands (one per line) sent to the device just before starting the test.
ScreenElementDescription.svg After Test Commands (one per line) sent to the device after finishing the test.
ScreenElementDescription.svg After sending perform a read and discard result When selected the driver will perform a read after sending the command. Some devices need to be read out before

sending the next command.

ScreenElementDescription.svg Operation Complete
ScreenElementDescription.svg Wait for Operation Completion after sending command(s) This will append the *OPC? to the commands being sent.

Configurable switch matrix configuration window custom2.png

The following fields can be specified to sent commands at each event. In several of the commands a keyword can be specified, which will be replaced by the actual value.

ScreenElementDescription.svg Test
ScreenElementDescription.svg Test started
ScreenElementDescription.svg Test stopped
ScreenElementDescription.svg Signal
ScreenElementDescription.svg Frequency changed Keyword __freq__ will be replaced by the frequency in MHz.
ScreenElementDescription.svg Carrier Level changed Keyword __carrier__, will be replaced by the carrier level in dBm.
ScreenElementDescription.svg Dwell-time
ScreenElementDescription.svg Dwell-time started
ScreenElementDescription.svg Dwell-time stopped
ScreenElementDescription.svg Modulation
ScreenElementDescription.svg Modulation on
ScreenElementDescription.svg Modulation off


Configurable switch matrix configuration window custom3.png

The following fields can be specified to sent commands at each event. Depending on the event, the keyword __result__ can be used and is replaced by a value. For example: "My forward power is __result__dBm" will be replaced by: "My forward power is -3.15dBm".

ScreenElementDescription.svg Measurements
ScreenElementDescription.svg Before Forward Power
ScreenElementDescription.svg After Forward Power Keyword __result__ will be replaced by measured Forward power in dBm.
ScreenElementDescription.svg Before Reflected Power
ScreenElementDescription.svg After Reflected Power Keyword __result__ will be replaced by measured Reflected power in dBm.
ScreenElementDescription.svg Net Forward Power Keyword __result__ will be replaced by measured Net power in dBm
ScreenElementDescription.svg Field Sensor Keyword __result__ will be replaced by measured Field strength in V/m

Configurable switch matrix configuration window custom4.png

The following fields can be specified to sent commands at each event.

ScreenElementDescription.svg Antenna Tower
ScreenElementDescription.svg Antenna Tower started
ScreenElementDescription.svg Antenna Tower stopped
ScreenElementDescription.svg Antenna Tower changed
ScreenElementDescription.svg Antenna Tower polarization
ScreenElementDescription.svg Turntable
ScreenElementDescription.svg Turntable started
ScreenElementDescription.svg Turntable stopped
ScreenElementDescription.svg Turntable changed

In all of the commands, it is also possible to include a keyword to insert the latest known value of another measurement value. Several keywords are available can be included in these commands. When one of these keywords is detected, it will be replaced by the corresponding value.

keyword inserted value
__freq__ the signal generator frequency expressed in MHz
__freqHz__ the signal generator frequency expressed in Hz
__freqkHz__ the signal generator frequency expressed in kHz
__freqMHz__ the signal generator frequency expressed in MHz
__freqGHz__ the signal generator frequency expressed in GHz
__carrier__ the signal generator carrier level expressed in dBm
__carrierdBm__ the signal generator carrier level expressed in dBm
__carrierW__ the signal generator carrier level expressed in Watt
__carriermW__ the signal generator carrier level expressed in milli-Watt
__forward__ the forward power expressed in dBm
__forwarddBm__ the forward power expressed in dBm
__forwardW__ the forward power expressed in Watt
__forwardmW__ the forward power expressed in milli-Watt
__reflected__ the reflected power expressed in dBm
__reflecteddBm__ the reflected power expressed in dBm
__reflectedW__ the reflected power expressed in Watt
__reflectedmW__ the reflected power expressed in milli-Watt
__height__ the height where the antenna is moving to expressed in metre
__heightm__ the height where the antenna is moving to expressed in metre
__heightcm__ the height where the antenna is moving to expressed in centimetre
__angle__ the angle where the turntable is turning to expressed in degrees
__degree__ the angle where the turntable is turning to expressed in degrees
__radian__ the angle where the turntable is turning to expressed in radians

Please note the following regarding these keywords:

  • the keywords are case sensitive,
  • the latest known value at that moment will be used,
  • if no value is known at all, the keyword will not be replaced, and will remain in the command,
  • the values are transmitted in non-scientific notation, and will use a '.' as a decimal point.