Programming Message Example 1
- Updated2024-03-18
- 1 minute(s) read
Programming Message Example 1
The following line of code is an example of a programming message in NI-VISA:
viWrite (GPIB232, "EOS x,10\r", 9);
The programming message contains the function name, eos. x and 10 are the arguments, and \r is the terminating carriage return. This programming message tells the GPIB-RS232/485/422 to assert the EOI* line when it sends the end-of-string character linefeed. The viWrite is an NI-VISA function call that outputs the string eos x,10\r to the GPIB-RS232/485/422.