LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

auto indexing

Hello , Here's a question i need some help with . If i create a FOR loop with auto-indexing and wire a particular numeral value (a constant) to the count terminal . I am able to run the loop with values ultimately stored in the array.(trial.vi) But , if i want the count terminal value to be a product of certain numbers and try to do the same, it results in the error " Output array indexing can only be performed using a For loop with a constant wired to its count terminal " .(trialnew.vi) Is there any possible way where I could i use a constant that is product of two or three numbers wired to the count terminal?. Thank you . Regards Mano
Download All
0 Kudos
Message 1 of 13
(4,241 Views)
Hi NonameNof… ,
sorry but i see no error in your vi!
Mike
0 Kudos
Message 2 of 13
(4,239 Views)


NonameNoface wrote:
 But , if i want the count terminal value to be a product of certain numbers and try to do the same, it results in the error " Output array indexing can only be performed using a For loop with a constant wired to its count terminal " .(trialnew.vi)
This error makes no sense, I have never seen that error, and don't see if in your attachments. Wiring the result of a calculation to N is common usage and perfectly legal.
  • What is your LabVIEW version?
  • Can you show us a screenshot of the error you are getting.
0 Kudos
Message 3 of 13
(4,225 Views)
Hi , Maybe , i should have added that i am using this along with a speedy 33 which might be a possible reason . But i don't know . I am attaching the screenshot of the error. The version of Labview that I am using is 8.5. Mano . Message Edited by NonameNoface on 04-21-2008 07:11 AM

Message Edited by NonameNoface on 04-21-2008 07:12 AM
0 Kudos
Message 4 of 13
(4,195 Views)

Hi NonameNoface,

i´m not familiar with the speedy 33, but maybe this works for you.

Mike

0 Kudos
Message 5 of 13
(4,179 Views)
Mike , Thanks for your reply .. but that results in errors too. Regards Mano
0 Kudos
Message 6 of 13
(4,159 Views)
Is your target a PC?  It looks like the Speedy 33 is a processor based piece of hardware.  It is most likely that you have to statically define memory in the chip, and that is what the error means.


Message Edited by Matthew Kelton on 04-21-2008 09:39 AM
0 Kudos
Message 7 of 13
(4,142 Views)
Try to post this in the board for LabVIEW embedded
.
0 Kudos
Message 8 of 13
(4,116 Views)
Are you getting the other on other computers as well? Is this is first time that you are getting this error? Have you tried this using another VI?

Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 9 of 13
(4,083 Views)
Hello all, My target is the speedy 33 Kit . I have not tried this on another computer.This is the first time I am getting this error becasue i have not tried using this option of wiring a product of certain numerals to the count terminal before.But it is interesting, because, should I use a constant value wired to the count terminal , it works fine without an error. I did try it on a new VI. it results in the same error . and to add if i do the VI without the speedy 33 interface , I am able to wire a product of two numerals to the count terminal .So its something to do with the speedy 33 I guess, but i am not sure what in particular about the speedy 33 causes this error . Thank you .. Mano .. p.s - and how do I statically define memory in the chip ? .

Message Edited by NonameNoface on 04-21-2008 08:16 PM
0 Kudos
Message 10 of 13
(4,071 Views)