how to generate specific data with certain data rate

2 Ansichten (letzte 30 Tage)
mspdivo
mspdivo am 27 Jun. 2012
i want to generate data ( 01001111010001 ) with data rate (200kb/sec ) . i ask how to generate this data with this certain data rate
  1 Kommentar
Walter Roberson
Walter Roberson am 27 Jun. 2012
Is this a Simulink question? Or is it a question about outputting to a serial port? Or through a digital to analog convertor? Or through speakers ? Or ... ?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

mspdivo
mspdivo am 28 Jun. 2012
i need to generate this data to transmit with usrp device which connect to pc by usb .( i use usrp to send data wireless in radio frequency ) Thanks for attention mr Walter Roberson . and i wait your answer ?

Walter Roberson
Walter Roberson am 28 Jun. 2012
Fixed-rate data cannot be transmitted by USB: USB is not designed for it. At least not if you need reliable data transfer to the USB-connected device: if you are willing to use unreliable transmission mode then USB is designed to allow "bandwidth reservation".
Unfortunately, MATLAB does not have any interface to that level of USB control.
Does the USRP device appear as a virtual serial port to the device manager? If it does then those transmissions are considered unreliable and there is no way (that I know of) to do bandwidth reservation for virtual serial ports (certainly not within MATLAB). Bandwidth reservation in USB is typically used for audio or video

Kategorien

Mehr zu Communications Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by