Showing results for 
Search instead for 
Did you mean: 

How to access markers from traces in VNA through LabView Coading

Go to solution

Hi Folks!!


I am working on a project which includes the interfacing of the agilent pna x 5242 with LabView through GPIB port. Most of the helping material and codes are available but i am stuck on a marker accessing problem.


I successfully created the markers on the two different traces, each separate trace placed on seprate window but on same channel. I was able to place my desired markers on my desired X-axis frequecy point, as i required the corresponding Y-axis value. 


but actual problem is that i am reading these markers from another VI. that VI is working perfectly but because of the fllow of the program i am able to read only the last generated trace markers and i was not able to read the markers of 1st trace.


picture 1 shows the traces and markers generation


picture 2 shows the marker placement


picture 3 shows the marker reading VI.



error which i VNA shows is "Uninterupted Query"







here are attached few parts of my codes ....






Download All
0 Kudos
Message 1 of 7
Accepted by topic author T@bi
The images are confusing. What is the top level VI? The first image does not have any outputs at all. Where are you calling the subVI in the third image?

You don't have uninterrupted queries. You get an interrupted query when you issue a command before the result of another command query it's read.
0 Kudos
Message 2 of 7

here are the sub VIs, for your kind review

Download All
0 Kudos
Message 3 of 7

marker reading VI

0 Kudos
Message 4 of 7
Since you marked your question as solved, why attach the VIs?
0 Kudos
Message 5 of 7

sorry i marked that mistakenly 😛
but i need a review and your kind suggestions

0 Kudos
Message 6 of 7
Why don't you first answer my questions?
0 Kudos
Message 7 of 7