詹森

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 50 total)
  • Author
    Posts
  • in reply to: Faster thread #16639
    詹森
    Participant

    You 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

    in reply to: Faster thread #16634
    詹森
    Participant

    Hello, 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.

    in reply to: Faster thread #16628
    詹森
    Participant

    Method 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

    in reply to: Faster thread #16626
    詹森
    Participant

    Due 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

    in reply to: Faster thread #16623
    詹森
    Participant

    1. 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 fastest

    I 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

    in reply to: Faster thread #16620
    詹森
    Participant

    How 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!!

    in reply to: Send Commond #16617
    詹森
    Participant

    OK, thank you.

    in reply to: Send Commond #16615
    詹森
    Participant

    The 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

    in reply to: Send Commond #16613
    詹森
    Participant

    I’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

    in reply to: Send Commond #16602
    詹森
    Participant

    Thank 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

    in reply to: Send Commond #16592
    詹森
    Participant

    I 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

    in reply to: The archived file is lost. #16558
    詹森
    Participant

    Understand,Thank you for your answer

    詹森
    Participant

    Thank you. Will give them a try.

    in reply to: The archived file is lost. #16542
    詹森
    Participant

    I’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?

    in reply to: The archived file is lost. #16533
    詹森
    Participant

    The files being viewed range from min20250629_0001.dat to min20250629_0013.dat. Under normal circumstances, there are min20250629_0001.dat to min20250629_0024.dat

Viewing 15 posts - 1 through 15 (of 50 total)