LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

digital signal on a serial port

I have a problem to translate the digital signal from a serial port (ASCII
format) in numeric format. I use the serial port read.vi and the serial port
open.vi. Is anyone knowing something about this problem?
thanks,
georg
0 Kudos
Message 1 of 5
(3,210 Views)
Georg,

I had this same problem. There is a library called convrzun.llb I found
on the website that has VI's to handle the conversion already written. You
can write me if you still can't figure it out.

Nancy

"gkonstan" wrote:
>I have a problem to translate the digital signal from a serial port (ASCII>format)
in numeric format. I use the serial port read.vi and the serial port>open.vi.
Is anyone knowing something about this problem?>
thanks,>
georg>>
0 Kudos
Message 2 of 5
(3,210 Views)
gkonstan schrieb:

> I have a problem to translate the digital signal from a serial port (ASCII
> format) in numeric format. I use the serial port read.vi and the serial port
> open.vi. Is anyone knowing something about this problem?
> thanks,
> georg

Hi Georg,
I use the fuction "From Exponential/Fract/Eng" which is a sub-palette of the
string funktions and it works well

Ciao,
Rainer
0 Kudos
Message 3 of 5
(3,210 Views)
gkonstan wrote:

> I have a problem to translate the digital signal from a serial port (ASCII
> format) in numeric format. I use the serial port read.vi and the serial port
> open.vi. Is anyone knowing something about this problem?
> thanks,
> georg

First of all I'd recommend using VISA for serial communications. You are using old style vi's.

Next, to get numbers from serial string read from port, you need to
convert ASCII formatted numbers to numbers, using the functions in
String->String/Number Conversion palettes.

What do you mean by digital signal (ASCII format)? Is it ASCII letters,
representing desired numbers in tex
t form?
--
Sergey Krasnishov
____________________________________
Automated Control Systems
National Instruments Alliance Member
Moscow, Russia
sergey_acs@levsha.ru
http://acs.levsha.ru
0 Kudos
Message 4 of 5
(3,210 Views)
Hy did you initialize with the init.vi ? Your PC RS232 needs to be
initialized once.
Cheers tobi



"gkonstan" schrieb im Newsbeitrag
news:91sv74$8mi$1@foo.grnet.gr...
> I have a problem to translate the digital signal from a serial port (ASCII
> format) in numeric format. I use the serial port read.vi and the serial
port
> open.vi. Is anyone knowing something about this problem?
> thanks,
> georg
>
>
0 Kudos
Message 5 of 5
(3,210 Views)