:SENSe:FREQuency:DATA
Description
Gets the measurement frequencies.
Important
You need to perform a measurement first. Otherwise no measurement frequency values are calculated. If you have NOT performed a measurement before calling this query runs into a timout and a Query
error is added to the Error Event Queue.
Syntax | Response | possible Errors |
---|---|---|
:SENSe<ch>:FREQuency:DATA? |
<numeric >,<numeric >, ..., <numeric > |
Settings conflict |
Parameters | accepted format | description |
---|---|---|
<ch > |
{ 1 | empty } |
Currently only one channel is supported. Empty means 1 is used as default. |
Response value | description |
---|---|
<numeric >,<numeric >, ... <numeric > |
list of measurement frequencies separated by a , (the amount of elements is equal to the number of points set by :SENSe:SWEep:POINts) |
Sample usage
Configure and start a S21
measurement.
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":SENS:FREQ:STAR 5kHz;STOP 50kHz\n"); visaSession.RawIO.Write(":CALC:PAR:DEF S21\n"); visaSession.RawIO.Write(":TRIG:SING\n"); // wait for the measurement to finish visaSession.RawIO.Write("*OPC?\n"); visaSession.RawIO.ReadString(); visaSession.RawIO.Write(":SENS:FREQ:DATA?\n"); var frequencyValues = visaSession.RawIO.ReadString(); visaSession.RawIO.Write(":CALC:DATA:SDAT?\n"); var measurementValues = visaSession.RawIO.ReadString();
Related commands
Related commands in the Automation Interface
MeasurementFrequencies (Gain)
MeasurementFrequencies (Impedance)
MeasurementFrequencies (Reflection)
MeasurementFrequencies (Gain)
MeasurementFrequencies (OnePort)
MeasurementFrequencies (S11)
MeasurementFrequencies (S21)
MeasurementFrequencies (SeriesThru)
MeasurementFrequencies (ShuntThru)