LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview talk vs pic microcontroller

Hi
I am currently on LV6.i, trying to program a PIC chip through rs232 com port but really do not know how to start it since i only have a knowledge of GPIB programming.
OK, here is what I plan to do:
My test board had 4-5 analog signal, I try to use a micro chip to pickup these signal and converted into digital from that point LV can talk to a chip and pickup these signal and convert it back to analog so now i will have a parameter on my interface user panel, this is just a basic plan but that will save us alot of $$$ from buying GPIB equipments.
Please, help me with some direction,
All your help are greatly appreciated.
 
0 Kudos
Message 1 of 3
(3,704 Views)

You don't say which PIC device and there are lots. But the advice that follows is probably pertinant for most of the devices e.g. PIC16F84, PIC16F877 etc.

You will probably want to implement a serial interface on the PIC device using something like the MAX232 interface chip to generate RS232 level signals to and from the PIC device. (One can of course use 5 volts via the parallel port if you don't want RS232, but then it all becomes a bit P.C. specific).

Some code will need to be written to send and receive serial data on the PIC device and do some conversion somehow, depending on the A/D scheme.

A design that I saw for a PIC16F84 used a quad op amp for the RS232 interface, stole power for the PIC using the DTR and DSR lines. The A/D was implemented as an F/V convertor and comparator arrangement, all this was then multiplexed through a couple of DG208's (I think) for 8 input channels.

L.V. 6i will certainly do the P.C. side (based on significant personal experience in this area) so you should have no problems there.

You might try the following resources on the web,  there are some good free utilities..... and using Google you can find inumerable free PIC programmer designs and tutorials.

http://www.mikroelektronika.co.yu

http://www.dontronics.com/index.html

http://www.dontronics.com/index_b.html

www.microchip.com

Hope this is the sort of help you needed.

0 Kudos
Message 2 of 3
(3,694 Views)
Hi Conseils,
Thank you very much for your information, this is very helpful info at the 1st phase, I am going to order these parts  base on your opinion. will let you know how it works
Thks
0 Kudos
Message 3 of 3
(3,687 Views)