10-24-2008 05:52 AM
hi
I am using labview 8.5.I have worked on it for 3 weeks only.I wanted to know that can we create hex file from labview? So that we can download it in microcontroller to carry out some specific work...
if yes then i would like to try.i just thought about it ,so i'm asking.
Thank you.
gak
10-24-2008 06:11 AM
The thing to look into would be LabVIEW embedded. LabVIEW has toolkits assosiated with ARM, blackfin and FPGA deppending on your application.
take a look at the NI website here http://www.ni.com/embedded/ for general information. What kind of microcontroller are you hoping to use?
best regards
10-24-2008 10:58 PM
hello,
Thank you for your reply.I am familiar with UC 8051,89c51,89s51.I am new to labview.I was curious to know about this.
I would like to work on it in future...so i will serch more about it now. .
Thank you again
gak
09-14-2013 02:19 AM
hello,
I am familiar with UC Atmega8. I am new to labview. I would like to know about how to generate hex file.
Thanks & Regards
SRIKANTH
09-14-2013 02:36 AM
09-14-2013 11:00 PM - edited 09-14-2013 11:04 PM
The answer that Dennis gave is absolutely correct, but you should also know that in a way your question is nonsense. You need to remember that all any file contains is a series of binary 1s and 0s.
Now some files we agree to interpret by grouping those bits in groups of 8 and assigning certain agreed-upon logical associations to those 8-bit groups. One set of group we have decided will represent letters, while other groups are interpreted as representing numbers or punctuation. These files we call "text" files because we have all agreed to interpret the 1s and 0s in it in a particular way - as text.
Now there are other files (that we arbitrarily call "binary" files) where we have agreed to not use the 8-bit groups to represent letters or numbers. In fact, sometimes we don't event group the bits in groups of 8 anymore. Sometimes we group them with 16, 32, or even 128 bits in a group. There is nothing inherently different between these files and what we call text files. The only distinction is how we interpret what is in them.
Now you asked about a "hex" file. This is just another way of grouping and interpretting the 1s and 0s. Here, the bits are first grouped by 4s and then each of the 16 possible combinations is interpreted as a number - note that is this interpretation the letters "A" through "F"; get redefined as numbers. The resulting number interpretations are then grouped further into groups of 2, 4 or 8 numbers. But again, the only thing that distinguishes this file from the others is how we have agreed to interpret it.
This is why the answer Dennis gave is true. You can use the binary write function to write any data into any file. Of course if the 1s and 0s you write don't match the assumptions of the program that is going to be opening the file, the write will do more harm than good.
Mike...
09-15-2013 05:54 PM
There is also the Intel HEX file format, that is commonly used with microcontrollers. If you are writing code for a microcontroller, it is common for the compiler to output a .hex file in this format and then a microcontroller programmer takes this hex file, converts it to binary, and writes the binary code to the microcontroller.
But I'm not sure if this is what the original poster was talking about. Perhaps the OP could elaborate?
09-29-2013 12:16 PM
ya i was talking about the same, the generation of .hex file to burn it to the microcontroller
@MIG wrote:
There is also the Intel HEX file format, that is commonly used with microcontrollers. If you are writing code for a microcontroller, it is common for the compiler to output a .hex file in this format and then a microcontroller programmer takes this hex file, converts it to binary, and writes the binary code to the microcontroller.
But I'm not sure if this is what the original poster was talking about. Perhaps the OP could elaborate?
09-29-2013 01:14 PM