![Tektronix OM4006D Скачать руководство пользователя страница 197](http://html1.mh-extra.com/html/tektronix/om4006d/om4006d_user-manual_1078070197.webp)
Appendix G: The automated test equipment (ATE) interface
Dim processingDone As ManualResetEvent = New
ManualResetEvent(false)
' this event handler will register the “BER” variable
' for update at the end of a block, connect to a scope
' and do a single acquisition
Private Sub Form1_Load(ByVal sender As System.Object,
ByVal e As System.EventArgs)
Handles MyBase.Load
My4006ATEClient.RegisterForBlockUpate(“BER”)
My4006ATEClient.Connect(TCPIP0::172.17.200.111::
inst0::INSTR”)
My4006ATEClient.Single()
processingDone.WaitOne(30000)
' wait for the event to trigger
' put code here to make use of the variables
' that are populated in the event handler
' before issuing more singles.
End sub
' callback that executes at the end of each block.
' process all variables that have been registered
' in this method.
' Values returned from the Get methods outside of
' this method will potentially be corrupt.
Private Sub EndOfBlockEvent(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles MyOM4006ATEClient.BlockVariablesPopulated
totalBits =
MyOM4006ATEClient.GetDouble("BER.TotalBits")
totalBitsUI =
MyOM4006ATEClient.GetDouble("BER.TotalBitsUI")
processingDone.Set()
' signals main thread; event handled
End Sub
End Class
Object oriented method for
getting MATLAB variable
values
The OM4006ATEClient comes with specialized classes for accessing all of the
MATLAB variables that are created by OM4000 instrument software. They are
developed from a base set of MATLABVariable* classes. The following is an
example code block that references the OM4006 Client, allocates a new object,
registers the BER variable for the block update, connects to a scope, acquires a
single block and saves it to a local variable.
OM4000D Series Coherent Lightwave Signal Analyzer
173
Содержание OM4006D
Страница 1: ...xx OM4106D and OM4006D Coherent Lightwave Signal Analyzer ZZZ User Manual P071316002 071 3160 02...
Страница 2: ......
Страница 6: ......
Страница 22: ...Compliance information xvi OM4000D Series Coherent Lightwave Signal Analyzer...
Страница 24: ...Preface xviii OM4000D Series Coherent Lightwave Signal Analyzer...
Страница 100: ...Taking measurements 76 OM4000D Series Coherent Lightwave Signal Analyzer...
Страница 132: ...Appendix A MATLAB variables used by core processing 108 OM4000D Series Coherent Lightwave Signal Analyzer...
Страница 146: ...Appendix D Automatic receiver deskew 122 OM4000D Series Coherent Lightwave Signal Analyzer...
Страница 176: ...Appendix F Configuring two Tektronix 70000 series oscilloscopes 152 OM4000D Series Coherent Lightwave Signal Analyzer...
Страница 202: ...Appendix H Cleaning and maintenance 178 OM4000D Series Coherent Lightwave Signal Analyzer...
Страница 205: ...Index W Waveform averaging 48 OM4000D Series Coherent Lightwave Signal Analyzer 181...