04-22-2021 08:22 AM
What are you think, could I use this example for my project, using produce (event) loop and 2 consumer loops with queues?
04-22-2021 08:20 PM
Hi,
04-23-2021 10:20 AM
If you have, maybe, some useful example of User Interfaces because I really have many problems with it?
04-25-2021 08:20 PM
In my knowledge, the QMH is the most suitable example of User interface which consists data logging and graph indicator, that's why i suggest to you.
You can wait others people suggestions too.
04-26-2021 06:25 AM
Hi people,
I am student and I dont have many experience in Labview.
I have made my program that will log measurements from the inverters (7 inverters and all collected measurements need to be saved on a 15-minute basis in separate csv files for each day). The inverters have integrated Modbus TCP servers and are supported for communication using the MODBUS TCP / IP communication protocol. I have made it in producer/consumer loop.
But now I need to develop GUI which consist of a main screen on which it will be possible to select measurements from an individual power plant inverter or total measurements for the entire power plant.
My idea is to update my program which is in producer/consumer loop to QMH loop where I can develop GUI. But I have problems, because I don't know how exactly to do it? If someone can help me, I would really appreciate that!
05-03-2021 04:34 AM
Hi guys, I am new in LabVIEW yet, so I need help. I need to read 7 inverters (and I need to read 7 measurements form every inverter - temperature, power, voltage, etc...).
I developed this simple sub VI for reading inverters, but I am not sure that this is right way. What are you think and what's your advice how to make this more efficient or better?
Thank you,
Mc
05-03-2021 04:49 AM
Hi mc,
@mc50100 wrote:
I developed this simple sub VI for reading inverters, but I am not sure that this is right way. What are you think and what's your advice how to make this more efficient or better?
05-03-2021 05:02 AM - edited 05-03-2021 05:18 AM
Hi,
1. I haven’t gotten all the measurement addresses yet so I’ve just left it like this for now. But each inverter will have its own addresses for individual measurements, so maybe I need to make Case structure for each inverter or?
I correct your items (2-6), thank you for advice!
05-03-2021 06:07 AM - edited 05-03-2021 06:12 AM
Hi mc,
@mc50100 wrote:
I haven’t gotten all the measurement addresses yet so I’ve just left it like this for now. But each inverter will have its own addresses for individual measurements, so maybe I need to make Case structure for each inverter or?
In this case I would use an 2D array, holding the 7 register addresses for each of the 7 inverters. Then you can use an inner FOR loop to autoindex over all elements of that 2D array…
Btw. I also suggestest to also remove the 2nd BuildArray (connected to the shift register)! No need to prepend an empty array before each 2D subset! That array constant before the loop will now prevent any Modbus readings at all - THINK DATAFLOW combined with autoindexing behaviour of the loop…
One more comment: when you read single registers you don't need to create a 2D array from values of one inverter. An 1D array from scalar register values would be sufficient, too!
05-03-2021 07:16 AM - edited 05-03-2021 07:27 AM
hi,
I have tried all your tips but I don't know if I understood them well, especially this part:
Btw. I also suggestest to also remove the 2nd BuildArray (connected to the shift register)! No need to prepend an empty array before each 2D subset! That array constant before the loop will now prevent any Modbus readings at all - THINK DATAFLOW combined with autoindexing behaviour of the loop…
One more comment: when you read single registers you don't need to create a 2D array from values of one inverter. An 1D array from scalar register values would be sufficient, too!
I am also little bit confused about output auto-indexing in for loops?
If you can see and say what I need to prepare?