Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

PC send SCPI to device no delay, TNT4882 only receive a few SCPI

When PC continuously send SCPI to device and no delay. Device only receive first a few SCPI, then TNT4882 can not produce INT any more. If send Device Clear, then can receive a few, then stop. But if PC send SCPIs with 100ms delay, then can send more.

Device software received ADSC bit and ADSR[2] bit set, enter config listener, In this cofing, reset fifo, send CNT0 and CNT1,write 0x20 to CFG,write 0x10 to IMR1, write 0x4 to IMR3, send GO, wirte 0x3 to AUXMR. After finish config listener, enter receive subroute, judge NEF; if set, read data from fifo, when NEF is 0, exit and judge END bit, if set, send the data to parser.if NEF not set, exit and wait next INT. When succeed in receiving data from fifo(END set),

send STOP, send 0x51, 0x5e,0x55 to AUXMR,then send 0x10 to IMR1, send 0x1 to IMR2, send 0x6 to IMR3. If config listener but NEF not set, not send STOP, not send send 0x51, 0x5e,0x55 to AUXMR, only send 0x10 to IMR1, send 0x1 to IMR2 and send 0x2 to IMR3. I don't where the problem happen.

0 Kudos
Message 1 of 1
(3,949 Views)