Rodney Posted November 1, 2017 Share Posted November 1, 2017 Hi I can use get this to work Beginseq(Site1_Poll) however I would like to generate a sequence name - ie "site"+counter+"_Poll" and use that with Beginseq I have tried execute Beginseq("site"+counter+"_Poll") I have also tried mystring = "site"+Counter+"_Poll" which gives me Site1_Poll Site2_Poll etc then beginseq(mystring) with no success I think I'm close but I just cannot get the syntax correct to get it to call / execute the sequence Can it be done? Rodney Link to comment Share on other sites More sharing options...
AzeoTech Posted November 2, 2017 Share Posted November 2, 2017 Yes, you'd have to use execute(): execute("beginseq(" + myString + ")") beginseq() and a couple others are a little odd in that they take the symbol name of the sequence, not a string with the name. Its a left over from very early DAQFactory. Link to comment Share on other sites More sharing options...
Rodney Posted November 2, 2017 Author Share Posted November 2, 2017 Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.