10-17-2007 09:27 PM
10-18-2007 09:51 AM
You seem to be asking a couple different questions. First, does the command work? I mean, does the screen change to reflect what you want?
Second, you are doing a read but you haven't issued any command to the instrument to send any data. You would need to issue a query (i.e. something with a '?' at the end.
Third, you mention a screen capture but you are not issuing any command that tells the instrument to perform such an operation. That's a command you will have to look up and then find the command to transfer it to the pc.
Fourth, when you finally do issue a query and do a read, you will have to convert the string returned into numeric data before it can be displayed on a graph.
Fifth, a LabVIEW graph will not correctly display a polar plot. You will probably have to use the picture indicator to display this. Look at the shipping examples. Do a search for 'polar'. You may be able to do a normal trace on the instrument, fetch that, and display the data in LabVIEW without setting up the instrument to do it. I suspect this will be faster than setting up the instrument, doing a capture, transfering the capture, and then converting the capture to be displayed in LabVIEW.
I can't help much more beyond this. I don't have the instrument (or even the manual) to experiment with.
10-23-2007 11:30 AM
You seem to be asking a couple different questions. First, does the command work? I mean, does the screen change to reflect what you want?
(The command really work.)
Second, you are doing a read but you haven't issued any command to the instrument to send any data. You would need to issue a query (i.e. something with a '?' at the end.
(I have already configured the command"DISPlay:EEVM CONStln" to the VISA write. Do you mean i still need to issue the command to Visa Read before get the expected graph?)
Third, you mention a screen capture but you are not issuing any command that tells the instrument to perform such an operation. That's a command you will have to look up and then find the command to transfer it to the pc.
(I already issue the command"DISPlay:EEVM CONStln" command to perform the command and also configure the measurment before display the screen.I was a bit lost.What kind of command you think i need to put it into? Because i think the sequence is clear:configure the measurment-->conduct the measurement-->capture and display the result.)
Fourth, when you finally do issue a query and do a read, you will have to convert the string returned into numeric data before it can be displayed on a graph.
(Yes ,I'll remember this rule to get the graph.)
Fifth, a LabVIEW graph will not correctly display a polar plot. You will probably have to use the picture indicator to display this. Look at the shipping examples. Do a search for 'polar'. You may be able to do a normal trace on the instrument, fetch that, and display the data in LabVIEW without setting up the instrument to do it. I suspect this will be faster than setting up the instrument, doing a capture, transfering the capture, and then converting the capture to be displayed in LabVIEW.
(All i want is to capture the whole measurment screen, Do you think it make sense?Maybe i do not care whether it's a polar plot or other kind of graph.)
Thanks a lot for your replay and patience.
Evan
10-23-2007 11:57 AM
10-28-2007 12:19 AM
Hi ,
Thanks for your explanation. Still have some focus~~~
A. You menitoned if i used the querry instead of complete commmand, I can get the expected result from buffer .If I understand correct , the sequence could be like this:issue a command such as SETUp:VOLTs DC--->issue a querry :SETUp ?-->Read data in the buffer.
B. Where can get the instrument control tutorials in your sites?
BR,
Evan
10-29-2007 12:04 AM
10-29-2007 09:07 AM
If the command does not end with a '?', it is not a query.
Check out http://zone.ni.com/devzone/cda/tut/p/id/4359
and from Agilent - http://adn.tm.agilent.com/index.cgi?CONTENT_ID=1821
10-30-2007 02:07 AM
10-30-2007 09:56 AM
10-30-2007 08:45 PM
Thanks Dennies,
So now I am understand the querry functionalilty. The next problem is if the command does not capture the screen , how can i realize it ? I want to capture the Constlen graph of the EVM test on the GUI , how can i do it? I refer to the Agilent PSA series driver ,which made by NI, but it still does not work. Do you have similar source code share with me?
I use the instrument :E4406(Vector singal analyzer) for measurement. I enclosed the instrument manual for your referrence.Thanks.
(I'm sorry i have to compress the manual and change the extension as txt because of your website policy, Cloud you please change back to .rar and go through the manul?)
BR,
Evan