Tektronix VM700T Programmer's Manual

Category
Software
Type
Programmer's Manual
Programmer Manual
VM700T Video Measurement Set
RS-232 Interface
070-9650-02
Programmer Manual
VM700T Video Measurement Set
RS-232 Interface
070-9650-02
Copyright Tektronix, Inc. All rights reserved. Licensed software products are owned by Tektronix or its suppliers and
are protected by United States copyright laws and international treaty provisions.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the
Rights in Technical Data and Computer Software clause at DFARS 252.227-7013, or subparagraphs (c)(1) and (2) of the
Commercial Computer Software – Restricted Rights clause at FAR 52.227-19, as applicable.
Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes
that in all previously published material. Specifications and price change privileges reserved.
Printed in the U.S.A.
Tektronix, Inc., P.O. Box 1000, Wilsonville, OR 97070–1000
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
VM700T RS-232 Interface Programmer Manual
i
Table of Contents
Preface ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Getting Started
Getting Started 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Related Programs 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting the PC and the VM700T 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VM700T Remote Commands
VM700T Remote Commands 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Summary 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Remote Control and Playback Commands 2–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
appset 2–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
appstart 2–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
cancelcopy 2–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
cknob 2–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
computer 2–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
control 2–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
controlbreak 2–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
delay 2–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
disptext 2–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
execute 2–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
exit 2–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
filesin 2–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
get 2–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
getclock 2–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
getresults 2–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
hardkey 2–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
hardpress 2–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
hardrelease 2–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
knob 2–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
loop 2–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
playback 2–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
print 2–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
query 2–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
quit 2–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
remote 2–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rename 2–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
res 2–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
resoff 2–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
reson 2–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
restoreconfig 2–23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
return 2–23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rgoff 2–23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rgon 2–24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
set 2–24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
setclock 2–24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents
ii
VM700T RS-232 Interface Programmer Manual
show 2–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
softkey 2–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
softpress 2–26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
softrelease 2–26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
spool 2–26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
stop 2–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
terminal 2–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
touchpress 2–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
touchrelease 2–28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
? and ?! Constructs 2–28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Naming Conventions 2–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Button Names 2–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Major-Mode Applications 2–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Measure-Mode Applications 2–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Soft Key and Function Names 2–31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Select Line Soft Keys 2–32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Option 1S Soft Keys 2–35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status and Events
Status and Events 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Input Error Messages 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Feedback Messages 3–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Examples
Simple Remote Control 4–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Starting a Terminal Session 4–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Executing Measurements 4–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Getting Measurement Results 4–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Printing Files 4–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Function Playback 4–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading/Setting Configuration Parameters 4–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration Files 4–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration Keywords 4–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Getting Configuration Parameters 4–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Configuration Parameters 4–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Restoring Configuration Parameters 4–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Getting the System Clock Time 4–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the System Clock Time 4–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ending a Terminal Session 4–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transferring Files (SLIP Mode Only) 4–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Putting the VM700T into SLIP Mode 4–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Starting ftp 4–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using ftp 4–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Computer-Based Remote Control 4–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming Languages 4–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communications Libraries 4–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communicating with the VM700T 4–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terminal versus Computer Mode 4–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VM700T Responses 4–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Structure of a VM700T Program 4–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents
VM700T RS-232 Interface Programmer Manual
iii
Sample Program: SHELL.BAS 4–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Program Overview 4–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preliminaries 4–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Establishing Communication 4–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Main Program Loop 4–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Program Listing 4–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Function GetPrompt 4–29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Function PutCmd 4–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Function ReadError 4–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Function ReadString 4–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sub VMError 4–31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Monitoring Auto-Mode Operation and Modem Control 4–33. . . . . . . . . .
Monitoring Auto-Mode Operation 4–33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Monitoring Auto-Mode Operation Without Remote Control 4–33. . . . . . . . . . . .
Monitoring Auto-Mode Operation With Remote Control 4–33. . . . . . . . . . . . . .
Consecutive Errors Parameter 4–34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modem Control 4–35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Control Command 4–35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The ? and ?! Constructs 4–36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A “Generic” Modem Control Function 4–36. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functions 4–39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Function Keys Directory 4–39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating Functions 4–40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Learn Mode 4–41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Editing Functions 4–42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adding Comments to a Function 4–43. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Annotating a Function 4–43. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Speeding Up or Slowing Down a Function 4–44. . . . . . . . . . . . . . . . . . . . . . . . .
Function Playback 4–44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Function Playback from the Front Panel 4–44. . . . . . . . . . . . . . . . . . . . . . . . . . .
Function Playback from Remote Operation 4–45. . . . . . . . . . . . . . . . . . . . . . . . .
Function Playback on Power Up 4–46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Subdirectories 4–46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating Subdirectories 4–46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Traversing the Directory Hierarchy 4–47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Deleting Functions and Subdirectories 4–47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Renaming Functions and Subdirectories 4–48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Printing Function Contents 4–48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendices
Appendix A: Get/Set Keywords A–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“A” Group: Audio Configuration A–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“B” Group: Audio Limit Files A–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“C” Group: Configuration File A–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“D” Group: Configuration File A–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“E” Group: Component Configuration (NTSC) A–22. . . . . . . . . . . . . . . . . . . . . . . . .
“F” Group: Component Configuration (PAL) A–32. . . . . . . . . . . . . . . . . . . . . . . . . . .
“G” Group: Remote Configuration A–42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“H” Group: Echo/Rounding Configuration (NTSC) A–47. . . . . . . . . . . . . . . . . . . . . .
“I” Group: Echo/Rounding Configuration (PAL) A–48. . . . . . . . . . . . . . . . . . . . . . . .
“J” Group: Teletext Configuration (NTSC) A–49. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents
iv
VM700T RS-232 Interface Programmer Manual
“K” Group: Teletext Configuration (PAL) A–55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“L” Group: Measurement Locations (PAL) A–64. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“M” Group: Measurement Locations (NTSC) A–66. . . . . . . . . . . . . . . . . . . . . . . . . . .
“N” Group: Video Wander Configuration (NTSC) A–68. . . . . . . . . . . . . . . . . . . . . . .
“O” Group: Video Wander Configuration (PAL) A–69. . . . . . . . . . . . . . . . . . . . . . . . .
“P” Group: Auto Mode Limits (PAL) A–70. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“R” Group: Auto Mode Limits (NTSC) A–73. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“S” Group: Communication Setup A–76. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“T” Group: Measure Mode Limits (PAL) A–82. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“U” Group: Measure Mode Limits (NTSC) A–86. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“V” Group: Video Source Selection A–90. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“W” Group: Audio Source Selection A–92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“X” Group: Camera Testing (NTSC) A–93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“Y” Group: Camera Testing (PAL) A–96. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Option 1S Get/Set Keywords A–99. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix B: Measurement Result Files B–1. . . . . . . . . . . . . . . . . . . . . . . .
NTSC/PAL Results Files B–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Option 1G (Echo/Rounding) Results Files B–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Option 1S (Serial Digital) Results Files B–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Option 20 (Teletext) Results Files B–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Option 21 (Camera Testing) Results Files B–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Option 22 (Video Wander) Results File B–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Option 30 (Component) Results Files B–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Options 40 and 41 (Audio) Results Files B–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index
Table of Contents
VM700T RS-232 Interface Programmer Manual
v
List of Figures
Figure 1–1: VM700T rear panel 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–1: Function Keys menu 4–39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–2: VM700T on-screen keyboard 4–40. . . . . . . . . . . . . . . . . . . . . .
Figure 4–3: Learn Mode menu 4–41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–4: Function editing menu 4–42. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–5: Function Keys directory hierarchy 4–47. . . . . . . . . . . . . . . . . .
Figure A–1: Source Selection Digital configuration file relationship
to remote commands A–99. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure A–2: Digital Source Files configuration file relationship
to remote commands A–103. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure A–3: Eye Limits configuration file relationship
to remote commands A–105. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure A–4: Wander Limits configuration file relationship
to remote commands A–108. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure A–5: Format Setup configuration file relationship
to remote commands, part 1 A–112. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure A–6: Format Setup configuration file relationship
to remote commands, part 2 A–113. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure A–7: Digital Audio Setup configuration file relationship
to remote commands A–118. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents
vi
VM700T RS-232 Interface Programmer Manual
List of Tables
Table 1–1: Signals used by VM700T RS-232C ports 1–3. . . . . . . . . . . . .
Table 1–2: VM700T 9-pin to PC 9-pin null modem cable 1–4. . . . . . . . .
Table 1–3: VM700T 9-pin to PC 25-pin null modem cable 1–4. . . . . . . .
Table 1–4: VM700T 9-pin to modem 9-pin cable 1–4. . . . . . . . . . . . . . . .
Table 1–5: VM700T 9-pin to modem 25-pin cable 1–5. . . . . . . . . . . . . . .
Table 2–1: VM700T commands 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–2: Applications available in functions and
remote control 2–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–3: Front panel button names 2–12. . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–4: Encoding scheme for res command results 2–20. . . . . . . . . . . .
Table 2–5: Select Line soft key names 2–34. . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–6: Option 1S soft key names 2–35. . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–7: Option 1S Format Monitor measurement cell names 2–35. . .
Table 3–1: Command input errors 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–2: Messages 3–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 4–1: Sample program listing 4–22. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table A–1: “A” keywords: Audio Configuration A–1. . . . . . . . . . . . . . . .
Table A–2: “B” keywords: Audio Limit Files A–5. . . . . . . . . . . . . . . . . . .
Table A–3: “C” keywords: Configuration File (PAL) A–16. . . . . . . . . . . . .
Table A–4: “D” keywords: Configuration File (NTSC) A–19. . . . . . . . . . .
Table A–5: “E” keywords: Component Configuration (NTSC) A–22. . . .
Table A–6: “F” keywords: Component Configuration (PAL) A–32. . . . . .
Table A–7: “G” keywords: Remote Configuration A–42. . . . . . . . . . . . . . .
Table A–8: Option 1S “G” keywords: Remote Configuration A–43. . . . . .
Table A–9: “H” keywords: Echo/Rounding Configuration (NTSC) A–47.
Table A–10: “I” keywords: Echo/Rounding Configuration (PAL) A–48. .
Table A–11: “J” keywords: Teletext Configuration (NTSC) A–49. . . . . . .
Table A–12: “K” keywords: Teletext Configuration (PAL) A–55. . . . . . . .
Table A–13: “L” keywords: Measurement Locations (PAL) A–64. . . . . . .
Table A–14: “M” keywords: Measurement Locations (NTSC) A–66. . . . .
Table A–15: “N” keywords: Video Wander Limits (NTSC) A–68. . . . . . . .
Table A–16: “O” keywords: Video Wander Limits (PAL) A–69. . . . . . . . .
Table A–17: “P” keywords: Auto Mode Limits (PAL) A–70. . . . . . . . . . . .
Table A–18: “R” keywords: Auto Mode Limits (NTSC) A–73. . . . . . . . . .
Table A–19: “S” keywords: Communication Setup A–76. . . . . . . . . . . . . .
Table A–20: “T” keywords: Measure Mode Limits (PAL) A–83. . . . . . . . .
Table A–21: “U” keywords: Measure Mode Limits (NTSC) A–86. . . . . . .
Table of Contents
VM700T RS-232 Interface Programmer Manual
vii
Table A–22: “V” keywords: Video Source Selection A–90. . . . . . . . . . . . . .
Table A–23: “W” keywords: Audio Source Selection A–92. . . . . . . . . . . . .
Table A–24: “X” keywords: Camera Testing (NTSC) A–93. . . . . . . . . . . .
Table A–25: “Y” keywords: Camera Testing (PAL) A–96. . . . . . . . . . . . . .
Table A–26: “d” keywords: Source Selection Digital
configuration file A–100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table A–27: “m” keywords: 270Mb 525-Line Digital Source Files
configuration file A–103. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table A–28: “o” keywords: 270Mb 525-Line Eye Limits
configuration file A–105. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table A–29: “p” keywords: 270Mb 525-Line Wander Limits
configuration file A–108. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table A–30: “n” keywords: 270Mb 525-Line Format Setup
configuration file, part 1 A–109. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table A–31: “n” keywords: 270Mb 525-Line Format Setup
configuration file, part 2 A–114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table A–32: “a” keywords: Digital Audio Setup configuration file A–118.
Table A–33: Option 1S “G” keywords: Remote configuration A–120. . . . .
Table A–34: Analog “G” keywords: Remote configuration A–120. . . . . . . .
Table B–1: NTSC/PAL measurements B–1. . . . . . . . . . . . . . . . . . . . . . . . .
Table B–2: Echo/Rounding (Option 1G) measurements B–1. . . . . . . . . .
Table B–3: Serial Digital (Option 1S) measurements B–2. . . . . . . . . . . . .
Table B–4: Teletext (Option 20) measurements B–2. . . . . . . . . . . . . . . . . .
Table B–5: Camera Testing (Option 21) measurements B–2. . . . . . . . . . .
Table B–6: Video Wander (Option 22) measurement B–2. . . . . . . . . . . . .
Table B–7: Component (Option 30) measurements B–2. . . . . . . . . . . . . .
Table B–8: Audio (Option 40 and 41) measurements B–2. . . . . . . . . . . . .
Table of Contents
viii
VM700T RS-232 Interface Programmer Manual
VM700T RS-232 Interface Programmer Manual
ix
Preface
This manual describes the VM700T Video Measurement Set programming
capabilities for the RS–232C interface. The manual is organized as follows:
Getting Started provides a brief introduction to the remote control features of the
VM700T, lists some related software that may prove useful for the remote
control task, and tells you how to connect a PC and the VM700T Video
Measurement Set to allow them to talk to each other.
VM700T Commands first provides a table summarizing the remote control
commands. Then each command is discussed in detail giving the syntax form of
the command, the descriptive form of the command, and an explanation of what
the command does. One or more examples of how the command is used is also
provided in this part of the discussion.
Status Events lists the error and warning messages produced by function
playback and remote operation.
Examples tells you how to write programs to control the VM700T without
human intervention. A sample program that reads a file of VM700T commands,
executes them, and logs both commands and data to a file is included. (A
computer, not just a terminal, is required to perform the operations described in
this section.) Included in this section is a discussion of using a modem to
monitor the operation of the VM700T, and a discussion of how to create and
playback functions.
Appendix A: GET/SET Keywords, lists and describes the keywords that can be
used with the VM700 family get and set commands.
Appendix B: Getting Measurement Results, shows the format of the results files
produced by each VM700T measurement.
Preface
x
VM700T RS-232 Interface Programmer Manual
Getting Started
VM700T RS-232 Interface Programmer Manual
1–1
Getting Started
With its various modes and measurements available in a single instrument, the
VM700T Video Measurement Set is a great tool for enhancing measurement
productivity. Learning to use the VM700T programming capability can make it
even more productive.
For instance, by defining a function on the VM700T, you can make it execute
repetitive sequences of commands, either from the front panel or under computer
control.
By connecting the VM700T to a terminal, an IBM PC, or a PC-compatible
computer, you can perform any operation available from the front panel, and
more. Additional capabilities include logging the commands sent to and the data
returned by the VM700T, and branching to different parts of a program based
upon earlier results.
Related Programs
Tektronix sells the following programs for use with the VM700T (all require an
IBM PC or compatible computer):
VMT: The VMT program facilitates communication between PC-compatible
computers and VM700/VM700A/VM700T Video Measurement Sets. It
features a menu-driven interface for common operations, as well as extra
commands to add decision making and conditional branching capabilities.
VMBKUP: This program package actually consists of three programs,
VMFTP, VMTERM, and VMBACKIT, that transfer files between the
VM700T and an IBM PC or compatible. VMFTP transfers one file at a time,
using the familiar FTP protocol. VMTERM is a terminal emulator program
that you can use to control the VM700A/VM700T remotely. VMBACKIT
transfers several files at a time, and is useful primarily for backing up file
sets from the VM700A/VM700T onto a PC.
VMREMGR: The VMREMGR program displays VM700A/VM700T
graphics on a VGA screen. Note: The VM700T also has a direct VGA output
to provide this feature.
See your Tektronix representative for information about any of these programs.
Getting Started
1–2
VM700T RS-232 Interface Programmer Manual
Connecting the PC and the VM700T
This section discusses the wiring necessary to connect the VM700T to a
computer, terminal, or modem. Successful communication also requires correct
settings for Communications Setup file parameters. Setting the Communications
Setup file parameters is discussed in Simple Remote Control beginning on
page 4–1.
The rear panel of the VM700T features three video loop-through inputs, one
external sync loop-through, two RS-232C DTE ports (Port 0 and Port 1), a
parallel printer port, and a remote-control (contact-closure) connector, labeled
“Alarm” (Figure 1–1). The Option 48 instruments also have a GPIB connector.
Operation of the GPIB interface for remote control is discussed in the Option 48
GPIB Interface Programmer Manual.
Alarm
connector
VGA
output
RS-232 ports
Parallel
printer port
Fan exhaust
Port 0Port 1
Figure 1–1: VM700T rear panel
RS-232C Connections. The two RS-232C DTE ports of the VM700T (Port 0 and
Port 1) are used to output graphics and reports to a printer, as well as for remote
operation via a modem or direct serial connection. Both connectors are located
on the CPU I/O board and are accessible on the rear panel. Both are 9-pin male
“D” connectors.
Table 1–1 lists the input and output signals used by the RS-232C ports.
Getting Started
VM700T RS-232 Interface Programmer Manual
1–3
Table 1–1: Signals used by VM700T RS-232C ports
Pin Signal Notes
1 DCD (Data Carrier
Detect)
Required for modem connections only. This signal typically
comes from a modem and indicates that a phone connection is
made.
2 RD (Receive Data) The VM700T receives data on this pin.
3 TD (Transmit Data) The VM700T transmits data on this pin.
4 DTR (Data Terminal
Ready)
Required for modem connections only. This pin is always high
when the VM700T is turned on. When DTR is asserted, the
modem knows it is connected to a “live” PC/terminal.
5 SG (Signal Ground)
7 RTS (Request to
Send data to the
VM700T)
With hardware flow control (CTS/RTS selected), normally RTS
connects to the CTS line of a terminal, and the line is active
when the VM700T is ready to receive data. When the receive
buffers of the VM700T are nearing capacity, RTS goes inactive,
indicating to the sending device to stop transmitting data.
With software flow control set to XON/XOFF or with None
selected, RTS is always active.
8 CTS (Clear to
Send)
With Flow Control (CTS/RTS selected), the VM700T is enabled
to transmit data by a high level on pin 8, and is disabled by a
low level. It is normally connected to the RTS line of a terminal.
With Flow Control (None or XON/XOFF selected), the VM700T
transmits data regardless of the CTS level.
The pin numbers given for the Terminal (DTE) are the most common locations
for the corresponding signals. Note that there is considerable deviation from this
“common” configuration and that not all devices use control lines in the manner
described under this topic. Refer to the instruction manual of the equipment you
are connecting to the VM700T to determine exactly how it should be connected.
Note also that both ends of the DTE to DTE cable are typically female connec-
tors. The DTE to DCE cable is female on the VM700T (DTE) end, and typically
male on the modem (DCE) end.
Table 1–2 shows the pin configuration for a cable connecting the 9-pin connector
of the VM700T to a 9-pin connector on a PC or terminal.
Getting Started
1–4
VM700T RS-232 Interface Programmer Manual
Table 1–2: VM700T 9-pin to PC 9-pin null modem cable
VM700T cable end (9-pin female) PC cable end (9-pin female)
3 – Transmit Data (TD) 2 – Receive Data (RD)
2 – Receive Data (RD) 3 – Transmit Data (TD)
5 – Signal Ground (SG) 5 – Signal Ground (SG)
8 – Clear to Send (CTS) 7 – Request to Send (RTS)
7 – Request to Send (RTS) 8 – Clear to Send (CTS)
Table 1–3 shows the pin configuration for a cable connecting the 9-pin male
connector of the VM700T to a 25-pin connector on a PC or terminal.
Table 1–3: VM700T 9-pin to PC 25-pin null modem cable
VM700T cable end (9-pin female) PC cable end (25-pin female)
2 (RD) 2 – Transmit Data (TD)
3 (TD) 3 – Receive Data (RD)
5 (SG) 7 – Signal Ground (SG)
7 (RTS) 5 – Clear to Send (CTS)
8 (CTS) 4 – Request to Send (RTS)
Table 1–4 shows the pin configuration for a cable connecting the 9-pin connector
of the VM700T to a 9-pin connector on a modem.
Table 1–4: VM700T 9-pin to modem 9-pin cable
VM700T cable end (9-pin female) Modem cable end (9-pin male)
1 (DCD) 1 – Data Carrier Detect (DCD)
2 (RD) 2 – Transmit Data (TD)
3 (TD) 3 – Receive Data (RD)
4 (DTR) 4 – Data Terminal Ready (DTR)
5 (SG) 5 – Signal Ground (SG)
7 (RTS) 7 – Request to Send (RTS)
8 (CTS) 8 – Clear to Send (CTS)
Getting Started
VM700T RS-232 Interface Programmer Manual
1–5
Table 1–5 show the pin configuration for a cable connecting the 9-pin connector
of the VM700T to a 25-pin connector on a modem.
Table 1–5: VM700T 9-pin to modem 25-pin cable
VM700T cable end (9-pin female) Modem cable end (25-pin male)
Shield (ground) 1 – Frame Ground (FG)
3 (TD) 2 – Transmit Data (TD)
2 (RD) 3 – Receive Data (RD)
7 (RTS) 4 – Request to Send (RTS)
8 (CTS) 5 – Clear to Send (CTS)
5 (GND) 7 – Signal Ground (SG)
1 (DCD) 8 – Data Carrier Detect (DCD)
4 (DTR) 20 – Data Terminal Ready (DTR)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277

Tektronix VM700T Programmer's Manual

Category
Software
Type
Programmer's Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI