LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

FileToArray or readline to read a file and show the information in a textbox

Solved!
Go to solution

I used the last few days to improve my C skills. Now I understand the benefits of structures. I read the file no longer only in an array. I started using fread, to save the file  into a structure and divide the data into logical components. In this way I can handle the structural logic then saved a lot better on. By using the structures of the source code is much easier and shorter. Previously I had too many variable names which already have me totally confused.

To deal with hexadecimal numbers, I had completely misunderstood. Now I know that it is only a matter of output. The presentation in tables is still under construction. By saving in a structures have not be all too difficult.
I thank you very much for the nice and competent help.

 

0 Kudos
Message 11 of 13
(1,237 Views)

You're welcome! Smiley Happy

Feel free to ask again if you have any further doubt.

 

If you want some hint on using tables I suggest you to start a new thread as that argument is notably different from the one of this discussion.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 12 of 13
(1,234 Views)

All new C-learners I have been dealing with (interns, new engineers, etc..) tend to think hexadecimal as a separate data type, and they think an integer must be converted to hex in order to perform correct arithmetic operations.

Well, hexadecimal is just a representation as you already figured out.

 

This looks like a default learning curve for our minds on this subject 😉

S. Eren BALCI
IMESTEK
0 Kudos
Message 13 of 13
(1,221 Views)