LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MKS PR4000 CONTROLLER driver for labview 8.6

Thank's Blokk for your instant response. I've done the following and it seems that is working fine. 

 

 

0 Kudos
Message 71 of 80
(1,473 Views)
You could use a while loop instead of the FOR loop. Also, stop the loop if there is error, or if you click on a stop button (use a logical OR function). After the loop, you only need to use a single "stop" vi (or release, cannot remember the name of the subVI to release the com port), do not use 4 of them 🙂
0 Kudos
Message 72 of 80
(1,467 Views)

Thanks for the advice. I don't think I need to put a stop button because the code in my photo is essentially a sub-VI and it stops when i click the stop button from the VI. 

About the multiple ends out of the loop; I have to keep one end VI and connect it with one component? 

0 Kudos
Message 73 of 80
(1,455 Views)
Using the red abort button to stop a running vi is a brute action and should be never used for normal applications. I do not understand your explanation: if you use this vi as a top level vi, you should use it with proper stop button. If this is a subVI called from a main vi, I guess you run it for a predefined times using the for loop? This part is not clear. About the "stop" pr4000 subVI from the driver: you can connect it to an error output after the loop. But you do not have proper error handling either, this should be fixed, as I wrote before. The four subVI in your loop as you use it, does not make too much sense either: you try to read out four values in parallel. You do not understand how a FGV works: even if you placed these subVIs parallel, at once only one of them can be executed (non itinerant execution). So just place them in series, using a single error wire...
0 Kudos
Message 74 of 80
(1,452 Views)

Yes, it's a subVI and it runs for predefined iterations. Thank's.

0 Kudos
Message 75 of 80
(1,446 Views)

This program is very useful to me, I hope you can send me a copy, thanks

0 Kudos
Message 76 of 80
(1,403 Views)

@hcg945 wrote:

This program is very useful to me, I hope you can send me a copy, thanks


You should properly specify what you are asking for, and from who? We cannot read your mind 😉

0 Kudos
Message 77 of 80
(1,397 Views)

Hello,

I'm interested.

Can you send me a zip?

My email is caterino.stringola@enea.it.

 

Thank's

0 Kudos
Message 78 of 80
(1,312 Views)

What specifically are you asking for and from who? Might be easier to get the zip if it's a little bit more specific. 

0 Kudos
Message 79 of 80
(1,293 Views)

Can you share the labview vi with me as well?

0 Kudos
Message 80 of 80
(816 Views)