Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Com Issue

When I'm taking data sample using hyperterminal works just fine but getting broken data when using basic serial communication from the example. (see attached files)

In hyperterminal sample, you'll see a complete data starting from the "z" (echo) then 0 to 137 data counts or rows. For basic serial com samples, it's breaking in to two parts thats why I have to samples P1 & P2..

Is there a way to fix this?

 

Thanks!

______________
KowdTek
LabVIEW 2009

One Step At A Time, Maybe Two...
0 Kudos
Message 1 of 2
(3,035 Views)

The basic example is not at all designed for continuous reading of the serial port. You would need to modify it to do that. The simplest is just to place a while loop around the VISA Read and a shift register with a concantanate string.

 

p.s. In the future, don't attach rtf files which will launch Word. Just attach the images as jpg or png format.

0 Kudos
Message 2 of 2
(3,027 Views)