03-17-2009 05:20 PM
03-18-2009 03:56 AM
Hi knicewar,
you have to set the error cluster as value. I think you now only connect the error terminals of the shared variable, but this is not for data transfer. I'm not sure if you can use a cluster as transfer type (and i can't check it at the moment), but you can use a string. Use the "Flatten to string" function to create a string of your data and connect it to the value input of the shared variable.
Hope it helps.
Mike
03-18-2009 11:09 AM
Yes, I am sending the error wire to the SV value terminal, not the error input terminal for the SV.
I've used clusters before for a SV, but only a type (ctl file) that I created and only for a non-net SV.
I tried a variant type but that kept giving me an error trying to typecast it back to an error. I can try the string flattening thing. It just seems so round-about ...
03-18-2009 11:47 AM
03-18-2009 11:50 AM
Yes, I've checked the error out when I read and it's fine.
When I write to the SV, I only write when there is an error (to "latch" the last error), so I'm sure it's not getting overwritten.