TuneTest

  1. Start the platform using runRI.sh -tunetest -setup found in $PLATFORMROOT.
  2. Once the xlet is running and has performed its default tune, press '3' to begin automatic tuning through the other channels.
  3. Ensure that all services are selected properly by observing the banner. For successful tunes, the Freq/ProgNum/QAM triplet will be displayed.

NOTE: I have seen the tune test fail to select a service occasionally. For now, this is not affecting our CTP tests. For your smoke-testing purposes, just ensure that each of the four services is properly tuned at least once.

Manually Configure TuneTest

To manually configure the RI to run Tune Test (because, for instance, you are using a packaged (binary) version of the RI) perform the steps below:

  1. Copy C:\CableLabs\tru2way\<release identifier>\ocap-ri\ricommon\resources\tunedata\hostapp.properties to C:\CableLabs\tru2way\<release identifier>\ocap-ri\ocap\bin\CableLabs\simulator\Win32\debug\env\hostapp.properties.
  2. Copy C:\CableLabs\tru2way\<release identifier>\ocap-ri\ricommon\resources\tunedata\config.properties to C:\CableLabs\tru2way\<release identifier>\ocap-ri\ocap\bin\CableLabs\simulator\Win32\debug\env\qa\xlet\config.properties.
  3. Double click (run) the runRI.bat dos script located at: C:\CableLabs\tru2way\<release identifier>\ocap-ri\runRI.bat.
Note:  The file paths specified above are for the binary installation.  The files paths for the full installation are $RICOMMONROOT/resources/tunedata and $OCAPROOT/bin/$OCAPTC/env, respectively.

The configuration file looks like this:

use_javatv_channel_map=false
min_delay=10000
max_delay=10000

# Freq=447MHz  QAM=64  ProgramNum=1  SourceID=0x45A
gen_channel_freq_0=447000000
gen_channel_program_number_0=1
gen_channel_qam_0=8

# Freq=489MHz  QAM=256  ProgramNum=2  SourceID=0x44C
gen_channel_freq_1=489000000
gen_channel_program_number_1=2
gen_channel_qam_1=16

# Freq=651MHz  QAM=256  ProgramNum=3  SourceID=0x5E9
gen_channel_freq_2=651000000
gen_channel_program_number_2=3
gen_channel_qam_2=16

# Freq=699MHz  QAM=256  ProgramNum=4  SourceID=0x6E4
gen_channel_freq_3=699000000
gen_channel_program_number_3=4
gen_channel_qam_3=16

A successful initial tune looks like this:

A failed tune looks like this:

  • No labels