Yep... But:
1) I think the CDS only supports a "Custom" secondary data source, and not a
secondary Tpp etc. Sounds like you're going "custom" here, so no worries.
2) A little word of "caution" about time alignment. The CDS is going to use
the "master" data source's current time value to stamp the secondary
source's data. If absolute perfect time alignment isn't an issue, then we're
good to go here. Sounds like from the type of data involved, it's not going
to be a problem if data doesn't align to the main stream in the millisecond
range. We're working on improving this issue.
Ok, now for the answer. Basically, you just add some additional entries to
the CDS init file (or Ops startup file but you need to change the format of
course):
All you do is create "_2" or "_N" entries describing the data path:
DATALOCATION = CDSName 49000
DATALOCATION_2 = WeatherStationPC 49002
DATA_SOURCE_BUFFER_SIZE_IN_MILLISECONDS = 20
DATA_SOURCE_BUFFER_SIZE_IN_MILLISECONDS_2 = 20
DATA_SOURCE_TYPE = OS90
DATA_SOURCE_TYPE_2 = Custom
DATA_SOURCE_PROGID = IadsOS90DataSource.IadsOS90DataSource.1
DATA_SOURCE_PROGID_2 = IadsCustomDataSource.IadsCustomDataSource.1
Of course, you're setting for the 550 are different, but I think you'll
understand the pattern. I'm pretty sure the setting are limited to the "Data
Source Section" of the init.
Make sure DATA_SOURCE_TYPE_2 = Custom and DATA_SOURCE_PROGID_2 =
IadsCustomDataSource.IadsCustomDataSource.1, launch the CDS and the data
source and see what goes. I'm thinking you can setup the data source exe in
the OpsConsole so it starts automatically.
Hope this helps... Sorry for not being 100% sure on these answers. I'm
stretching the limit of my knowledge here (i.e. reading the code as I type).
Mike might chime in soon to correct me..
Jim
Is this supported in 5.3.2 or is it only in 6.0?
-Bob
> Perfect - the secret decoder ring for the init file is just what I
> needed. We'll give it a try. Thanks! BTW you're right about the
> timing. Using the master source's timestamp should be sufficient for
> weather data.
;) You're in the club now...
> Is this supported in 5.3.2 or is it only in 6.0?
Yep.... It's in 5.3.2, but you didn't have the secret ring so you couldn't
see it,
Jim