LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

message box in labview

venky, i no idea on the lagging so i try to edit what you mention. the numeric control still hv same problem. which one is the ring const?
0 Kudos
Message 21 of 28
(1,544 Views)
any help?
0 Kudos
Message 22 of 28
(1,514 Views)

Hi Mic,

 

Check out this Vi.

 

 

 

Rgds,

Venky

0 Kudos
Message 23 of 28
(1,510 Views)

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

Message Edited by mic_k86 on 02-21-2009 09:07 PM
0 Kudos
Message 24 of 28
(1,493 Views)

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

 

0 Kudos
Message 25 of 28
(1,481 Views)

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

0 Kudos
Message 26 of 28
(1,472 Views)

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

0 Kudos
Message 27 of 28
(1,467 Views)

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

0 Kudos
Message 28 of 28
(1,457 Views)