Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67020

scalability vi problem

$
0
0

Hi everyone,

I have a specific problem related to the scalability of a VI, and I’ll try to explain it as clearly as possible. To help illustrate the issue, I’ve attached an extract of my application.

If you open MAIN_TEST.vi, you’ll see that I’m generating two random numbers, which I’m registering in my custom VIs. There are two buttons to display the graph of each VI and an LED that blinks to indicate that the main loop is running.

Some time ago, I developed TempGraph.vi to log temperature values and perform some calculations. However, I now need to log data from two different temperature sources, so I created TempGraph_Doble.vi.

As I implemented this, I started thinking that there might be a better way to approach the problem, which is why I’m reaching out to you for advice.

The main requirements are as follows (I’ll try to explain them, as my first implementation may not have been the best option):

  1. The VI must log all values and perform the necessary calculations.
  2. The front panel of the VI should only be displayed when the user requests it.
  3. It should be easy to scale to multiple temperature channels.

The project is developed in Labview2016.

 

Thank you in advance

Jon


Viewing all articles
Browse latest Browse all 67020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>