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

Variable Initialization

$
0
0

This is my first posting but I always searched this board every time when I need an help.

 

This is LabView beginner who is really interested in Data acquisition and analysis.

I am implementing real time parameter monitoring system (such as Temperature )

So the data come every 1 second from a daq device 

 

I want to ask about how to initialize the variables ( local or global or shared ones)

I have an experience with Visual C++.

When I program with Visual C++, I initialized variables in initdialog or PreCreateWindow functions.

 

Attached code is sub-vi  which check whether 6 continuous data series are strictly increasing  or decreasing.

 

Actually the data series (such as temperature ... ) come from DAQ device every 1 second.

 

I have an difficulty in initializing the variable. ( counterFBRule3  variable in attached code)

 

Currently I am using shared variable as counter, but I am going to change it into local variable later.  

 

Could you give me an advice about how to initialize variables?

Thank you in advance.

 

Chulsoon Park.

 

 

 


Viewing all articles
Browse latest Browse all 66969

Trending Articles



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