Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-Device: Last Write and Last Read End Sequence

Hi,
How can configure NI-Device to support Last Read On EOS or EOI ?
Also how to configure Last Write EOI, EOS and EOS&EOI ?

What is the default sequence mode in NI-Device?

Thank you
0 Kudos
Message 1 of 3
(3,316 Views)
Hello,

You option will be to use the end of line character (\n) not EOS EOI. Your second question on sequence mode is not very clear to me, could you elaborate?
0 Kudos
Message 2 of 3
(3,316 Views)
Alain,

NI-Device is not built on top of NI-488.2 The options available for terminating a transfer are different. NI-488.2 allows you to terminate a read on either EOI or an arbitrary EOS character. Since IEEE 488.2 instruments do not consider an arbitrary EOS character a valid termination, neither does NI-Device. NI-Device allows you to terminate a read on either EOI (which is always handled for you) or on the NewLine (\n) EOS character (an option when you invoke the method EnableInputQueue).

When sending responses, NI-488.2 allows you to terminate an "ibwrt" with or without EOI (ibeot). NI-488.2 also allows you to automatically transmit the EOI at various times in the middle of a write if it detects an EOS character match. NI-488.2 may assert EOI mu
ltiple times during a single ibwrt transfer. NI-Device does not perform any automatic character matching for you. It does allow you to transmit the data with or without the EOI signal (option in QueueResponseMessage). If you wish to terminate a transfer based on a particular EOS character, you should parse through your data and only send the portions of the data up to and including the EOS character.
Message 3 of 3
(3,316 Views)