LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

User Interface cRIO 9074-transferring instant data from the RT target

HI, we are currently trying to finish up a labview project that will gather battery temperature readings, voltages and current from a PV system in the school. We are using the FPGA in order to gather the AC portion of the system and also have an RT part of the program that is gathering the DC and Thermocouple readings of the batterines and voltages of the system. We got it to display the values on the RT portion of the program but now we need to create a user interface in order to save some minute text files onto a computer and not the Compact Rio. We are stuck on sending the data from the RT to the user interface. We are using Labview 2015 and cRIO 9074 while using 2 9205 modules and a 9213 module.

 

So, my questions are:

1.) Since we are getting the Voltages, Current, and temperature readings at a sec 1 interval, how can we display these constanly changing numbers in the user interface?(we have tried global variables, but the indicator in the UI doesnt update.)

2.) We are getting the mean of the 60 points from the DC and TC (1 min avg) and trying to send that over to the UI using RT FIFO, but really have had no luck in sending any data over. Any sugestions?

0 Kudos
Message 1 of 4
(2,959 Views)

Hi catcher,

 

LabVIEW comes with ready-to-use examples - including example projects for RT targets!

 

Createt a new project, select one that involves RT and Windows host to get an example of data transfer…

 

On your questions: globals only work within one application, RT FIFO work inside the RT target. "Shared variables" are (one of) the things to try…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,944 Views)

Hi GerdW,

 

But when i tried to use a shared variable it just sent me to the chasis and to select a module and input. We really dont want to do it that way(heard it wasn't correct). Because thats how we have it our RT portion of the program to get the data instanly. Unless i am using the shared variable wrong?

 

And ok ill look into some examples and see if i find anything i can relate to my project.

 

Thanks

0 Kudos
Message 3 of 4
(2,933 Views)

Hi cathcer,

 

it seems you used the shared variables wrong when you need to select a module and input…

Again: LabVIEW comes with a lot of examples! (VIs and projects!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,926 Views)