03-09-2003 09:57 AM
03-10-2003 02:35 AM
11-27-2008 03:23 AM
Hi Ray...
In the CloneSequences, in clonesequence step, Why is the look up string arguement empty. Shouldnt it contain the name of the sequence.
I got error since i tried to specify the name of the sequence. Now I have corrected it.
11-27-2008 04:41 AM
Hi,
The reason is because a reference to the actual sequence has been obtained.
If you were using say the SequenceContext then the lookup string will contain the full lookup string to the sequence eg "RunState.SequenceFile.Data.Seq["SubSequence"]"
Regards
Ray Farmer
03-23-2010 12:37 PM
Hello Ray,
I am trying to do a similar thing using Labview. First, I get the reference of the sequence I want to clone by using the "GetSequenceByName" method, then I use the Sequence.AsPropertyObject method to get a ref of the sequence, then PropertyObject.Clone method to get the ref of the new cloned sequence. The next step is what I am having problems with. When I use the SequenceFile class, I only see "InsertSequenceEx" method in it, which will not accept the Clone output ref as an input reference to "SequenceToInsert". I get the following error "The data types do not match, the type of source is void, the type of the sink is double".
I appreciate any help on this.
Thanks,
Sam
03-23-2010 10:51 PM
Hi Sam,
See if this helps. The problem is with your code is you have convert back the property object reference to sequence.
Thanks
03-24-2010 10:03 AM
Hello LordSathish,
Thanks for the help. I was able to clone a specific sequence in a sequence file. Attached is my final working VI .
Regards,
Sam