How do I use meas.getData (naMes Result, DataFormat Smith) made with the instrument shows exactly the same value.
Program is the use of result: = meas.getData (naMeasResult, naDataFormat_Smith);
To obtain the return value of all the frequency points of the TRACE.
Use the getData into the return parameters are exactly the same data can be displayed with the instrument, except naDataFormat_Smith This parameter return data with the naDataFormat_Polar get data back is the same. it is a bug?
Application Code Version : A.09.33.09
No - it is not a bug. Both polar and smith chart formats require both real and imaginary components of the complex data. on the screen if you plot the same S11 parameter for example on a smith chart and a polar plot, the shape of the trace will be exactly the same, but the interpretation of the data is different. On a polar plot you can specify the coordinate of each point as (re, im) or (mag, phase), but in a Smith Chart, the coordinate is (R,jX).
in all the other display formats, the complex (re, im) data is processed to produce a scalar result like phase, or magnitude, so when you use the getData call with one of those formats, you get back an array that is the size of the number of points in your channel and the data is already processed to the specified format. With polar and smith, because we don't know how the user wants to interpret the result, we simply return back the full complex data array, so the result of a getData call with polar or smith is an interleaved array of (re, im) pair values, and the size of the array will be twice the number of points in the channel.
So, How do I use the getData (naMes the Result, the DataFormat Smith,) obtained data, conversion data as shown on the screen, because the data when your program is different from the data on the display screen, the customer will resultStay doubts.
Especially,I need the measurement data obtained in the case of Fixtures = ON.
Ok - let me address this part of your question first:
"...Especially,I need the measurement data obtained in the case of Fixtures = ON."
the first argument in the getData() method is the data store and it specifies at what point in the data processing chain should the data be taken from. So if you want data that has all the corrections, including fixturing, all the smoothing, and any equation math results applied to it, then you need to use the "naMeasResult" value for the first argument. choosing the data store is independent of the data format chosen in the 2nd argument of the getData() method.
now to the first part of the question:
"...How do I use the getData (naMes the Result, the DataFormat Smith,) obtained data, conversion data as shown on the screen, because the data when your program is different from the data on the display screen, the customer will resultStay doubts."
you have to understand how a smith chart works in order to know how to use the data that is returned when you set the 2nd argument of the getData() method to "naDataFormat_Smith". When you ask for naDataFormat_Smith, the method returns the real and imaginary complex pairs of the measurement at each of the frequencies in the channel. that is exactly the data you need to plot on a smith chart. The reason is that a smith chart and polar plot are nothing more than additional graphical data processing applied to a rectilinear complex plane. If you draw the horizontal and vertical axis through the center of the smith chart, then for any given point on the plot, the horizontal coordinate of the point is the real value of the complex pair and the vertical coordinate of the point is the imaginary component of the complex pair. That is why if I plot the same data on a smith chart, on a polar plot and on a simple complex plane, the trace shape will be exactly the same in all 3 cases (see the attached image). So the data that is plotted on the smith chart is just the real/imaginary pairs, but once it is plotted on a smith chart, you can glean additional information like the impedance and reactance of each point. this site has a lot of good references, tutorials and tools related to the Smith Chart.
Thank you for your reply on this part of the problem.
In addition, I want to know is that each point impedance and reactance part of your reply,
All I need is each point of impedance and reactance measured values.
I know that through the real and imaginary, in accordance with the formula to calculate the Z value, but this is not what I need, because customers believe that the results of the instrument, additional unwanted programs on the measurement value computing results. I can only be provided through the manual instructions command to obtain the measured value.
contingent instrument screen can be displayed as shown in 35. ** Ω,242-uH , 6 ** Ω. I should want the same results
can be obtained through the manual instructions command.
data already formatted in terms of impedance and admittance can be obtained using a marker, but unfortunately, there are no commands that will give you a whole trace worth in a command like getData(). using markers, you can set the marker readout format to "naMarkerFormat_ComplexImpedance", using the Measurement.MarkerFormat property. you can then setup a loop that sets the marker position to each data point in the trace and use the Marker.Value() method to get the complext imedance values of each point, or you can compute them yourselves using the complex real/imaginary pairs.
I realize that allowing a function like getData to return complex impedance values would be very helpful, so I have submitted this as a customer requested enhancement to our planning team.
I also tried Marker.Value () method to obtain the data, this method can obtain the impedance Values Yes, but usually a whole the trace data point may greatly exceed the Marker upper limit points, due to customer demand, we can not change the instrument settings to obtain the measured values. If the meas.getData(naMesthe Result the,DataFormat Smith) can be slightly modified, much can facilitate writing for our program.
Thanks again for your reply! If the new amendments, please notify email@example.com
There's very little chance that the code will change in time for your project, especially when the solution is very straight forward.
You have two possibilities: 1) use the equation editor to compute the impedance directly on the trace or
2) read the data and compute the impedance in your program.
Took me 1 minute to create the plots you see in the attached file. You really only need one trace, use the getData.MeasurementResult with format polar and the real part will be the resistance and the imaginary part will be the reactance, or read the format data from the two traces as shown.
1) use the equation editor to compute the impedance directly on the trace or
(X).customer demand, we can not change the instrument settings to obtain the measured values.
(X).Especially,I need the measurement data obtained in the case of Fixtures = ON....
if (Fixtures = ON)=> Z value (50*(1+S11)/(1-S11))
2) read the data and compute the impedance in your program.
(X).Especially,I need the measurement data obtained in the case of Fixtures = ON.
Whenever there are different products, you must modify the program.
... I know that through the real and imaginary, in accordance with the formula to calculate the Z value, but this is not what I need, because customers believe that the results of the instrument, additional unwanted programs on the measurement value computing results....
Unfortunately, the N5230C firmware is now frozen, so there will be no enhancement to that code. You will have to sort this out another way. It would seem reasonable to use the equation editor (which merely reformating the data); perhaps your customer will be reasonable if there is no other choice.