LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

External clock to the serial port?

Is there any way to use labVIEW with external clock (1MHz) to the serial
port?
This will solve the problem of using LabVIEW to MIDI applications.
0 Kudos
Message 1 of 4
(3,783 Views)
you may have to be a bit more specific.

by serial do you mean: RS232, RS422/RS485, USB, firewire.... the list goes
on and on.

RS232 is ansynchronous and as such has no clock signal associated with it.
it also (as far as i am aware) only goes up to 115 kbps. As for RS485, it
can achieve 10 Mbps over a short distance (say 40 meters) and data rate then
falls with distance for a given bit error rate. (eg 115 kbps (max) for a
2000 meter haul).

wanna give us some more info?
cheers

"Svein Myhren" wrote in message
news:8u65ac$pkv$1@snipp.uninett.no...
> Is there any way to use labVIEW with external clock (1MHz) to the serial
> port?
> This will solve the problem of using LabVIEW to MIDI applications.
0 Kudos
Message 2 of 4
(3,783 Views)
Errm,
depends what you mean about RS232(Its a very non-std standard).
The std com ports on a PC are asynchronous, but there are many
plug-in cards capable of handling synchronous RS-232. These are
often used for creating WANS and other specialist radar/military type
coms applications.

Blackbox and Emulex do cards that can do synchronous RS232 up to
1.28MBps or higher using external clocks though I don't think the drivers
are very friendly. A better bet might be Nationals 6810 serial analyser card
which can do synchronous RS232 at up to 10MHz clock rate with a resolution
of 50mHz.

Synchronous comms can get very complicated due to the number of
different protocols sitting on top of the RS232 transport layer, HDLC,
Bisynch
ISDN LapD and hordes of proprieta
ry protocols, have fun


sup wrote in message
news:UONP5.47352$e5.57391@newsfeeds.bigpond.com...
> you may have to be a bit more specific.
>
> by serial do you mean: RS232, RS422/RS485, USB, firewire.... the list goes
> on and on.
>
> RS232 is ansynchronous and as such has no clock signal associated with it.
> it also (as far as i am aware) only goes up to 115 kbps. As for RS485, it
> can achieve 10 Mbps over a short distance (say 40 meters) and data rate
then
> falls with distance for a given bit error rate. (eg 115 kbps (max) for a
> 2000 meter haul).
>
> wanna give us some more info?
> cheers
>
> "Svein Myhren" wrote in message
> news:8u65ac$pkv$1@snipp.uninett.no...
> > Is there any way to use labVIEW with external clock (1MHz) to the serial
> > port?
> > This will solve the problem of using LabVIEW to MIDI applications.
>
>
0 Kudos
Message 4 of 4
(3,783 Views)
Hi sup!

The MIDI require the "odd" baud rate 31250 kHz, and the only way to get
this is to use external clocking.
A1 MHz will give you, with a devisor of 2, the right MIDI baud rate:
1000000/16*2 = 31250 kHz.

Svein
0 Kudos
Message 3 of 4
(3,783 Views)