LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

set first item in Ring control to value 1

can someone tell me how to assign a number to a Ring control value. I want them to start with 1, not 0.
I reached that one time accidentally, but I don't know what have I done ? Please tell me how to do that
0 Kudos
Message 1 of 5
(2,919 Views)
You could always just add a Functions->Numeric-> Increment (+1) to the output to up the index.

Alternatively, leave the zero index as a blank value, set index=1 as your first case, then set the Data Range to have a minimum of 1.

I don't think in LV you can bypass the zero index of the ring (wasn't it available in CVI or LWin though?).


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 2 of 5
(2,919 Views)
LabVIEW 7 allows for rings to have arbitrary numerical values. For instance, you can have apple with a value of 223 and pear with a value of 2.
0 Kudos
Message 3 of 5
(2,919 Views)
I am using LabView 6.1
I must be able with this version, too!
I started developing with version 7 and imported it to 6.1 and I have one Ring control which starts with value 1 so I has to be possible in 6.1 as well but I don't know how!
0 Kudos
Message 4 of 5
(2,919 Views)
Sparse rings came in w/ LV 7. That control must have been an import.

Here's a longer thread on this topic:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000031990000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=zero+ring&USEARCHCONTEXT_QUESTION_S=0


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 5 of 5
(2,919 Views)