Privacy and Security Notice

Archived Messages for CDEV_1997@cebaf.gov: Re: "serviceData"

Re: "serviceData"

Kim Gillies (gillies@noao.edu)
Fri, 25 Apr 1997 12:49:16 -0700

Walt,
> >
>
> Do you have the service data specified in your DDL file?
>
> Walt
> --

I believe the problem I was having was due to my experimenting with
my ddl file in the following way.

service ca {
tags { PV, READONLY, APP}
}

class Basic {
verbs { get, set, monitorOn, monitorOff }

attributes {
description ca {PV=<>.DESC};
}
}

class Cad : Basic {
attributes {
a ca {PV=<>.A};
b ca {PV=<>.B};
c ca {PV=<>.C};
d ca {PV=<>.D};
e ca {PV=<>.E};
f ca {PV=<>.F};
apply ca {APP=tcs:apply}
}
}

I was trying to use the ddl file to keep some extra information I need for
my application. I was hoping to just read the value associated with the tag.
I now know that I can't add arbitrary tags to the ca service.

As an example, when I look at the serviceData for the description attribute,
I get the following from an dumpAscii on the returned cdevData.

Tag: 4097
Tag Name: PV
Data Type: Char String
Values: TCS:ocs:apply.DESC

I think everything is working fine. Sorry for posting about a non-problem.
Peregrine has sent me an idea that allows me to do what I need to do.

Kim Gillies