05-09-2011 06:34 PM
Chris,
My PC and equipment have same IP sub-net,etc, only last section of IP address not same. So it looks not the IP settings.
Thanks
Xin
05-10-2011 05:16 PM
Hi Xin,
Sorry, it's taking a little longer than I thought to get a response from R&D on that error code. I haven't forgotten about you though!
Have a great day,
Chris
05-11-2011 02:04 PM
Hi Xin,
So that error -1073707339 is not a valid VISA error. Could you have mistyped it?
If the error is actually -1073807339 then it is a timeout error. Again, I would think this is occuring because your device is not sending out any data.
Have a great day,
Chris
05-11-2011 02:10 PM
Chris,
Thanks.
When I ran VBA code with NI-VISA, it looks the equipment didn't send back anything because my feedback variable is empty. The confusion thing is that I use OpenChoice from Tektronix to search any connected device, I can see the equipment IP address and its feedback" 100 connection accpted".
Anyway, it looks not only VISA issue. I will continue work on it.
Xin
05-17-2011 06:41 PM
Chris
as you said, VNA should return something for my viRead. So I need to add one line
viWrite(xxxx, "*IDN?", xx, xxx) before I do viRead. Now connection is very easy.
Thanks
Xin