VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing custom device FIFO array element by name

Hi,

Some of my custom devices have a large number if I/Os. Because the FIFOs are arrays, my custom device RT driver VI has been referencing them by indexing the arrays. Is there a recommended method to reference FIFO I/Os by name, and preferably the same name as the channel names that are created by the initialization VI? Referencing array elements by index can get very confusing and not very flexible if I need to add or remove custom device I/Os. Thanks.

0 Kudos
Message 1 of 2
(4,364 Views)

You could use an enum diagram constant to wire to the index terminal of index array. Make the item name correspond to the element name.

Message 2 of 2
(4,359 Views)