Notifications
Clear all

FT_SetUSBParameters

2 Posts
2 Users
0 Likes
7,292 Views
 Razi
(@razi)
Active Member
Joined: 12 years ago
Posts: 9
Topic starter  

i am trying to developpe my own program for Spectran 6065 HF x, so i used some partitions code that i found into the programers guides.
i want to retrieve 64K from the Unit so i used : ftStatus = FT_SetUSBParameters(ftHandle,0x10000 ,0x0000); // 64KOctets
now when i put USBMEAS=1 i cant have my 64K:
writeenvironment(SV_USBMEAS,ON);
writeenvironment(SV_USBSWPRST,ON);
ftStatus = FT_GetStatus(ftHandle,&RxBytes,&TxBytes,&EventDWord);

if (RxBytes > 0) {
//FT_Read OK

ftStatus = FT_Read(ftHandle,RxBuffer,RxBytes,&BytesReceived);

///////
BytesReceived<<64K


   
Quote
(@mm_dev)
Reputable Member Admin
Joined: 13 years ago
Posts: 330
 

Please read http://www.ftdichip.com/Support/Documen ... ughput.pdf
(And note that this is not a FTDI driver support forum)


   
ReplyQuote
Share: