04-27-2017 05:10 AM - edited 04-27-2017 05:17 AM
Hi I make subtract program with visa.
I attach my program.
When click the Task START button, program will be start.
User rest 15 seconds and do subtracting 15 seconds repeatedly.
In my program user delete the answer when user input the answer.
But, this delete procedure is inconvenient.
I want delete answer(numeric properties) regardless of answer correct or not.
How can I do it?
In addition, How do the cursor automatically click the numeric properties When user enter the answer.
I want to make user enter the answer using only keypad.
Solved! Go to Solution.
04-27-2017 07:44 AM
This is a wonderful example of how to "complexify" and "complicate" a task to the point where only you have a clue what is going on. It also doesn't help that one needs to scroll the window in order to see the entire Block Diagram.
Here are some questions:
Bob Schor
04-27-2017 11:34 AM
A: Yes, I receive the data from MCU by UART communication.
A: The sending data is data of multi channels, so labview program have to distinct each data.
The 0x0A is protocol of communication.
A: BinaryToVolt convert uint16_t data to voltage scale(0~3.3V range).
A: The data is send continuous every 5ms. So VISA read data repeatedly.
In my program VISA part has not problem.
A: Simply, I want to make calculator like window calculator program.
It can input the value and Enter without delete the before value.
Ex) input 10, enter, input 7, enter, input 9, enter.
But my program, input 10, enter, click numeric properties, delete value, input 7, enter, click numeric properties, delete value, input 9, enter
I want to click numeric properties, delete value, procedure.
04-27-2017 08:01 PM
Here's an outline of a routine that poses a random addition problem (you can also have it do subtraction and multiplication -- division will be trickier -- by making the "op code" randomly "+", "-", or "x"). You use the keyboard to input your answer, then hit <Return> to enter it. At present, you need to click/clear the answer for the next round, but you can also programmatically clear it (I'll leave that as an Exercise for the Reader).
Bob Schor
04-27-2017 08:08 PM
Thanks Bob_Schor ,
I solve very simple method.
The key focus select value, and i can input only value and enter.
I attach my solution below.