Hi Vivek, Now with syntax corrected (to add the ')' that was missing off each WriteAttribute() call) !
0xfff00007 E 0 \ P "WriteAttribute( { C CURRENT_MODEL }, { H 0x12bfc }, GetEventVariable( { U 151 } ))" \ P "WriteAttribute( { C CURRENT_MODEL }, { H 0x12c03 }, GetEventVariable( { U 152 } ))" \ P "WriteAttribute( { C CURRENT_MODEL }, { H 0x12bfd }, GetEventVariable( { U 153 } ))" Cheers, Dan ---------- Forwarded message ---------- From: Dan White <dan.wh...@devoteam.com> Date: 14 January 2016 at 00:06 Subject: Re: [spectrum] Parsing 6 different EventVariables into Spectrum UserAttributes To: spectrum <spectrum@listserv.unc.edu> Hi Vivek, I don't think you received a response to this?. And you probably solved your problem ages ago! The cleanest way would be to have multiple separate event procedures for the same event code - which the manual says is allowed and they will all be run (though I haven't tried it myself). So it would look like this (an example for just 3 params but you get the idea...) 0xfff00007 E 0 \ P "WriteAttribute( { C CURRENT_MODEL }, { H 0x12bfc }, GetEventVariable( { U 151 } )" \ P "WriteAttribute( { C CURRENT_MODEL }, { H 0x12c03 }, GetEventVariable( { U 152 } )" \ P "WriteAttribute( { C CURRENT_MODEL }, { H 0x12bfd }, GetEventVariable( { U 153 } )" Otherwise, I worked out ways you could do it in a single proc with recursive use of Prog2() or SetVariable() but it looked horrible! Cheers Dan. On 9 October 2015 at 12:32, vivek biltoriiya <vivekbiltor...@gmail.com> wrote: > Hi, I am trying to write 6 different Event variables in Spectrum USER > attributes. > > Currently I am uanble to parse all of my event varaibles into Spectrum > attributes. I am using below code to acheive this. Could some one help me > in getting this done for a set of 6 event varioables (151 to 156) > > I beleive thier is a limitation on parsing number of event variables into > Spectrum attributes. > > 0xfff00007 E 0 P "\ > > WriteAttribute( \ > > { C CURRENT_MODEL }, \ > > { H 0x12c03 }, \ > > ( WriteAttribute( \ > > { C CURRENT_MODEL }, \ > > { H 0x12bfc }, \ > > GetEventVariable( \ > > { U 151 } ))), \ > > GetEventVariable( \ > > { U 152} ))" > > GetEventVariable(\ > {U 153....156......... > > Any immediate help is appreciated.. > > - --To unsubscribe from spectrum, send email to lists...@unc.edu with > the body: unsubscribe spectrum dan.wh...@devoteam.com > > -- Dan White Senior ConsultantService Assurance +44 (0)7973 533671 <+44+(0)7973+533671>dan.wh...@devoteam.com[image: pattern devoteam] [image: Devoteam sur Linkedin] <https://www.linkedin.com/company/devoteam> [image: Devoteam sur Google Plus] <https://plus.google.com/+Devoteam-group> [image: Devoteam sur Twitter] <https://twitter.com/devoteam> [image: Devoteam] <http://www.devoteam.com/>[image: Innovative technology consulting for business] -- Dan White Senior ConsultantService Assurance +44 (0)7973 533671 <+44+(0)7973+533671>dan.wh...@devoteam.com[image: pattern devoteam] [image: Devoteam sur Linkedin] <https://www.linkedin.com/company/devoteam> [image: Devoteam sur Google Plus] <https://plus.google.com/+Devoteam-group> [image: Devoteam sur Twitter] <https://twitter.com/devoteam> [image: Devoteam] <http://www.devoteam.com/>[image: Innovative technology consulting for business] --- To unsubscribe from spectrum, send email to lists...@unc.edu with the body: unsubscribe spectrum arch...@mail-archive.com