LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using occurence to stop measurements but allow main program to peform analysis & printing of results

Hello,

 

I am trying to use a higher level VI to take resistance measurements from the HP34401A DMM and be able to stop the measurements without stoping the high level vi. I found out about using occurrences and am trying to implement that method though I'm not sure this is the best way to go. Should I be using notifiers? I have LabVIEW 2011 Base.

 

I would like to do the following:

 

1. Start program & take measurements to infinity (which stops at 512 I believe) - note I cannot use the trigger count as this will be n which is why I need to manually stop the measurement process.

2. After measurements are taken plot the histogram and peform calculations (I have this part written but stripped it from the VI I attached to simplify it).

3. Have the user choose to press the print button and print the data to a sub-VI.

4. Stop the program.

 

Please advise, I'm still a noob at this!

Download All
0 Kudos
Message 1 of 3
(2,398 Views)

I saved the files to version 8.6.

Download All
0 Kudos
Message 2 of 3
(2,383 Views)

Hi elements,

 

Here are some resources which you will probably find relevant for your application. I would suggest spending some time looking trough them and deciding which is best for your particular case.

 

http://zone.ni.com/reference/en-XX/help/371361H-01/glang/occurrence_functions/

 

https://decibel.ni.com/content/docs/DOC-5211

 

http://zone.ni.com/reference/en-XX/help/371361F-01/glang/notification_vis/

 

http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/hndl_notifiers_loop/

 

Regards,

 

Josh Brown

Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,349 Views)