Jose,
> First, how do you create a VI to initialize the tables
When you configure the LUT, in the dialog click on Call Initialization VI... . Then in the Mode dropdown select Create New Initialization VI from Template. Select a new VI name and press Ok. This will create a new VI in the specified location that you can use to initialize the LUT. Then select Edit Existing Initialization VI in the dropdown and press Ok. Modify the new VI to create the array of numbers you want in the LUT. Save the VI. Then go back to the LUT configuration dialog dropdown and select Run/Load Exisiting Initialization VI. Select your VI and click on Ok.
> how do I use the LUT across my program, since I have to access different instances of the same look up tables.
This is not directly possible using the LUT. Using local variables or other mechanisms you would need to implement code to retrieve data in multiple locations from a central LUT. For your requirements the Memory Extension Utility is a better tool to use. This tool allows you to define multiple memory blocks, set the data in each memory block during development, and access each data block from multiple locations in your diagram.
> One of the inputs is the address, if I have five different LUT how is this address handled?
The address space for each LUT and memory extension utility memory block is handled separately starting at 0, so you do not need to worry about special considerations.
authored byChristian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX

