From: White, G. <gr...@sl...> - 2011-11-17 18:03:40
|
PS: Marty, remember we have a fledgling implementation of the NTTable is in the rdbService. It returns the data to the client as an NTTable. As coded it's not compliant with the document yet, but it's close enough to be useful as a test bed and to see the support you need immediately. For encoding example NTTable see [1] lines 287 to 310. For decoding example see [2], lines 138-155 checking we got the self described NTTable, and lines 190-230 getting data out of an NTTable and copying it to Vectors. I wrote helpers for that, right now I called it pvDataHelper/GetHelper.java [3]. Cheers Greg [1] http://epics-pvdata.hg.sourceforge.net/hgweb/epics-pvdata/exampleJava/file/722a95318648/src/rdbService/RdbServiceFactory.java aka http://tinyurl.com/7dukfoj [2] http://epics-pvdata.hg.sourceforge.net/hgweb/epics-pvdata/exampleJava/file/722a95318648/src/rdbService/RdbClient.java aka http://tinyurl.com/7qyt2bk [3] http://epics-pvdata.hg.sourceforge.net/hgweb/epics-pvdata/exampleJava/file/722a95318648/src/rdbService/pvDataHelper/GetHelper.java aka http://tinyurl.com/7lnwrg2 On 17 Nov 2011, at 17:29, Marty Kraimer wrote: > On 11/17/2011 11:16 AM, White, Greg wrote: >> Hi Marty, I'd only sent the email to you, no need to apologize. >> >> Yes please, all documents under pvDataWWW, even if they're not at outside publication level. >> That way, there's one place to look, and it you don't find what you're looking for, it >> probably doesn't exist. I know there are pros and cons, but I'm trying to consolidate >> our docs and it would be easier if we can manage them in one place. >> >> Where? We haven't so far broken it down at all. I would say all normative docs - >> of which this is an example - should just go under mainPage/ directly. But if you'd >> like to make a subdirectory that's fine too. > > I committed and pushed to pvDataWWW/mainPage/doc/alpha/normativeTypes. > > Is there now a tool to automatically make this appear in the pv-data WWW > site? > > Marty >> I'll be updating the web pages soon. I know they've fallen behind things we've done. >> >> Cheers >> Greg >> >> On 17 Nov 2011, at 16:35, Marty Kraimer wrote: >> >>> I sent the message to Greg instead of mailer. >>> >>> Sorry, >>> >>> Marty >>> -------- Original Message -------- >>> Subject: Re: normative types >>> Date: Thu, 17 Nov 2011 10:31:55 -0500 >>> From: Marty Kraimer<mrk...@co...> >>> To: White, Greg<gr...@sl...> >>> >>> On 11/17/2011 10:25 AM, White, Greg wrote: >>>> Marty, what's the URL of your document? Please, please put documents in pvDataWWW, and when you publish, include the URL in your email. >>> It is in the mercurial alphaCPP repository. >>> Should it just be in pvDataWWW? >>> If yes where? >>> >>> I am at the MSU IRMIS meeting. >>> >>> Marty >>>> Thanks >>>> greg >>>> >>>> On 16 Nov 2011, at 14:04, Marty Kraimer wrote: >>>> >>>>> I have tried a new and I think simpler version of the definition for >>>>> normative types. >>>>> I committed this as a new file: >>>>> alphaCPP/normativeTypes/documentation/normativeTypes.html >>>>> >>>>> I have also attached a pdf file that was generated from this file. >>>>> >>>>> The main changes are: >>>>> >>>>> 1) typeIdentifier no longer exists. >>>>> Instead the fieldName of the top level structure is the name of the >>>>> normative type. >>>>> >>>>> 2) display_t and control_t can now be fields in a normative strructure >>>>> >>>>> 3) The syntax and description now uses whatever pvData already provides. >>>>> >>>>> 4) Instead of >>>>> NTBoolean >>>>> NTByte >>>>> NTShort >>>>> NTInt >>>>> NTLong >>>>> NTFloat >>>>> NTDouble >>>>> NTString >>>>> There is now just >>>>> NTScalar >>>>> and also >>>>> NTScalarArray >>>>> >>>>> I have not changed any code in alphaCPP. >>>>> >>>>> Marty >>>>> <normativeTypes.pdf>------------------------------------------------------------------------------ >>>>> RSA(R) Conference 2012 >>>>> Save $700 by Nov 18 >>>>> Register now >>>>> >>> http://p.sf.net/sfu/rsa-sfdev2dev1 >>> >>> >>> ------------------------------------------------------------------------------ >>> All the data continuously generated in your IT infrastructure >>> contains a definitive record of customers, application performance, >>> security threats, fraudulent activity, and more. Splunk takes this >>> data and makes sense of it. IT sense. And common sense. >>> http://p.sf.net/sfu/splunk-novd2d >> > |