LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to build a CMOS/TTL to RS232 convertor with Labview7.0

my GPS receiver provider a serial CMOS/TTL commnication port and I have a PCI-6014 DAQ card. How to program UART in abview7.0 to convert CMOS/TTL siganal to RS232 protocol signal by using PCI-6014 DAQ.
Thanks
0 Kudos
Message 1 of 7
(3,562 Views)
Why can't you plug your GPS on the RS232 port and read il with LabVIEW ?
Doc-Doc
http://www.machinevision.ch
http://visionindustrielle.ch
Please take time to rate this answer
0 Kudos
Message 2 of 7
(3,562 Views)
To use the RS232 Port he might need a circuit to shift (and mostly invert) the TTL level to RS232 levels.
traditional solution is a maxim IC that does the job.
shematics can be googled 'TTL RS232'
Even if he buy a ready device that will be cheaper than the DIO solution 😉
Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 3 of 7
(3,562 Views)
Yes, probably it will be a good idea to convert the data from the TTL port of your GPS receiver to RS 232 signal (pass the signal through a RS 232 driver). You can then use LabVIEW to read it directly.
What are you using PCI-6014 exactly for?
Good luck !
0 Kudos
Message 4 of 7
(3,562 Views)
A simple way is to use a chip hardware convertor. But it is possible to program a UART protocol driver with labview. I'm very appreciated if someone can provide the driver code or some advice for the driver programming.
0 Kudos
Message 5 of 7
(3,562 Views)
I just use PCI-6014 for GPS CMOS/TTL signal acquisition
0 Kudos
Message 6 of 7
(3,562 Views)
Can you explain your ideal in details.
GPS send serial singals with CMOS/TTL level which can not be accepted by RS232. So I want to read it through DIO of PCI-6014 and process these signal using labview.
I need extract real data from these signals.
In this project, we need this software driver instead of hardware convertor from TTL to RS232 (such as DS275 or MAXIM MAX232 chip)
0 Kudos
Message 7 of 7
(3,562 Views)