LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Low-level File VI's Timestamp

Hello,

 

-I would like to add a timestamp to each logged value using low-level file VIs' (see the attached example). How is this done?

 

-How do I add new columns/input channels of data? Is it possible to add labels to these columns?

 

-Regarding the Build Array item in the example, how often does it output a 1-D array if it is in an infinite While loop?

 

What are the advantages of using low-level VI's rather than the Express VI's (our application is simple now, but likely to get more complicated)?

 

Thank you

MCU

Download All
0 Kudos
Message 1 of 9
(4,093 Views)
Message 2 of 9
(4,082 Views)

 

Though I wouldn't call this a Low-Level File VI because it has nothing to do with File VI's.

Message 3 of 9
(4,078 Views)

Hi MCU,

 

"Regarding the Build Array item in the example, how often does it output a 1-D array if it is in an infinite While loop?"

 

Well, if all answers are as easy as this one Smiley Wink

 

I would suggest to go through these lessons:

How to learn LV?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 9
(4,072 Views)
Here's another way.
Message 5 of 9
(4,068 Views)

Hello,

 

>Ravens Fan

>

>Though I wouldn't call this a Low-Level File VI because it has nothing to do with File VI's

 

How do I add this as a timestamp column to the spreadsheet (next to the Random Number column)?

 

>GerdW

>Hi MCU,

>"Regarding the Build Array item in the example, how often does it output a 1-D array if it is in an infinite While loop?"

>Well, if all answers are as easy as this one :smileywink:

>I would suggest to go through these lessons:

>How to learn LV?

 

I have been through a couple of lessons. Is there one in particular that you can recommend? Thanks.

 

>Dennis Knutson

>Here's another way. 

 

Where is the VI that the Date/Time string feeds into found?

 

What situations would you recommend use of low-level File IO compared to Express VI's?

 

Thanks

Message Edited by MCU on 02-23-2009 03:32 PM
Message Edited by MCU on 02-23-2009 03:35 PM
Message Edited by MCU on 02-23-2009 03:37 PM
0 Kudos
Message 6 of 9
(4,041 Views)

MCU wrote:

Hello,

 

 

 

How do I add this as a timestamp column to the spreadsheet (next to the Random Number column)?

 

You just need to build it into the array along with the random number generator.

 

 

Where is the VI that the Date/Time string feeds into found?

It is on the timing palette.

 

What situations would you recommend use of low-level File IO compared to Express VI's?

Express VI's if you want to get something up and running quickly, or your not sure how to do it.  You can even do a right click and Open Front Panel on an Express VI to see the underlying code.

Otherwise, use the lower level File IO so you can have better control over how they work.

 

Thanks

 


 

Message 7 of 9
(4,029 Views)

MCU wrote:

Hello,

 

>Dennis Knutson

>Here's another way. 

 

Where is the VI that the Date/Time string feeds into found?

 


It's in the same place as when you used it in your first example. It's the Build Array.

 

The higher level file I/O functions such as Write to Spreadsheet file, Write to Measurement File, etc., open and close the file each time they are called. this adds additional overhead and makes the file writes slower.

Message 8 of 9
(4,026 Views)

Dennis Knutson wrote:

MCU wrote:

Hello,

 

>Dennis Knutson

>Here's another way. 

 

Where is the VI that the Date/Time string feeds into found?

 


It's in the same place as when you used it in your first example. It's the Build Array.

 

The higher level file I/O functions such as Write to Spreadsheet file, Write to Measurement File, etc., open and close the file each time they are called. this adds additional overhead and makes the file writes slower.


Yes.  When I first read the question, I thought they were asking for the location for the Date/Time String function.

Message 9 of 9
(4,022 Views)