LabVIEWForum.de - How to increase array element on FPGA

LabVIEWForum.de

Normale Version: How to increase array element on FPGA
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Hi all,

I'm quite now to Labview. I used Perl, Ruby, PHP and C before, but I have big problems to get used to work with Labview.

How can I port the following piece of code to my Labview FPGA VI?

There is a given index i and I want to increase the i-th array element. The array was initialized with zeros before.

Code:
array[i] += 1


Best,
Robert[/code]
Hi Robert,

you can use all these array-functions in LabVIEW with FPGA-Module:

Array Functions
http://zone.ni.com/reference/en-XX/help/...y_palette/

(18.11.2011 13:29 )RobertR schrieb: [ -> ]There is a given index i and I want to increase the i-th array element. The array was initialized with zeros before.
Code:
array[i] += 1

I think the following example code should help you out:

[attachment=37260]

Best regards,
NWO
Thanks a lot!
Referenz-URLs