Hi priyadamico,
You can use a case structure to select the value you want to supply to the Y input on the graph. Wire in the Current Combo Box, and make a case for each command you are sending to the instrument ("I/E 0", etc).
Please refer to the image attached.
Trevor B.
PSE
National Instruments