Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Keysight 82357B can't use NI_VISA runtime

     I use Rohde & Schwarz FSEA30 and Keysight  82357B USBGPIB converter. Now there are a few questions

    1, My VISA program can't connection instrument. when use NI_VISA runtime. but use Keysight  IO library it can work.

    2,vireadtofile just only read 4096  bytes.

         I try set readbuf of VISA,

       status = viSetBuf(vi, VI_READ_BUF, 4096) 
       status = viSetBuf(vi, VI_WRITE_BUF, 4096) 

       status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)

        but the result still is “#572676淄茪” 

0 Kudos
Message 1 of 3
(2,802 Views)

status = viSetBuf(vi, VI_READ_BUF, 72676) 
status = viSetBuf(vi, VI_WRITE_BUF, 72676) 

the result still is “#572676淄茪”

why?

0 Kudos
Message 2 of 3
(2,797 Views)

Where are you trying to connect to your instrument? In NI-MAX?

 

What version of NI-VISA Runtime are you using?

0 Kudos
Message 3 of 3
(2,751 Views)