Hi
I'm using the example in Calling NI-488.2 Functions Directly in Excel to read data from an instruments internal memory (Keithley 6517B) directly to an Excel sheet. But no matter how much memory I preallocate for the data I can't get more than 2160 bytes of data. I've tried both Excel 2003 and 2010 with the same results.
Snippet:
sBuffer = Space$(65536) ' string buffer may have to be larger
Call ibrd(udDevice, sBuffer) 'read response and store in sBuffer
Also, the NI-488.2 Communicator tool in MAX seems to have a similar limitation in that it doesn't read more than 2000 bytes (ibcntl: 2000).
When I use the exact same command string (":trace:data?") in LabView all 3240 bytes available in the instruments memory is received without any problems.
I wanted to use Excel since it's such a simple application and my LabView license doesn't include the LabView builder.
Any suggestions on how to solve this?
Regards,
Jocke