05-11-2022 10:19 AM
So this sounds like a general programming question, not specifically related to LabVIEW. It would help us to know how much programming experience you have in general.
05-11-2022 10:20 AM
Mr. Altenbach, would you please create a code so I can better understand?
05-11-2022 10:21 AM
Not a lot of programming experience. I have a lot to learn.
05-11-2022 10:37 AM - edited 05-11-2022 10:38 AM
@GRCK5000 wrote:
Not a lot of programming experience. I have a lot to learn.
Not a bad thing. We can mold you into a useless blob of Jell-o. I mean a hardened veteran programmer. Or at least not a raw recruit.
05-11-2022 10:40 AM - edited 05-11-2022 11:17 AM
"a useless blob of jell-o" 🤣. I was like what? Thanks Bilko. I appreciate it. This is the main reason I am in here. I want to be like you guys.
05-11-2022 12:01 PM
My first thought is a Queued State Machine (I like JKI's). Then the code is in one state that you call whenever/however you want.
05-11-2022 12:06 PM
I know exactly what you mean, but can you create a simple just so I can see how it works. I really want to learn these stuff.
05-11-2022 02:05 PM
05-11-2022 03:38 PM
Thank you very much, Mr. Altenbach for sharing the code. I spent quite some time trying to process it. I need an explanation on the part of the code shown below:
So when I use the probe where I have the red arrows. I was getting number from 65 to 70 and these numbers correspond to A to F, respectively.
My question is how do you know these conversions? Do you have a table that you can share maybe?
From decimal to hexadecimal conversion: 10 corresponds to A, B >> 11, C >> 12, and so on.
Can you please explain to me this conversion from the code?
05-11-2022 03:59 PM
See https://www.asciitable.com/
Another method, make a For loop in LabVIEW where N=256, change the i terminal to a U8 number and do the conversion.