NI-programming tutor http://www.ni.com/tutorial/4478/zhs/ manual https://documentation.help/NI-VISA/ExampleMessageBasedComm.html#Example and example http://ena.support.keysight.com/e5071c/manuals/webhelp/eng/programming/vba_programming/controlling_peripherals/programming_with_visa.htm