Hi,
I am new to programming in VEE and I have come across a problem. I am writing a program to test an FPGA board. I am using an Agilent 34907A to power the digital inputs and monitor the digital outputs. Since I am changing the inputs manually using a slider and two vertical slides, I want the program to be running constantly; therefore, I made an until break loop with an if statement that checks if a Quit button is pressed and if it is, the program stops, and if it isn't, the program keeps running. I found that my program behaves as expected the first time through the loop (with the initial conditions), but then when I try to change the inputs, the outputs do not change. Upon further inspection, when I change the digital inputs, they are not changed on the Agilent 34907A. Does anyone have any advice?
Thanks
I am new to programming in VEE and I have come across a problem. I am writing a program to test an FPGA board. I am using an Agilent 34907A to power the digital inputs and monitor the digital outputs. Since I am changing the inputs manually using a slider and two vertical slides, I want the program to be running constantly; therefore, I made an until break loop with an if statement that checks if a Quit button is pressed and if it is, the program stops, and if it isn't, the program keeps running. I found that my program behaves as expected the first time through the loop (with the initial conditions), but then when I try to change the inputs, the outputs do not change. Upon further inspection, when I change the digital inputs, they are not changed on the Agilent 34907A. Does anyone have any advice?
Thanks
You need to 'ping' the controls in your loop: for example if you have a slider control output connected to an instrument I/O object, connect the output of the Until Break object to the sequence in pin of the slider control.
Mike