11-09-2006 01:31 PM
11-09-2006 02:33 PM
Hello Chuck,
This does seem to be a problem in the LV FPGA diagram and implementation of the In Range function. LV R&D is aware of this issue and will address it.
In the short term the easiest solution is to put a For loop around the In Range function and process each element individually.
A second solution which runs a bit faster than the For Loop is to use a Single Cycle Timed Loop, but it will require a little more logic to handle the Stop condition and Fixed Size array.
I have shown each of these solutions in the attached image.
11-09-2006 03:01 PM
Thanks Christian,
I thought I was just being dumb. I'll try your solutions until NI comes out with a fix.
Chuck
12-04-2006 11:33 AM
The only primitives in LabVIEW FPGA that support arrays and clusters for polymorphic generation are unary and binary operators (1 or 2 input, 1 output). The fact that this is caught at edit time instead of at code generation time is a benefit 🙂 We will consider this a feature request (not a bug) to be able to support other operations with n inputs.
Regards,
Joseph D.
National Instruments