LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Avarage calculation with labview

Solved!
Go to solution
Hi ago,

your loop stops when everything inside has finished!

Your DAQ loop takes it's time (I suspect something around 45s). When you press stop button, it has probably been read for this while loop iteration, so it affects the next iteration - hence the long waiting time. To stop faster you have to program it so, see attachment for one possibility...

You can also use the conditional stop terminal of the FOR loop (as available in LV8.5), using a case structure is the traditional way.

Edited: As 3 other mention the same thing like me you could believe us agoSmiley Wink


Message Edited by GerdW on 07-07-2008 04:13 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 28
(1,744 Views)

thank you a lot friends i tried to do like you but i forget to disable the autoindex,,,,,mamma mia ,,,,thank you a lot now i can measureeeeeeeeeeeeeeeeeeeeeeeeeeee

 

 

if i find the button for rating wil do 🙂



Message Edited by ago on 07-07-2008 09:30 AM
0 Kudos
Message 12 of 28
(1,730 Views)
Hi ago,

"if i find the button for rating wil do :-)" - you will find those buttons after your first 50 postsSmiley Wink
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 28
(1,717 Views)

Hello experts 🙂 the program which we created is fantastic thank you very much

 

im pimping now my program:-) und I have ragarding this one question:

 

i want that the date und the time ist in a own column in each row,,, i tried many things but nothing is very logical maybe you can help me,,,,

 

 

 

 

0 Kudos
Message 14 of 28
(1,636 Views)

Hello ago,

 

well, you could put in another "concat string" and append your measurement results to the date/time string...

 

You can also:

- index more than one value from an array with the "index array" function

- use the "format date/time string" function to build your date string

(- clean up in general 🙂

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 15 of 28
(1,623 Views)

Thank a lot for the infos,,, it was succesful

 

one last question Smiley Tongue : how can I modify my program that the user can only work with it but not change some thing in the program? only the frontpanel should be accessible for the user

 

 

0 Kudos
Message 16 of 28
(1,596 Views)

hi ago,

 

you may:

- switch on password protection of the block diagram (as is done in some of the vi.lib functions)

- make an application from your vi (if you have the application builder in your LabView installation)

- save your vi with options and remove the block diagram (don't forget to make a safety backup before - you have been warned!)

 

I would opt for item 2, as that's the usual way to hand out software to the user - just give them executables, no hazzles with development environment in user interaction...

Message Edited by GerdW on 09-30-2008 03:59 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 17 of 28
(1,584 Views)

hi guys

 

i actualy bought and activated the application builder,,,if someone has some suggestion how to create a executable interface please let me now,,,

0 Kudos
Message 18 of 28
(1,469 Views)

Hi ago,

 

Im sure there's some manual you can read!

 

Well, create a new item in the project explorer, choose "executable" and follw the assistant. Then create another item "distribution" to create an installer - and also follow the wizard... 

 

But: RTFM! 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 19 of 28
(1,464 Views)

hi gerd thank you for the answer

 

no NI did only send e code for the activation

i will check the internet for a manual

 

 

0 Kudos
Message 20 of 28
(1,462 Views)