05-23-2018 01:13 AM
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淄茪”
05-23-2018 01:32 AM
status = viSetBuf(vi, VI_READ_BUF, 72676)
status = viSetBuf(vi, VI_WRITE_BUF, 72676)
the result still is “#572676淄茪”
why?
05-24-2018 09:09 AM
Where are you trying to connect to your instrument? In NI-MAX?
What version of NI-VISA Runtime are you using?