LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

E3631A DC power supply control issue

Hi all,

 

I am a Labview begineer and i start modified and run with the example. I have some diffuculty with my program:

  1. The stop function is not work with the for loop, so how can i force terminate the program with reading refresh function.
  2. How to set the refresh rate for write/read data.

 

0 Kudos
Message 1 of 3
(2,340 Views)

Why on earth would you use a for loop? You've already shown that you know how to use a while loop. Your mistake is placing the initialize/configure functons inside the while loop. Get rid of the for loop and just have the read function inside the while loop.

 

The simplest way to set the refresh rate is with a Wait/Delay function inside the loop.

0 Kudos
Message 2 of 3
(2,323 Views)

It's done, thank you!

0 Kudos
Message 3 of 3
(2,296 Views)