Showing results for 
Search instead for 
Did you mean: 

Count the total data result of a day


Hi everyone....


I have a array as shown in the attachement. I want to calculate the total number of OK and NOK of that particular day.

    Here in attachement i have no. of OK's\NOK's for a single date.I want to get an array with a particular date and corresponding no. of OK and NOK.

0 Kudos
Message 1 of 4

Seems simple enough.  What have you tried?  I would start with a FOR loop to autoindex on the rows.  You then perform whatever logic you need to based on if the data changed.  Shift Registers will be essential here to store your output array, current date, and the number of OK and NOK.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 2 of 4

The LabVIEW Forums is not a "Do My Homework For Me" service.  You have clearly stated the homework problem, but have not shown us your code (and please, attach your VI, not a picture of it) and asked a particular question about where you are "stuck".  We don't know what you don't understand, so cannot provide appropriate help.


Bob Schor

0 Kudos
Message 3 of 4

Additionally the (more or less) same question has been asked here.

Please stick with one thread, avoid double posts!

Best regards,
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 4 of 4