LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write measurement to file every X minutes

Solved!
Go to solution

Gerd,

 

I read everything, but still i didnt use case block, so i didn't want to start a new issue 😄

 

Now is working fine , by the way i am getting an error using measure writting about saying file already open. Weird stuff

0 Kudos
Message 11 of 14
(1,465 Views)

Ravens,

 

The event structure above is just testing. Its a freaking GPIB interface , but not working, weird stuff about time out and number of bytes so... will delete

0 Kudos
Message 12 of 14
(1,463 Views)

@GerdW wrote:

 

And you forgot the case structure - I repeat:

Use the ElapsedTime ExpressVI and a case structure…

(I wonder why people asking for help don't read the answers carefully…)

 

To put the suggestion into pseudocode:

IF ElapsedTime(X minutes) THEN 
  save data to measurement file
ENDIF

The Write to Measurement File probably still works without the case structure.  Only because it looks like th OP wired the Time Elapsed? boolean to what is probably the Enable? input of the Write to File, so the case structure is effectively buried inside of that Express VI.

 

IvanHe,  is there any chance you get the file error because you DO have the file open somewhere else?  Like looking at it in Excel?

 

(As Gerd says, it is kind of hard to debug VI's from pictures.  Also, if you get an error than be sure to give us as much detail as possible such as what the error number is.)

0 Kudos
Message 13 of 14
(1,461 Views)

Thank's!  you save my day !! i spent 4 hours trying to fix freezing data while recording at every 1 min . 🙂 thank you again !!

0 Kudos
Message 14 of 14
(790 Views)