Thanks Dan, I have already applied the same solution a long time back and
it works for me.. Thanks for your suggestion.

Cheers
Vivek Biltoriya
On 14 Jan 2016 05:37, "Dan White" <[email protected]> wrote:

> 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 <[email protected]>
> 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 [email protected] with
>>    the body: unsubscribe spectrum [email protected]
>>
>>
>
>
> --
>
> Dan White
> Senior ConsultantService Assurance
> +44 (0)7973 533671 <+44+(0)7973+533671>[email protected][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 [email protected] with
>    the body: unsubscribe spectrum [email protected]
>
>

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to