LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Report Problems

Hi,

I have some problems with the report for my VI...
therefore I have attached the important part of my VI. To explain in short what it does : The "4.2 Avi Analyse.vi" plays an AVI file and does some measurements which should be reported. The report should just contain the frontpanel image and the html-reportname should contain the timestamp information.
The left part is just initialization so it's not interesting for my questions, but on the right I would like to change the following:

1.)  Is it somehow possible to automatize the time stamp? Right now the user has to determine the current time/date, but I would like the programm to do it automatically. So if someone starts the AviAnalyse.VI and does a measurement there should be the time information when he starts to measure!
I want this later as the name of the html-report, so it's very important for me and would be more comfortable to do it automatically!

2.) The "Append Front Panel Image to Report.VI" saves the jpg with a somehow random name like "LVtemp0802479283". I would like to change this name! I have read something about this issue in the NI forum, but this wasn't helpful for me!

3.) I have an x-y-graph in my VI with a scrollbar for the x-axis. Now I want report the whole graph and not just the visible part of my graph... Is this possible?

Thanks for your effort


Message Edited by Portisblaed on 02-05-2008 08:05 AM
0 Kudos
Message 1 of 7
(3,313 Views)
and what I forgot ...

4.)  I have an 1D-array in the VI where the measurement is running. This array contains numbers, depending on how often a button was pushed. For example, if the user pushes the button 3 times during the measurement I have 3 numbers like  23, 54, 299 in my array!
Now I would also like to write this numbers in my report. How can I do that?
0 Kudos
Message 2 of 7
(3,307 Views)
"1.)  Is it somehow possible to automatize the time stamp? Right now the user has to determine the current time/date, but I would like the programm to do it automatically. So if someone starts the AviAnalyse.VI and does a measurement there should be the time information when he starts to measure!
I want this later as the name of the html-report, so it's very important for me and would be more comfortable to do it automatically!"
 
You can use the get date/time string function:
 
 
 
Tom
 
 


Message Edited by Tom Haggerty on 02-05-2008 09:48 AM
0 Kudos
Message 3 of 7
(3,302 Views)
Hmm,

I know this VI, but it doesn't help, because the user has to control the time stamp as well. I would like the computer to do that!
What I mean is, if I connect the time stamp cluster to a constant, I have this 1.1.1904, time : 00:00:00 time information.
If i connect it to a control , the user has to determine it. But I would like to have it automatically done by the programm, by starting the VI.
Maybe thats not possible ?!?
0 Kudos
Message 4 of 7
(3,292 Views)

If you don't wire the timestamp input (just like in the above picture) it will select the current date and time.  this is what you want, right?

 

Tom

0 Kudos
Message 5 of 7
(3,287 Views)
Aaaaaaaaah ok, I am sorry, I didn't understand that I jsut don't have to wire the stamp! Now it works like I want! Thanks very much ...
I have also figured out how to solve problem no. 4! So I just need help for 2 and 3 ...

Thank you Tom!

0 Kudos
Message 6 of 7
(3,283 Views)
For problem #2, it looks like the save report file automatically saves all images associated with the HTML file.  Here is where you would have to change the file name that is being saved.to one that you desire. 
0 Kudos
Message 7 of 7
(3,275 Views)