LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem reading serial port.

Hi everybody. I am trying to control a video measurement equipment
through serial port. The answers from that equipment are variable
length strings (from tenths of bytes to thousands)and I have no problem
at all when I run the program step by step or I have all vi´s used
during I/O operations opened at the same time. However, if I try to run
it just opening the front panels programatically, no serial reading is
got.
I first thought it could be a timing problem (in fact I am using some
delay when I read serial port)so I added some more delays, but anything
changed at all so, perhaps it is a problem concerning to the way all
the panels are opened and closed. If any of you has ever experienced
this kind of problems y would apprec
iate very much your help. Thanks in
advance to all.


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 3
(2,504 Views)
dou you have the serpdrv
in the same directory then the .EXE file ?

mostly, it helps

Jean-Luc
a écrit dans le message :
8fj870$9dl$1@nnrp1.deja.com...
> Hi everybody. I am trying to control a video measurement equipment
> through serial port. The answers from that equipment are variable
> length strings (from tenths of bytes to thousands)and I have no problem
> at all when I run the program step by step or I have all vi´s used
> during I/O operations opened at the same time. However, if I try to run
> it just opening the front panels programatically, no serial reading is
> got.
> I first thought it could be a timing problem (in fact I am using some
> delay when I read serial port)so I added some more delays, but anything
> changed at all so, perha
ps it is a problem concerning to the way all
> the panels are opened and closed. If any of you has ever experienced
> this kind of problems y would appreciate very much your help. Thanks in
> advance to all.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
0 Kudos
Message 2 of 3
(2,504 Views)
Hi!

You should try the VISA functions to communicate with your device. In most
cases, it works better then the usual serial VI's.

Regards,
Vlad
0 Kudos
Message 3 of 3
(2,504 Views)