From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i shorten series of writing strings

Hi all!
My problem is following.. I need to write serias of strings to a power supply to scan the field with specific interwals. such as %scurr 0, %scurr 0.03, %curr 0.06... and i need to take a measurement with a multimeter between each step. Well, I can do that by using sequence loops for short range. But the problem is when i want to scan between 0 and 20 with step of 0.03 ,i have top use around 300 loops.
is there anyway to make it easier? what kind of vi i hould create?
thanks
0 Kudos
Message 1 of 4
(2,267 Views)
Is the attached picture helpful ?
Although not neetly done...
 
_Deepu
Message 2 of 4
(2,263 Views)

Looser,

You really need to understand that there is no such thing as a 'sequence loop'. It is a sequence structure and does no looping. The example provided by Deepu has a real loop. In this case a for loop. There is also a while loop and a timed loop. A sequence structure is just used fo control execution order is usually not required at all.

0 Kudos
Message 3 of 4
(2,246 Views)
thanks Dennis!

0 Kudos
Message 4 of 4
(2,240 Views)