LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file write timed loop

hello
i am doing one data acquistion for 1 hour continusly , and i want to write the each 5 min data into the file.
------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
0 Kudos
Message 1 of 7
(3,178 Views)

HEllo,

And what's your problem? You don't know how to do anything?

You want that we do an example of saving every 5 minutes? What's your labview example?

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 2 of 7
(3,147 Views)
yes , i am new to this concept help me
      i am using queue concept ,but the program is locking , my require ment is when the data acqustion is going on i want to write the data into the files aswell as i want to display .i done the display part its ok
when writting ,i want to write the file as 5 min data the file name should be the start time of the 5 min data . like that it will go upto 5 hours ..
where i want to put the time checking loop and how i want to know how to check the 5 min elapsed .
here with i attached the vi 
instead of reading form the instrument u just use some random num 1 d array of 401 points
help me
give some ideas plz
indrajit
http://forums.ni.com/attachments/ni/170/299753/1/ProducerConsumerData%203.vi
------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
0 Kudos
Message 3 of 7
(3,136 Views)
One reason your program may be locking is that you are using an insert into array in the consumer loop.  Then you are feeding that to the file write and doing an append to file.  So you are growing your file exponentially and growing the array itself rapidly as well.
0 Kudos
Message 4 of 7
(3,130 Views)
Hello,

I've made a simple example just to you understand how to save every 30 seconds.
Software developer
www.mcm-electronics.com





PORTUGAL
Message 5 of 7
(3,128 Views)
hello
thanks a lot
but i am using labview 8.2, so that  i am not able to open that vi .can u save the vi for the labview 8.2 version


cheers
indrajit

------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
0 Kudos
Message 6 of 7
(3,110 Views)
Hello,

IN attach you've the example in 8.2
Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 7 of 7
(3,091 Views)