01-30-2018 07:33 AM
Hello everyone, I am new on this forum and new to LabView using a GPIB communication.
First of all, my application is to control a VNA using a GPIB communication. Until now everything is fine thanks to the RSZVB driver that I found on the NI download center. I can measure S parameters, do calibration and more... however there is something that I can't success to do : a hardcopy.
Indeed, I would like to make a hardcopy of the VNA's screen then store this copy in a file (BMP or JPEG) to finally send it to the master (computer).
This can be achieved with the vi "Print to file" and "Read File From Instrument" but when I'm using the "print to file" there is no errors but there is not file created or modified on the VNA memory. I looked on other possible directories or in the default directory, there is still nothing (even when I create by myself the file, it stays unchanged).
Of course I do the necessary before asking a print, initialising the VNA and seting the VNA display active.
Concerning the "Read File From Instrument" it's working perfectly.
Is there anyone familiar with this driver and especially this VI (Print To File) please ?
Thanks in advance for your help.
01-31-2018 12:51 AM
I'am not familiar with that specific driver. But there is is one thing, you can do:
Find out which commands the driver is sending to the instrument. Either by reading the drivers source code . Or by running the NI IO-Trace/ NI-Spy tool. And check these commands with the instruments programming documentation.
Then you can decide if either the driver isn't doing the right thing or the driver VI doesn't meet your expetations or the instrument doesn't work as documented.
02-05-2018 09:15 AM
Thanks for your answer.
Indeed I tried to compare the final string with the datasheet from my VNA and It appears that there is no mistake. Every part of the string is composed of a correct command assiociated with the wanted operation.
I will try to find out the problem making my own VI sending the commands one by one.
I will keep you informed, thanks for your help.