Hi,
GPIB is really nothing more than a bus for conveying text messages back and forth. A very simple way to simulate this interaction would be to create a subroutine called simgpib() that is essentially a large case structure. Write all the commands that your instrument supports into the cases, and return a string with the expected results.
Hope this helps out,
Aaron K.
Application Engineer
National Instruments