I am trying to build a serial communication between LabVIEW and PIC18F4550 through rs232.
I am developing a vi based on "Basic Serial Write and Read.vi".
Can I write a C script and compile this script into hex code before feeding the data into PIC18F4550 through rs232?
Is this possible to be done within LabVIEW or do I neeed to call external program, such as ccsc.exe, to do the compiling work?
Thank you very much.
Do you have a bootloader for the PIC that monitors the serial port to see if there's new code available? If so, the answer is that you can use LabVIEW to send the new code to the PIC. Otherwise you have to use the programmer.