LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stepping

Solved!
Go to solution

@hlod wrote:

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.


You said 'once again'... If you had described it this way the first time a whole lot of confusion would have been avoided.

Message 21 of 44
(1,214 Views)

Sorry;

 

I don't know why I was trying with 'case'. The main problem at me is that I always started wrong and then all complicate.. 

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 22 of 44
(1,209 Views)

Hi, I tried this method which is attached , but I need visa outside of for loop. How can I do this, try to disable indexing, but it's not working.

 

Thanks

 

 

PS: I have LV 8.5

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 23 of 44
(1,196 Views)

There's nothing wrong with that loop. The VISA resource is being passed in through a tunnel. And please explain "doesn't work". This means nothing without information as to what "doesn't work".

 

This is a very basic question. Really, have you done any of the LabVIEW tutorials, as has been mentioned before more than once? To learn more about LabVIEW it is recommended that you go through the introduction material, tutorial(s), and other material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. There are also several Technical Resources. You can also take the online courses for free.

0 Kudos
Message 24 of 44
(1,168 Views)

I didn't write that this loop is not working.

 

But I write that I need "write to VISA" outside of this "for loop" and if I try this is not updating values correctly. I also try with shift register and disable indexing also  local variable but without success, so one again I need value of number outside of "for loop" and not inside.

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 25 of 44
(1,165 Views)

I'm sorry, but I honestly have no clue what you are trying to do.

 

Maybe somebody else can understand what you are trying to say.

0 Kudos
Message 26 of 44
(1,163 Views)

Please see picture. For testing I use instead VISA,  indicator.

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 27 of 44
(1,161 Views)
It makes no sense to have your write outside the loop. Your image does nothing to explain why you want to do this.
0 Kudos
Message 28 of 44
(1,153 Views)

Well I need value outside of for loop !!!

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 29 of 44
(1,149 Views)
Then use a producer/consumer design as shown in the examples.
0 Kudos
Message 30 of 44
(1,145 Views)