Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB comunication for transfering 16b data +crc under 1ms

Hello.
I am making offset generator with usb interface (FT232) so i can genarate voltage with DAC.
i made simple program for sending 4 packets with header , data and crc and it work quite well.
Problem is, to send one 16b digic i need 1ms. it looks like its driver or visa vi problem.
i tested my system, msp430 generate itself code to dac, and i reached 200Ksps speed, but with labview i get only 1Ksps.Does any one know how to reach better speed with my setup ? since my hardvare is not limitation. and i notice that if i use constant stream of data to visa.vi i have better speed. it looks like each time i finish send data i need 1ms to send it again
or does any one know how to send numbers like a stream , even if i have cycles in my program for constant update?
spektras.jpg

0 Kudos
Message 1 of 2
(2,863 Views)

I vagely remember something with buffersize settings and delays in the fifosetting  of the serial port.

Whith standard settings a delay is used before the data is sent anyhow.

 

It has to be somewhere in this forum but maybe better use google search labview serial buffer settings and you should find something.

greetings from the Netherlands
0 Kudos
Message 2 of 2
(2,850 Views)