10-09-2013 10:52 AM
Dear Jeff,
Thanks a lot. Yes it was indeed the problem with remote and local mode. I have added a GPIB GTL (Go To Local) command at the end of my program and it works fine. I was new to this forum and did not know how to start a new discussion that is why I added my question here. In future I will be using the new post option. Thanks for your suggestion though.
With best regards
Chaithanya
10-09-2013 11:03 AM
GTL ( Go To Local) will drop the REN (Remote ENable) line. Sounds like a good solution.
10-09-2013 07:21 PM
Hi,everyone,
Who knows my question about GPIB communication timing problem ? I test it in another way by calling GPIB commands directly (NI gpib library). loop 100 cycles to write commands and monitor it by NI SPY tool. and find sometimes the write command will take 16ms but not for each write command. but when I call keithley IVI-COM driver initialize function which I also monitor it by NI SPY tool, and find that almost all of write commands takes 16ms. what's the problem?
By the way, I suspect that it is related with program build enviromment. the reason:
1. I have ever written a test program which has been built from VC++ .NET 2002, and it works well. no abnormal timing problem. at that time, I have not installed VC++ .NET 2010 in my pc. and even at this time, I run it very well in the same PC and same Keithley meter and GPIB card.
2. But there is problem with all of those test programs I created in VC++.NET 2010 , even in VC++.NET 2002 (even for keithley example program) after I install .NET 2010 framework.
I have ever checked the difference between item 1 test program and item2 all test programs, no difference for initialization. Does something IVI-COM driver have difference for different VC++.NET framework ?
Anyone can give me answers?
10-09-2013 07:34 PM
capture log file when directly calling GPIB commands.
10-09-2013 07:37 PM
Keithley_Capture_err.spy : keithely example codes initialize command (SimpleSourceMeasure.exe) capture log,abnormal timing
TLB203_Capture_init.spy : my test program works well which I mentioned in item1.