LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ using pic24, need help.

Hello,

I am a little new to this and am looking for help for a project. I am using the stated uC and implementing an EMG design in LabVIEW. The first challenge is Data Acquisition where I cannot get it working. My uC is programmed properly (I believe) and I am trying to use the Advanced Serial Write and Read vi example. While running and trying different pins on my pic I cannot retrieve any digital input. From MPLAB and the bootloader, I am receiving input from a test wave function generator into a hex number.  The ADC is working properly, I just want to see these numbers in LabVIEW.

Any help would be greatly appreciated.
Danny

0 Kudos
Message 1 of 2
(2,281 Views)

You shouldn't be trying random pins on the PIC - find out which ones are used for serial communication and make sure they're configured properly in the PIC code.  Can you talk to the PIC from HyperTerminal (or another terminal emulator)?  That would be a good start.  If you're using a programmer that supports in-circuit debugging, put breakpoints in the PIC code and see if it's receiving data.  It sounds like this is more of a PIC question than a LabVIEW question, and if you can't get the serial communication working outside of LabVIEW you might want to try one of the Microchip forums for PIC-specific advice.

0 Kudos
Message 2 of 2
(2,276 Views)