Hello,
is it possible to get the following parameters displayed in a Visio drawing?
Also if it's possible to access the description of the preset to show it on a Visio drawing?
Right now I'm displaying only the spectrum thumbnail, marker center and c/n.
Best regards,
Stefan
Hello Stefan,
To get to spectrum general parameter values within the scope of a monitor, you can use spectrum script variables.
- In the spectrum script, add script variables :
- In the spectrum monitor, add parameters based on the spectrum script variables and check the option 'Displayed on element card' :
- In the spectrum element card, an extra page is shown to reflect the monitor parameters
- In the spectrum element visio, a parametercontrol visioshape can be used to visualize the monitor parameter values. Note that a parameter shape will not show the monitor parameter value since this shows a spectrum thumbnail by design.
When I’m executing the script I get the following error: Unkown preset value type: ‘actualsweep’.
Does your spectrum analyzer driver specify param SPA_PARAM_AUTO_SWEEP (ID 64021) with a valid value ?
In case the SPA_PARAM_SWEEPTIME (ID 64015) is set to Auto (value ‘-1’), the SPA_PARAM_AUTO_SWEEP would hold the real sweeptime value.
Likewise for input attenuation : SPA_PARAM_INPUT_ATTEN (ID 64009) = -1 => real value in SPA_PARAM_AUTO_ATTEN (ID 64022)
I'm sorry but I can't get it working but maybe it's because I'm using a "Monitor".
Are these values also available for a "Spectrum Monitor"?
Hi Stefan, can you please provide more details on what you’ve tried but isn’t working, e.g. which shape data you’ve used, etc.
Hi Michiel, I have tried really a lot of possibilities. For example I would like to have parameter 64224. I tried it just with parameter and element and also parametercontrol and element together. First question would be if I need to use the element ID of the spectrum analyzer or the service ID of the monitor. Overall I have a spectrum thumbnail working with two paramtercontrols
Hi Stefan – I completely missed the point that you were asking this question in the context of a specific Spectrum Monitor, my answer was about showing the current value of those general metrics (like RBW and all that). In the context of a Spectrum Monitor this is clearly not going to work (i.e. the settings of the analyzer to capture a trace for a Spectrum Monitor are defined typically by a preset that is loaded at the time a measurement is taken, but alternatively this could also be defined in the script itself). So, unless I’m overlooking a feature but I don’t think so, you will not be able to do that (i.e. show the settings in MS Visio that were used for that specific monitor). Maybe you would be able to devise some sort of a work-around (I can imagine that you could write those values during the execution of the Spectrum Monitor into a data table in a dummy element, and then grab them from there to display those in your Visual Overview graphics – but I’m not sure if you want to take it that far in terms of effort to make this happen).
Hi Ben, thanks for all your help. It would be a small and nice benefit to view those settings. But if we need a workaround we will not proceed with it. Have a nice evening!
You can also embed a full spectrum component in your Visual Overview. You can check the help for this.
Hi Stefan, instead of the thumbnail, you can embed a complete spectrum component, see https://help.dataminer.services/dataminer/#t=DataMinerUserGuide%2Fpart_2%2Fvisio%2FEmbedding_a_Spectrum_Analysis_component.htm
Keep in mind that this is slightly different from the thumbnail, as a thumbnail will display the last known state from a monitor.
If I'm not mistaken these should be available in the same fashion as any other metric on a any managed object in DataMiner, and can be linked to Visual Overview graphics as such. The only special thing about these is that these parameters are referenced by standard IDs (so that they can be identified easily by DataMiner across different spectrum analyzer products from different vendors). These are those standard reference IDs used for spectrum analyzers, and you should be able to use those in your Visual Overview the same way you do for other metrics. DataMiner Development Library
Yes this is working, great! But I can only see rbw and vbw. The values for attenuator and sweep time are empty. Any idea?