Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

Help me about communicating PIC microcontroller with Labview

Hi everybody!!!!!!!!

I have a few issues about data acquisition in Labview,so i need your instruction.

     Right now,I want to practise a project about the serial communication with PIC16F877A microcontroller ( a microcontroller of Microchip,40-pins,already integrated 10 bit A/D module,with 8 channels)  ,developing the user interface in the Labview 8.0 software.

     My goal is data acquisition from multiple sensors:such as LM35 temperature sensor and a pressure sensor,analyzing and display the data-time graph in Labview

     I intend to use ANx-pins (analog input pins,having 8 pins) in PIC16F877A,connecting to data-pin from sensors,then I use the TTL outputs of the PIC in combination with a MAX232 serial driver chip.As you know,the mAX232 simple converts the TTL outputs to RS232 outputs and forword them on.

     It is of no use to be able to collect various sensor readings into the PIC if there is no-way to transfer that data to a location where a user can use it.To solve this problem,I choose to implement a standard RS232 serial link between the PIC MCU and my personal computer (using DB9 COM terminal)

     This meant that I would need to initialize the A/D converters each time I want to read from a different A/D sensor because the two sensor dit not share a common configuration.

     My troubles is how to transfer data from sensors through PIC MCU to Labview,using RS232 standard,how to program for Labview,which I have to use:files of Serial communication in Serial.VI,or DAQ funtions in DAQ pallete?

   P/S:Sorry,my English is not good,expecting your sympathy!

   If it is impossible,you could send me an instruction or the same examples in detail,my mail:sonluong20022002@yahoo.com

THANK YOU VERY MUCH!!!!!!!!

0 Kudos
Message 1 of 2
(10,344 Views)
It would be best if you were to re-post this to the LabVIEW forum.
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 2
(10,342 Views)