LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS 232 signal analyse

Hello board,

I have got a problem with understanding LabView. I have to concede, taht I have not worked with this software yet.

I need to analsy a serial incoming signal, witch has a speed of 4.800 bps. Our problem is the swaying from 10%. so taht after 10 digits i cannot work with this with a simple serial port.

Is it possible to analyse the the signal and forward the bits, the measured bps, the length of wake-up signal and the pause-signal to a PC?

Also I have to send via this 1-wire connection with 38kbps, but that doesn't seam to be so difficult. I found a post in witch this was descriped with a counter witch has the bit width as lenth and the bits turn as data. Thats teh part I'm able to understand.

But how to find out serial 1-wire data?

--
Kind regards from shiny Velbert,

Carsten Wieners
0 Kudos
Message 1 of 3
(2,798 Views)

Hi. There are a couple example VIs in LabVIew that you may find useful. Look in the "Find Examples" section in the Help menu. The examples enable you to specify the characteristics of your signal to read or write.

 

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

If you want to analyse the timing of the serial stream, as far as I know it is not possible with the PCs serial port and the VISA driver. the standard UART together with the 'standard' (MS) OS does not allow you to analyse the timing. Solutions I have seen always worked with dedicated extra hardware that have 'software' UARTs to allow the fetch of the (UART) timer.

Sounds like you have a SOC with a internal (RC) clock source 😉  reading this would need a baudrate detection to adapt to the off the standard baudrates to avoid framing errors. If you have such a weak timing, why not switch to a SPI or I2E  slave  and  use the printerport to read the data? 

I know that (some?) NI serial cards allow non standard baudrate settings, however ask NI or the manuals if they also can do a baudrate detection.    

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 3
(2,741 Views)