03-10-2021 04:05 AM
Hi
im simulating a terminal and to exit the running test i have to send Ctrl+C. im using VISA Write/Read. everything works just fine except the Ctrl+C command.
i tried String: 03, 3, /03 accordingly to ascii table. but nothing seems to work.
thank you for your time
Mirjana
Solved! Go to Solution.
03-10-2021 04:36 AM
Hi Mirjana,
@MirjanaLaw wrote:
im simulating a terminal and to exit the running test i have to send Ctrl+C. im using VISA Write/Read. everything works just fine except the Ctrl+C command.
i tried String: 03, 3, /03 accordingly to ascii table. but nothing seems to work.
So there is a problem in your VI, but you don't attach that VI and still expect us to find the problem?
Have you also tried to send a byte containing the value "3"?
Have you tried to set your string to Hex display mode and then type the "03" value?
03-10-2021 04:57 AM
Hi GerdW
you already solved my problem, set to hex display mode did the trick.
i did not attach my vi because i knew it was not the problem, just didn't know how to send Ctrl. +C.
so thanks a lot for the fast reply
Mirjana
03-10-2021 04:58 AM - edited 03-10-2021 04:59 AM
03-10-2021 05:00 AM
yes set it to display hex solved my problem
thanks
03-10-2021 05:03 AM
Hi Mirjana,
@MirjanaLaw wrote:
i did not attach my vi because i knew it was not the problem, just didn't know how to send Ctrl. +C.
Well, your VI was the problem as your code was not created as you should have created the code…
But my magic glass ball was right!
03-10-2021 11:01 AM
Setting string constant's or control's mode to "\ Codes Display" and entering \03 (and not /03) would also have given you that result. It definitely was a problem in your VI so attaching that VI or at least showing your diagram or even better yet a snippet of your VI, would have made it easily recognizable without forcing Gerd to invoke his magic glass ball in guessing what the problem could be.