02-19-2009 09:15 PM
02-21-2009 09:43 AM
02-21-2009 10:19 AM
02-21-2009 09:02 PM - edited 02-21-2009 09:07 PM
venky,
1. problem for saving during 00:00:00 solved already. thanks.
2. for the delay/lag i mention in previous post, after i try simulate, i found the vi will have delay of 1 second in all time selection case. for example, if user choose 00:00:01, when check the database, the data will save every 2 seconds. if user choose 00:00:05, when check the database, the data will save every 6 seconds. that means got extra 1 second. where it come? i can't troubleshoot it.
3. during 1st time run the vi, after select time, user need to click the start button twice in order for the vi continuous run. if click one time only, the textbox in vi only will waiting, logging data..., then stop.
4. the labview control, type def enum in the temp log folder you attach is it hv related to the temp log file? will it effect the temp log file when compile to standalone exe?
regard
mic_k86
02-22-2009 03:18 AM
Hi Mic,
Check out this Vi.
For the second problem , i have deleted the delay case,So it shud be fine now.
3. once u click on start button,it will run continously....then if u press on stop button...it will get stopped.
then again u need to run the vi ---->click on Start once to start logging continously.
4. I din't get u correctly.
Rgds,
Venky
02-22-2009 04:53 AM
venky,
i'm feel sorry of keep asking you.
1. without the case structure, same problem as no.2. here i hv an assumption: compare to my original vi, your vi have more components and function. with more components and function, will it cause the vi having more time to analysis and save the data to the lvm file? hence the total processing time is more than the time selected in the control panel.
2. clarify problem 4: what is the used of the labview control type def enum? will the vi work without it? because after finish done the vi, i need to compile it to exe file so that can be executed on other pc without labview. i afraid the labview control file will not work on other no labview pc.
regard
mic_k86
02-22-2009 05:21 AM
Hi,
2.The time which we are mentioning in the front panel control is for logging the data every specified time.
Yes total processing time depend on the function and the logics your using in the code
.
I have set the delay as 2 seconds
Temp Time
0.751816 4:45:13 PM
0.860398 4:45:15 PM
0.491752 4:45:17 PM
0.921690 4:45:19 PM
0.989567 4:45:21 PM
0.990539 4:45:23 PM
0.037535 4:45:25 PM
0.730885 4:45:27 PM
0.589429 4:45:29 PM
0.148134 4:45:31 PM
0.545477 4:45:33 PM
Is it not fine?
4. You can Build this vi to exe with type def enum.ctl,There shud not be any problem.
Rgds,
Venky
02-22-2009 08:04 AM
venky,
i compare the result using random generator and go!assistant. the random generator work fined in all case but the go!assistant will have problem as i mention in previous post. so i think can conclude here is that all the problem hv now should be due to the delay of the hardware processing speed and some delay also from the go!assistant function. seem is the limitation of the hardware and the function.
by the way, very thankful for your help in this case. if got any problem or new finding i will post it again. thank again!!!
regard
mic_k86