LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Function Panel variable not terrminated.

I created a function panel and added a variable for the GPIB addresses using Code/Declare Variable. When I run the panel it says that I have a "Non-terminated address list." How do I terminate it: addr_list[31] is the variable.
0 Kudos
Message 1 of 2
(2,776 Views)
If you look at the function panel help for that argument it explains it. Right-click on the Address List parameter in the function panel and you will see that it says to terminate the list, there needs to be a -1. Note, this is an INPUT to the function specifying which addresses to search for listeners. This should be an array with values like 1,2,3,4,5,6,..., -1.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,776 Views)