Forum Replies Created
-
AuthorPosts
-
詹森
ParticipantYou mean that even with 5,000 computing channels, the most frequently used script would be something like this “GetBit(DataRel(-1), 0)”, but this should not have taken so long, right?
I will try to analyze the cause of this issue later and then reply to you
詹森
ParticipantHello, regarding the #16629 issue of manjey73, since I use a large number of channels, there are approximately 5,000 computing channels. This has led to a polling cycle of calculation taking up to 10 seconds. This is related to CPU performance. Is there any solution? Thank you very much for your help.
Hello Mikhail, you mentioned that specific modules can be developed. Do you have any relevant materials or examples for this? Please help me when it’s convenient. Thank you very much for your assistance.
詹森
ParticipantMethod 1: Call the script in the channel. It takes only 10 seconds to poll for one cycle (why is it so long because there are many computing channels).
Method 2: Use EverySec (getDataFunc), but with one call cycle per second
I’d like to ask if there are other ways to call a script (method, function) once every 100 milliseconds?
Thank you for your help
詹森
ParticipantDue to the large number of data channels, I found that the script directly called in the channel has slowed down to about 10 seconds before calling the calculation once. If I want to call the calculation script once every 100 milliseconds, how can I achieve this? Could you please let me know? Thank you
詹森
Participant1. We have encountered a situation where there are many computations in the channel, resulting in the script being called in the channel only calculating once every few seconds. Therefore, this method is currently unavailable.
2. Using “EverySec (getDataFunc)” can only calculate once per second at the fastestI currently have a requirement to perform a script calculation every 100 milliseconds to obtain the latest calculation results in real time. The main need is to meet some calculations that require rapid response. Could you please inform me if there are any other methods to meet such a requirement? Thank you very much for your reply. Thank you
詹森
ParticipantHow can one implement their own timer? How to create a custom thread? Could you please explain the implementation steps or examples? Thank you very much for your help!!
詹森
ParticipantOK, thank you.
詹森
ParticipantThe possible issue lies in the limitations of the self-control module. For instance, in an application scenario: you want to use a multi-channel trigger, but the multi-channel trigger cannot send data from the specified channel
詹森
ParticipantI’ll re-describe one of my scenes
For example, if I want to determine that the conditions of Channel1==1 && Channel2==2 are met, and I want to send the Value of Channel3 through the self-control module (that is, Copy the value of Channel3), how should I do it? Thank you for your help詹森
ParticipantThank you for your help. Then I am even more looking forward to the optimization of the automatic control module. Just as I said above, after the multi-channel trigger is met, copy value can be performed using the specified channel, which will meet the vast majority of requirements
詹森
ParticipantI have found that there are significant limitations in using the automatic control module. Can it be further improved in the future? For example, “Multi-Channel Data Trigger” can select another channel for copying the Value, which is very commonly used
Also, what does “my own module” refer to? How is it achieved?
Could you please tell me? Thank you詹森
ParticipantUnderstand,Thank you for your answer
June 30, 2025 at 11:50 am in reply to: Where are those goodies (comm status, toggle comm line cmd) in v6 Channel setup #16543詹森
ParticipantThank you. Will give them a try.
詹森
ParticipantI’m using an ubuntu system device. I’d like to ask why “min20250629_0001.dat” was created at 08:59? What if it is not created at 0 o ‘clock?
詹森
ParticipantThe files being viewed range from min20250629_0001.dat to min20250629_0013.dat. Under normal circumstances, there are min20250629_0001.dat to min20250629_0024.dat
-
AuthorPosts