LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create a history review page

i built a VI that is contains from one tab control with several pages. 

in the block diagram i'm using QMH technique. 

my real time data page, reading data from a matrix of force sensor and display the results numerically over 2D array then display it as graph over the intensity graph. 

i'm having an accurate shapes and coordinates of the object over the sensor matrix. 

 

the sensor matrix connected to shift register and multiplexer as i'm using 12X12 then to Arduino and from Arduino a USB to the laptop where i'm processing the data through labview. 

 

in my Arduino code i declared an initial number (10000) that when labview see this number, he knew that it is the beginning of new iteration of reading data. 

 

i was trying to build a new page to review the history of the object displayed over this sensor matrix. i want to review the data with respecting the time such as (today at 14:57 object top left corner with its image from the graph) 

simply i need to review the history over a day in hours, then weeks, months and a year. if i can. 

 

i tried to use invoke node and property nodes as well, but it required to save the picture manually and i need to save the data automatically and review it within the VI itself  ':( 

 

i was trying an idea which i didn't know how to make it in the right way, which is... if this is your first sensing in the day, save the picture of the intensity graph, then compare the new data with the old data, if it is the same ignore it, if it's new then save it and make it a default that you want to check the next one with it. 

 

i tried to pass my data to a history chart from the intesnity graph, and increase the length of the history chart to check the data with time, but it didn't work as the history chart doesn't save the data. 

 

what is the best way to create this history review.  

 

i can't post my VI, please check the snippit and a picture about what i think 

Download All
0 Kudos
Message 1 of 9
(3,282 Views)

I've done something kind of like this with a camera. I take an image every 10 minutes. The image name always starts with a date (ex. 20171206) in descending order like that so all my images are listed chronologically if I just use the list folder function. Then I put all the image names into a listbox so the user can flip through them with the keyboard keys.

0 Kudos
Message 2 of 9
(3,244 Views)

Hi Mate, 

 

thanks for your reply. 

 

 

can you guide me a little bit with that. 

 

 

 

 

Regards

0 Kudos
Message 3 of 9
(3,238 Views)

Sure, which part are you having trouble with?

0 Kudos
Message 4 of 9
(3,235 Views)

Hi mate, 

sorry yesterday night i left the library to go to work. 

 

any way, i tried to make a small mock-up to get familiar with the function (list folder).

 

i didn't get the idea of connecting it in the right way, 

 

i created 2 for loops with random numbers, i passed those numbers to data-log type, i declared the path and indicate both the file name and folder name, but still giving me an error. 

 

 

do you have any example i can learn from. 

 

 

thanks you 

0 Kudos
Message 5 of 9
(3,206 Views)

This should give you an idea of how to display all files in a folder and extract the one that the user selects.

0 Kudos
Message 6 of 9
(3,188 Views)

hi mate, 

thanks for the clue, it's very helpful. 

 

i was trying an idea to make it work. 

 

please check what i've done. 

0 Kudos
Message 7 of 9
(3,185 Views)
That's pretty good, but you don't want to generate a TimeStamp when the read button is pressed. You want to pick from a list of files that exist, but using a TimeStamp will generate a new filename that does not exist, so you cannot read it.
0 Kudos
Message 8 of 9
(3,182 Views)

that's make more sense to me know. 

 

i still have an error. 

 

i gotta go to my work. i'll try tomorrow morning. 

17:01 English time

0 Kudos
Message 9 of 9
(3,178 Views)