LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save a record for hours

Hello to all.

First of all thanks a lot for reading this post and being able to help.

I would like to save a records for hours where the user will be able to select the hour and check the production.

For example:

    I have two accountants. One for OK stuffs and the other one for KO stuffs (vision application).

    So imagine that from 4pm to 6pm, OK accountant is 40 and KO is 2. Then user goes to application, select 4pm to 6pm and application has to give them 40 and 2.

 

So how can I save a records for hours?

 

Thanks a lot.

0 Kudos
Message 1 of 2
(2,113 Views)

Hi A.,

 

based on your description you should store your measurement results in a database. Then it all boils down to some "SELECT…" database requests!

 

That being said: you can do the same using plain LabVIEW: store your results in a file. When the user wants to check the results you read in the data and filter by the timestamp you have stored with your data…

 

When you only want to store data on a hourly base: collect data for each hour and save just one line "record" per hour. There are a lot functions in the Time functions palette available which assist you in programming this!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,099 Views)