142 Programming
Chapter
4
SR865A DSP Lock-in Amplifier
STREAMPCKT?
Returns the streaming packet size i
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
Sets the ethernet streaming port to port 12345
STREAMPORT?
Returns the streaming port i
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).
Bit
Weight
Definition
0
1
Use little-endian
1
2
Use data integrity checking
Example
STREAMOPTION 1
Send data in little-endian format, with no integrity checking
STREAMOPTION 3
Send data in little-endian format, with integrity checking
STREAM(?) { OFF | ON | i }
The
STREAM i
command turns ethernet data streaming off (i=0) or on (i=1). ). To enable
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
Turn ethernet streaming on
STREAM ON
Summary of Contents for SR865A
Page 5: ...Safety and Preparation For Use iii SR865A DSP Lock in Amplifier...
Page 6: ...iv Safety and Preparation For Use SR865A DSP Lock in Amplifier...
Page 54: ...36 Getting Started Chapter 1 SR865A DSP Lock in Amplifier...
Page 118: ......
Page 172: ......
Page 186: ...168 The FFT Display Appendix B SR865A DSP Lock in Amplifier...
Page 192: ......