You can provide the user controlled input by performing following steps:
1. Open VBAI and capture the picture.
2. Modify the Inspection Interface, by clicking
Tools ->
Inspection Interface Configuration3. In the Configure Inspection Interface window select
Create New Custom Inspection Interface from: (choose one, most suitable option for your application) and then click
Edit ![](/servlet/rtaImage?eid=ka03q000001EU6z&feoid=00N3q00000HUsuI&refid=0EM0Z000000Sh95)
4. In the NI Vision Builder AI - Configuration window add needed controls from the palette (e.g. numeric control called "Numeric INPUT"), click
OK![](/servlet/rtaImage?eid=ka03q000001EU6z&feoid=00N3q00000HUsuI&refid=0EM0Z000000Sh9A)
5. Click
OK in the Configure Inspection Interface window
6. From the Inspection Steps functions, select
Use Additional Tools, and then click
Set Variable function
![](/servlet/rtaImage?eid=ka03q000001EU6z&feoid=00N3q00000HUsuI&refid=0EM0Z000000Sh9F)
7. Click
OK if No User-Defined Variables window pops-up
8. In the Variable Manager window click
Add9. Write a name for your variable, choose a type and an initial value, click
OK ![](/servlet/rtaImage?eid=ka03q000001EU6z&feoid=00N3q00000HUsuI&refid=0EM0Z000000Sh9K)
10. Click
OK11. In the Set Variable configuration window, in the Operation tab select
Set to Measurement12. From the drop down list select
User Interface Control - Numeric INPUT, click
OK ![](/servlet/rtaImage?eid=ka03q000001EU6z&feoid=00N3q00000HUsuI&refid=0EM0Z000000Sh9P)
Now the value will be stored in your created variable and can be used in your VBAI sequence.