03-30-2007 02:41 AM - edited 03-30-2007 02:41 AM
Message Edited by NoAngel on 03-30-2007 05:47 PM
04-01-2007 02:04 AM - edited 04-01-2007 02:04 AM
I performed additional testing...
When open GPIB from PC then power OFF then power on there are 2 cases:
1) Last write to GPIB operation was Reading data from GPIB (for example command, that requires reply from device "RF?" -> "900.00;"). In that case all works OK when turning on power again without reopening GPIB by calling ibdev... NRFD is low.
2) Last write to GPIB operation was Writing data from GPIB (for example command, that not requires reply from device "RF 900" -> <no reply>). In that case NRFD becomes high after write operation, then turn OFF, ON power, and it's still high even after TNT4882 hardware (and software) reset (that performed during executing InitGPIB() )! So after powering ON in that case any command, sent to GPIB, becoming
Message Edited by NoAngel on 04-01-2007 05:08 PM
Message Edited by NoAngel on 04-01-2007 05:12 PM
04-01-2007 02:17 AM
So any write or read operation after power ON causes ENOL(2). After sending that command NRFD becomes =0(low) (why?). Then, next commands are OK. But If after power off I disconnect GPIB cable from device, then wait 5 seconds, then connect it again, it works immediately after power ON (why?..).
I cannot understand reason of such operation. Please if You have any ideas about it, send it to me. Thanks.
04-02-2007 10:25 AM
04-03-2007 06:45 PM
04-03-2007 08:25 PM - edited 04-03-2007 08:25 PM
Message Edited by NoAngel on 04-04-2007 11:29 AM