heinz23 Posted May 29, 2012 Posted May 29, 2012 I want to call a sequence by another sequence. The names of the sequences are "seq1" and "seq2". In "seq1" I added the line "global vari = 1234" and in "seq2" the call "seq1()". When I try to run "seq2" the following error appears: C1000 Channel or function not found: seq2 Line 1 - Uncaught error in sequence seq2 If I create a brand new DAQFactory-file (File/New) everything works fine. So I think this problem has to do something with my file or file specified settings in DAQ, not with the installation. For this I attached my file "Test.ctl". DAQFactory version used: Pro 5.87a Hope you can reproduce my problem! :-) Test.ctl
AzeoTech Posted May 29, 2012 Posted May 29, 2012 Its because you didn't enter seq1(), but instead entered seq(1)....
heinz23 Posted May 30, 2012 Author Posted May 30, 2012 SORRY! I edited the file before uploading and entered a wrong syntax ... the correct "Test.ctl" is attached now. As you can see on "MissingChannel.png" I also have problems with V-Channels. This is another project file, but maybe it has the same cause? It seems that sometimes Channels/V-Channels/Sequences are not correctly "registered" by the program what means that I can't access them. OS is Windows 7. Test.ctl
heinz23 Posted May 30, 2012 Author Posted May 30, 2012 "4.11 Specifying Connections in Expressions and the Default Connection" in the help file is the solution to all my problems!!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.