03-10-2017 01:00 PM
Hi Folks,
I am pretty new in LabVIEW programming so I would like a help from you.
I need to automatize a measurement using the Microwave analyzer N9915A. It is necessary just to set some parameters and do a acquisiton of a trace. My setup: Keysight N9915A connected via micro usb cable + LV2016.
I do not have problems using write functions, but when I try to get the data (using VISA READ block) it happens an error. The instrument says "Error: -420, query UNTERMINATED" and the VI shows timeout error: "Error -1073807339 occurred at VISA Read". Using the Open VISA Test Panel, write and read functions work properly.
Could somenoe help me with this problem? Is there some details I am forgetting regarding to configurations?
03-12-2017 11:25 AM
I'd suggest to check the following:
But overall, also compare settings what you set up from the VI, and settings what you have in NI MAX test panel. If from NI MAX communication is working, then replicate settings from it to your VI.
Hopefully, it'll help...
03-13-2017 07:00 AM
Hi kosist90,
About the number of bytes to read, it is set correctly. I am trying to receive from N9915A the data set smaller than 1024 bytes. My reading buffer is set more than that. About the termination character, I have tried different characters, but no sucess. Currently I am using the "line feed".
Something that I'd like to share: Yesterday while using VISA test panel from NI MAX, I observed that it does not matter which termination character I set, the read function always works.
I keep to test other communication configurations, but still with no success ...
Wellington