Home
Community
Discussion Forums
Most Active Software Boards
LabVIEW
Topic
LabVIEW
Register
·
Login
·
Help
Community
Category
Board
Documents
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Forum Topics
Previous Topic
Next Topic
How can I make a for-loop go from (ex: -10 to 10) given the N-value of 10?
How can I make a for-loop go from (ex: -10 to 10) given the N-value of 10?
gwong
Member
07-01-2003
05:23 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
What do I need to do to the i-value to make a for-loop go from negative increasing to positive?
0
Kudos
Message
1
of 3
(2,534 Views)
Reply
Re: How can I make a for-loop go from (ex: -10 to 10) given the N-value of 10?
Al_S
Active Participant
07-01-2003
05:43 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
The iteration count in LabView always starts at 0. If you want a number in your loop to go from -10 to 10, wire 21 to N and subtract 10 from i. Don't use i directly.
1
Kudo
Message
2
of 3
(2,534 Views)
Reply
Re: How can I make a for-loop go from (ex: -10 to 10) given the N-value of 10?
gwong
Member
Author
07-02-2003
10:17 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Thanks, I figured a way around it.
0
Kudos
Message
3
of 3
(2,534 Views)
Reply
All Forum Topics
Previous Topic
Next Topic