beautypg.com

A.10 custom keyboard and display menus – Campbell Scientific CR3000 Micrologger User Manual

Page 510

background image

Appendix A. CRBasic Programming Instructions

510 

 

 

VoiceBeg, EndVoice 
Marks the beginning and ending of voice code executed when the CR3000 
detects a ring from a voice modem. 

Syntax 

VoiceBeg

[voice code to be executed]

EndVoice

VoiceHangup 
Hangs up the voice modem. 

Syntax 

VoiceHangup

VoiceKey 
Recognizes the return of characters 1 ‐ 9, *, or #. VoiceKey is often used to add a 
delay, which provides time for the message to be spoken, in a 
VoiceBegin/EndVoice sequence. 

Syntax 

VoiceKey(TimeOut*IDH_Popup_VoiceKey_Timeout)

VoiceNumber 
Returns one or more numbers (1 ‐ 9) terminated by the # or * key. 

Syntax 

VoiceNumber(TimeOut*IDH_POPUP_VoiceKey_Timeout)

VoicePhrases 
Provides a list of phrases for VoiceSpeak()

Syntax 

VoicePhrases(PhraseArray, Phrases)

VoiceSetup 
Controls the hang‐up of the COM310 voice modem. 

Syntax 

VoiceSetup(HangUpKey, ExitSubKey, ContinueKey, SecsOnLine,

UseTimeout, CallOut)

VoiceSpeak 
Defines the voice string that should be spoken by the voice modem. 

Syntax 

VoiceSpeak("String" + Variable + "String"…, Precision)

A.10 Custom Keyboard and Display Menus

Read More! More information concerning use of the keyboard is found in
sections Using the Keyboard Display

(p. 404)

and Read More! To implement

custom menus, see CRBasic Editor Help for the DisplayMenu() instruction.

CRBasic programming in the CR3000 facilitates creation of custom menus for the
integrated keyboard / display.