10-31-2005 07:05 AM
Hello
I am new here and unfortunately not that familiar with Labview.
I spend the whole day finding out how I can use the RS232 (Com1) port of my computer with Labview.
I am getting a data string with 25 bits from the PIC-microcontroller. Every 2 Seconds. It looks like [00,00,00]
I need to transmit the data to the PC and with the help of Labview I want to arrange them so that I can use the data for further calculations.
Maybe I am going to use the array function.
How does it work with the RS232?
Martin
P.S. Sorry for the English. I still try to improve it.
10-31-2005 09:06 AM
11-01-2005 03:26 AM
11-01-2005 07:40 AM
Leo,
are you sending RS232 compatible bitestreams?
Have you checked baudrate, (startbit) stopbit(s), parity, databits ?
11-01-2005 07:49 AM
@LabLeo wrote:
...
I am getting a data string with 25 bits from the PIC-microcontroller. Every 2 Seconds. It looks like [00,00,00]
...
looks like 3 byte, but that's 3x8=24 bit
are you sure you have a rs232 port on your PIC? (That involves some extra circuitry for RS232 voltage level (and inversion?))
If you are using a SPI or I2 style serial communication, you maybe can (ab)use the handshake lines of the COM port to read the data.
11-01-2005 07:56 AM
11-01-2005 08:12 AM
11-02-2005 01:20 AM
Good Morning
Sometimes a coffee work wonder.
I do now get the right data with Hyperterminal and Labview as well. I made a mistake by connecting the MAX 232 chip.
Data String
01,0,0
02,0,0
03,0,0
.................
So now
11-02-2005 01:20 AM
Good Morning
Sometimes a coffee work wonder.
I do now get the right data with Hyperterminal and Labview as well. I made a mistake by connecting the MAX 232 chip.
Data String
01,0,0
02,0,0
03,0,0
.................
So now I have to
11-03-2005 10:41 AM