Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Send a signal from the serial port in labview to switch a simple transistor circuit?

Hi I'm trying to use labview to send a simple sine wave to the serial port in order to switch a transistor to it's on state. Problem is when I check the sine wave with a scope it is very messy and looks more like a square wave. Does anyone know how to do this?
0 Kudos
Message 1 of 4
(4,133 Views)

How are you trying to send a sine wave to the serial port?

 

The port is for communications via sending a receiving signals that are digital. The signals only have 2 discrete states and thus why you are observing sqare wave type signals.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 4
(4,126 Views)

As AK2DM noted the RS232 is only able to send out two levels. (There are 10 kinds of people, those who understand binary and those who don't)

By really tweaking the rs232 output (and with some more resistors)  you might get a (badly timed) 3bit output resolution, but why not use the output of your soundcard ?

 

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 4
(4,063 Views)

hi i hope someone will help me

problem is that i need to make a electronic circuit that will send a signal to computer, to labview through an RS232 connector and i dont know how to make this.

send me message  on   andreipaun1986@yahoo.com

0 Kudos
Message 4 of 4
(3,898 Views)