QUOTE (Mark Yedinak @ Feb 19 2009, 10:45 PM)
Basically, I’m using Agilent 8720 ES, S-parameters network analyser. I used this device to display the electromagnetic field effect graph. The graph is display on the analyser display; I have display the same graph on my VI. So, I’m using only one marker (which is the X-axis value or frequency) and take the amplitude reading (which is Y-axis value) around 10 values. I have to move that marker along the real graph on the analyser and take several maker reading (10 values). The marker values are the amplitude values(Y-axis values)on the graph.
The result is coming in an array format and I need break it out to get the values. For an example the frequency range is between 1GHZ to 10GHZ, and I want measure the amplitude for every 1GHZ gap (10 values). I have to manually increase the frequency by 1GHZ in the analyser and read the amplitude value from the analyser.
The problem is, the analyser gives the values for all those 10 measurement amplitude together by one array value. So I want break the array by using index array, after that I have break the each values into different pieces (Because in each of the 10 measurement result value from the analyser have 3 output values, but I’m only going to use 1st value only) and then convert into numbers and then again convert back to one dimension array as an y-axis input value for the graph.
Now I’m having the problem with the breaking array from the analyser by using index analyser. That’s why I used for loop to break the array one by one and use the value separately after that.
I have selected “Make current values default” for the main VI and attached the sub VI with this post. I’m using this sub VI from “McLennan Motion Control”. Do you know any other simple method to do this without using those sub VIs?
Can you please help me with this? Thank you very much for your help.
Regards
Jim