Stanford Research Systems SR865 Operation Manual page 160

2 mhz dsp lock-in amplifier
Table of Contents

Advertisement

142
Programming
STREAMPCKT?
STREAMPORT(?) { i }
The STREAMPORT i command sets the ethernet streaming to stream to port i, where i is
between 1024 and 65535 inclusive. The port should be free and not used by another
application on the receiving computer. By default, the port is 1865.
Example
STREAMPORT 12345
STREAMPORT?
STREAMOPTION(?) { i }
The STREAMOPTION i command sets certain advanced features of ethernet streaming.
Setting bit 0 true sends data in little-endian format, while setting bit 0 false sends data in
big-endian format. Setting bit 1 true enables data integrity checking, while setting bit 1
false disables data integrity checking. By default, data is sent in big-endian format with
integrity checking (i=2).
Example
STREAMOPTION 1
STREAMOPTION 3
STREAM(?) { OFF | ON | i }
The
STREAM i
streaming, the command must be sent over VXI-11 from the receiving computer. This
determines the IP address that the data is sent to.
Example
STREAM 1
STREAM ON
SR865 DSP Lock-in Amplifier
Returns the streaming packet size i
Sets the ethernet streaming port to port 12345
Returns the streaming port i
Bit
Weight
Definition
0
1
Use little-endian
1
2
Use data integrity checking
Send data in little-endian format, with no integrity checking
Send data in little-endian format, with integrity checking
command turns ethernet data streaming off (i=0) or on (i=1). ). To enable
Turn ethernet streaming on
Chapter 4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents