THOS_USB_Communications

所属分类:USB编程
开发工具:LabView
文件大小:553KB
下载次数:367
上传日期:2009-11-11 23:37:32
上 传 者人偶卡卡
说明:  使用Labview编写PC端USB通讯程序,与C8051f320进行大规模数组USB通讯。文件中Device部分是Silab提供的FileTransfer例程,适用于C8051f320;Host部分中VC程序Silab提供的原例程,Labview程序是根据VC程序自主改写移植而成。已通过测试验证。
(Interface for USB communicatons on PC, was coded by Labview, and it can transfer(USB) big array with C8051f320. The Device folder from Silab s example "FileTransfer", and the VC code in Host folder also. The VI in Host folder is code basic the VC code. The VI passed test.)

文件列表:
THOS_USB_Communications\Device\C8051F32x\c8051F320.h (16194, 2007-08-31)
THOS_USB_Communications\Device\C8051F32x\cyglink.txt (335, 2009-11-09)
THOS_USB_Communications\Device\C8051F32x\FileTransfer (12556, 2009-11-09)
THOS_USB_Communications\Device\C8051F32x\FileTransfer.#1 (0, 2009-11-09)
THOS_USB_Communications\Device\C8051F32x\FileTransfer.#2 (12444, 2007-08-31)
THOS_USB_Communications\Device\C8051F32x\FileTransfer.M51 (43932, 2009-11-09)
THOS_USB_Communications\Device\C8051F32x\FileTransfer.wsp (35194, 2009-11-09)
THOS_USB_Communications\Device\C8051F32x\tmp.out (538, 2009-11-09)
THOS_USB_Communications\Device\C8051F32x\USB_API.h (2701, 2007-08-31)
THOS_USB_Communications\Device\C8051F32x\USB_MAIN.#1 (11181, 2007-08-31)
THOS_USB_Communications\Device\C8051F32x\USB_MAIN.c (11181, 2009-11-09)
THOS_USB_Communications\Device\C8051F32x\USB_MAIN.LST (22713, 2009-11-09)
THOS_USB_Communications\Device\C8051F32x\USB_MAIN.OBJ (6555, 2009-11-09)
THOS_USB_Communications\Device\USBX_F320_1.LIB (16395, 2007-08-31)
THOS_USB_Communications\Host\builds\THOS_USB_Communications\TH Observation System\data\SiUSBXp.dll (90112, 2007-08-31)
THOS_USB_Communications\Host\builds\THOS_USB_Communications\TH Observation System\USB_Communicationsr.aliases (38, 2009-11-11)
THOS_USB_Communications\Host\builds\THOS_USB_Communications\TH Observation System\USB_Communicationsr.exe (159744, 2009-11-11)
THOS_USB_Communications\Host\builds\THOS_USB_Communications\TH Observation System\USB_Communicationsr.ini (2105, 2009-11-11)
THOS_USB_Communications\Host\THOS_USB_Communications\Global Variable\THOS_GlobalVariable.vi (6348, 2009-11-05)
THOS_USB_Communications\Host\THOS_USB_Communications\Rtm\THOS_Startup.rtm (152, 2009-11-05)
THOS_USB_Communications\Host\THOS_USB_Communications\SiUSBXp.dll (90112, 2007-08-31)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(SI)\THOS_CloseUSB.vi (16228, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(SI)\THOS_GetTimeouts.vi (15872, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(SI)\THOS_OpenUSB.vi (19148, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(SI)\THOS_ReadData.vi (21824, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(SI)\THOS_SetTimeouts.vi (15224, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(SI)\THOS_WriteData.vi (22684, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(USB)\THOS_DeviceRead.vi (22724, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(USB)\THOS_DeviceWrite.vi (22832, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(USB)\THOS_ReadFileData.vi (48772, 2009-11-11)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(USB)\THOS_SearchUSB.vi (42096, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(USB)\THOS_SimpleModeRead.vi (19748, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(USB)\THOS_SimpleModeWrite.vi (19276, 2009-11-09)
THOS_USB_Communications\Host\THOS_USB_Communications\Sub VIs(USB)\THOS_WriteFileData.vi (60224, 2009-11-11)
THOS_USB_Communications\Host\THOS_USB_Communications\THOS_Startup.vi (55568, 2009-11-11)
THOS_USB_Communications\Host\THOS_USB_Communications\THOS_USB_Communications.aliases (48, 2009-11-11)
THOS_USB_Communications\Host\THOS_USB_Communications\THOS_USB_Communications.lvproj (10338, 2009-11-11)
THOS_USB_Communications\Host\VC6\FileTransfer.exe (28672, 2007-08-31)
... ...

使用方法: 1.在WritebufNum中填写希望生成的数组大小(勿超过7000,否则传输不稳定) 2.点击Create,生成随机数组 3.点击Write,进行USB写操作,写数组数据至C8051f320保存 4.点击Read,进行USB读操作,从C8051f320读取数组 5.操作WriteData左侧文本框数值,以选择查看数组内容,ReadData同步显示,方便查看效果

近期下载者

相关文件


收藏者