Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

reciving data from RS232

Hi,

 

In the VI's you attached there are 2 key stages you need to look at, firstly outside the while look where the file is either created or replaced. I would recommend using this VI within your application as there is no point re-inventing something that seems fit for purpose. The second area of interest is with the  "Format into File" function, again in the top level VI called "Temperature Logger". This basically takes the current date/time, followed by a tab then the data you wish to store (in this case temperature but could be anything from the serial port) followed by an end of line constant to ensure the program stores the data on seperate lines.

 

These are the areas I would recommend you focus on for your application,

 

Hope this helps,

All the best,

Applications Engineer
0 Kudos
Message 21 of 26
(1,315 Views)

hi sir,

 

Can u give me the answer/solution of the following questions/querys

 

1)  i wana to show the two analog signals on one single graph how could i do that ?

2)  there are two states of led's ON/OFF is there any led indication which blinks (ON/OFF) continously when the condition is     true

 

3)   i save the data into file (using format into file tool)  the data is captured at every second of time how could i change that?, and digits of presion

 

 

thanks for answring these answersundefined

           

 

0 Kudos
Message 22 of 26
(1,294 Views)

good evening sir

 

kindly give answer to my query which i has posted before this 

 

thanks alot for replaying

 

regards

0 Kudos
Message 23 of 26
(1,271 Views)
The program you posted is obviously not the one you are using now since that logs every 500 msec and only logs temperature. If your current program is similar, change the value you pass to the wait and wire up a format string to the Format Into File. You can simply right click on it and select 'Edit Format String'. The on-line help has quite a bit of information on format strings.
0 Kudos
Message 24 of 26
(1,267 Views)

thanks for replyng sir

 

i have change the value from decimal points to only decimal values 36.3232  to only 36

 

bt i there still problem in time logging the data   the data is logged at every instant to time i wana to log data after every 2 minuts  how i can do that

 

and one important thing is  "once i final my GUI then how i make the exe file of my GUI if i cant make the exe than every one can alter (made changes in my GUI ) how i can prevent that??

 

 

 i send u  the vi

 

im wating for ur replay 

 

 

have a nice day today and tomarow

 

0 Kudos
Message 25 of 26
(1,248 Views)

If you don't want to log all of the data, just place your file write function inside a case statement and use an Elapsed Time function. There is a Boolean output of that called Time Has Elapsed. Wire that to the case statement.

 

If you have the professional version of LabVIEW or the separate app builder, you can create an exe. Otherwise, you can password protect the block diagram.

0 Kudos
Message 26 of 26
(1,245 Views)