11-03-2022 07:56 AM
@1984 wrote:
@PalanivelThiruvenkadam wrote:
my reply was completely based on body of your post. i failed to refer your Subject.Uhm... No. Your answer had nothing to do with the body of my post as my question was super clear: how can I grab text highlighted in yellow? Your answer had nothing to do with grabbing the text highlighted in yellow. If you dont know the answer thats fine (me neither, thats why I've asked), but then you should not respond.
Are you okay? Do you need a hug?
11-03-2022 08:58 AM - edited 11-03-2022 08:59 AM
Sadly this information is processed by the gui just to be readable and can not be accessed programatically imho.
As you said by yourself, getting the information it is a cluster, it needs to be extracted and processed again.
I added a vi for you, I hope that helps to get the basic idea.
11-03-2022 09:49 AM
Sorry, there is no way to programmatically access the string in the variant indicator; except for the following:
11-03-2022 02:06 PM - edited 11-03-2022 02:06 PM
@billko wrote:
@1984 wrote:
@PalanivelThiruvenkadam wrote:
my reply was completely based on body of your post. i failed to refer your Subject.Uhm... No. Your answer had nothing to do with the body of my post as my question was super clear: how can I grab text highlighted in yellow? Your answer had nothing to do with grabbing the text highlighted in yellow. If you dont know the answer thats fine (me neither, thats why I've asked), but then you should not respond.
Are you okay? Do you need a hug?
🤣 🤣
11-03-2022 03:05 PM
Theoretically, this should work (but it doesn't):
Of course it's still possible that if you put the right magic values in the array, you might get what you want.
11-04-2022 01:33 PM
If you want to get kludgy, try this.
11-05-2022 04:19 AM
Also we can invoke the "save terminal image" (something like that) method and then do OCR with vision builder. I guess t.n.14 nailed the solution, just need a bit of a recursion.
11-06-2022 02:37 PM - edited 11-06-2022 02:39 PM
I was deliberating with myself for a while if I should post this. But here it is. It's literally the exact thing that was asked for initially.
Warning:
This is calling an officially undocumented LabVIEW function. It should be present since around LabVIEW 8.20 or so. As an undocumented function NI has the right to change or remove this function at any point in the future and it may therefore crash, sing a lullaby or or eat your hard drive if you are unlucky. Test very well before you decide to use this in anything but experimental code!
11-06-2022 03:59 PM
11-07-2022 05:21 AM - edited 11-07-2022 05:23 AM
That's what you get for quickly posting without in depth tests. This one works on my system. I had been using this function in some experimental C code a while back and quickly transferred it to a VI.