06-30-2021 09:05 AM
Hi everyone!
We are making a function to syn host pc's and target pc's clock (PXI ask host for time, and when the different is over the limit, it will set to it's own clock).
It looks working but sometimes, I ques when the host or the target makes Shared variable read/write action I'm getting the error code 1950679023 or 1950679035 (shared variable not reachable).
Is there a way to block all shared variable action till I'm finishing the time sync?
Thanks!
Robert
06-30-2021 03:13 PM - edited 06-30-2021 03:29 PM
I'm going to swing at this from a direction that you were not expecting. Your PXI chassis clock is overheating. Fix that! Yes, put the slot blockers in the unused slots so the cooling air doesn't flow past the empty space that is not generating heat. Place the chassis where airflow is not obstructed, heat flows away from the controller and clean the damned filters. Now throw out your silly code to reset the clock since the clock is properly cooled.
Yeah, overheated clocks keep time poorly. Paying attention to the environmental section of the installation manual make clocks work correctly.
Of course I am right! It is silly but, you would be surprised at how many times I have had to address the exact same problem. Software can't fix installation problems.
06-30-2021 11:49 PM
Hi JÞB!
Thanks for your answer!
I will thinking on your idea?
Do you have any other information about shared variable?
Thanks!
R
07-01-2021 07:18 AM
@robert.eva wrote:
Hi JÞB!
Thanks for your answer!
I will thinking on your idea?
Do you have any other information about shared variable?
Thanks!
R
Shared variables don't like it if the time changes. Fix the overheating clock.