Your code still needs a lot of work and I am sure once the code is cleaned up and the recommendations of other followed, things will fall into place.
Can you run your VI until "RegisterValuesUI 2" contains data, stop the VI, make the current values of "RegisterValuesUI 2" default, save under a new name and attach it here. This gives us something to play with.
Thank you so much for your help it means a lot to me because I am still new in LabVIEW.
I dont understand what that means, which one diagram constants?
While correcting the program, I put it accidentally inside FOR loop.
I read somewhere on forum that Wait function need to be the same as offset, so I put it.
I have 8 inverters (from 2 different producers) in my PV system. All of them have different IDs and IP addresses, so I need make initialization for each separately. The rows show one inverter so I use 2 for loops during loging data; First one for choosing inverter and the second one for reading each measurements individually.
I need case structure because of reasons mentioned above (different inverters - different IDs and IPs) and some data should be scalared with different values. if you have a better and more efficient method to reduce the number of cases, I will appreciate your help. I will upload my Read1scada(subVI).vi and InverterInit (SubVI).v
Sorry, my fault.
Tomorrow I will run the program in the lab and send the desired .vi with data.
Thanks again and I accpet all sugesstions and help from you and others experts. 🙂
Sorry, this is way too messy to do any reasonable work on my 1080p laptop screen. Why is the front panel set to a minimum width of almost 3k pixels and a gigantic height? I can't even bring the bottom scrollbar into view!! Why is there so much code duplication? (e.g. that swarm of property nodes near the top could be replaced by one, iterating on an array of references. You still have all these coercion dots. You still have all these local variables. Why are there so many overlapping front panel elements?).
Sorry, this is way too messy to do any reasonable work…
Yes, it is!
Is your coding style considered "readable"?
I am so so sorry, because I uploaded my old application accidentally. This one is my new and now it works correctly, but I want to make my program more efficient and reliable.
I want to make my program more efficient and reliable.
Thank you so so much for this comments, they are really helpful!!! I accept all of them, but I have 2 questions.
Thanks a lot, I really learn a lot with your advice!