LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stepping

Solved!
Go to solution

Image...

 

wait_bd.JPG

Message 11 of 44
(464 Views)

Ooo yes this is what I need; I didn't remember that I can do this with local variable...

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 12 of 44
(459 Views)

But still, this is not working as I need. I need "output number : 13,17, 11 ... " as control, because I will connect this to "Concatenate Strings". I try as in picture bellow, but is not working, string2 as control is working fine, but string3 as indicator is not showing right values.

 

Thanks for sharing ideas...

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 13 of 44
(444 Views)

At this point my suggestion to you is to read about the basics of LabVIEW programming.

 

You can use a local variable for a control as well as an indicator.

0 Kudos
Message 14 of 44
(438 Views)

Well I tried, but at "string2" number changing right, but if I put indicator on this "string2" it's not working, you can try and you will see. So this means that when I need to control something with this will not working...

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 15 of 44
(423 Views)

I still dont know what you're trying to do.

If English isn't your native language then post in your language.

Someone here will translate.

 

You want to trigger something depending on what the value of 'String' is?

 

wait_bd.JPG

0 Kudos
Message 16 of 44
(420 Views)

I don't see any need for a sequence structure or local variables. You can use a for loop and pass it an array of strings and an array of waits. Write directly to the string indicator. You would only need to use a local variable if you wish to pass it to a different part of the block diagram. The example you posted will obviously not work since the string2 and connection to string 3 is not inside a loop.

0 Kudos
Message 17 of 44
(411 Views)

There's not a need for sequences or local variables.

 

However, this is what the OP seems to understand at this point. Thats why I left it that way.

0 Kudos
Message 18 of 44
(408 Views)

Hi, thanks for help but it's not what I want. Once again:

 

I want to generate number as one string in that order:

value 13.5 for 5 seconds after this finished, I want at same string for 6 seconds value 17 and after this finished I want value 13.5 for 5 seconds; This is just example what I want to do. I need this values, because I will seending this to visa write; and each of this values represent VOLTS for power supply. I hope now is all cleared, and once again I don't want 13.51713.5....or any other thing.

 

Thanks again for your help.

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 19 of 44
(394 Views)
Solution
Accepted by hlod

Trivial with a for loop as I mentioned. I see no reason why your VISA Write would be separate.

 

 

 

You might want to take the basic LabVIEW tutorial.

Message 20 of 44
(387 Views)