Cannot Retrieve Data From Channel


Recommended Posts

Hello,

I have a weird issue where I have a sequence, F74407DUP, that calls a channel, F74407, but causes a C1000, channel or function not found, error but yet I have another sequence, TESTREST, calling the same channel and not causing an error. Additionally F74407DUP is a template script that is used to call other channels without issue. I have tried deleting and renaming the script and channels without avail. Please help! This doesn't make sense.

Lexington

test2.ctl

Link to comment
Share on other sites

I can't say exactly. There must be a name conflict somewhere. A restart might fix it. But, a simpler solution is to simply prepend "Channel." in front of the channel name:

if (Channel.F74407[0][2]<720*0.05)

This ensures that you mean the channel and not something else.

Also, as a side note: why all the sequences? It seems like all the sequences loop at the same interval, so why not simply create one sequence and then copy the if()/else/endif from each sequence into it, one after another. Having them run in separate threads is probably not making it run any faster.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.