And if it is a client tag change script, I can see the result in the output console, correct?
@dkhayes117 happens to the best of us
@pkhoshroo Correct. Though honestly after using logging in the client I much prefer it to print statements as it won’t get flooded out by other java swing errors that may occur.
Now I should make all my scripts organize to find the answer to my original question. Thanks a million!
I don’t recommend print statements in Vision if there’s any chance your script will run in the background. The print statements probably won’t come through in that case. The logged messages do.
- created a memory tag called “BarcodeScan” in my default tag browser, this tag is being used by the barcode scanner.
- Then I created a client tag change scripts using client events called “DefaultScreen” and have that to be triggered by the BarcodeScan tag:
- I wrote a single line script:
And THAT’S IT!!!
Now whenever the new barcode value is entered, the default screen (Top) will be shown.
It was very easy!!! I do not know why I made it so complicated in my head!!!
That is correct! Thank you!