找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 1847|回复: 3

关于USB配置问题

[复制链接]
发表于 2007-9-30 11:14:29 | 显示全部楼层 |阅读模式
现有一USB设备,而且有他的驱动程序。我现在想知道怎么去配置这些参数
现他驱动的INF如下:


;; Rigolusb.inf

;; *********  PLEASE READ ***********
;; The wizard cannot create exact INF files for all buses and device types.
;; You may have to make changes to this file in order to get your device to
;; install. In particular, hardware IDs and logical configurations require
;; intervention.
;;
;; The Windows DDK documentation contains an excellent INF reference.

;--------- Version Section ---------------------------------------------------

[Version]
Signature="$Windows 95$"
Provider="Rigol Technologies"

; If device fits one of the standard classes, use the name and GUID here,
; otherwise create your own device class and GUID as this example shows.

Class="USB Test and Measurement Device"
ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b}
; "68" is the ASCII code for "D" and is compliant with other Rgiol drivers:
DriverVer=08/13/2005,68.1.0.0
;--------- SourceDiskNames and SourceDiskFiles Section -----------------------

; These sections identify source disks and files for installation.  They are
; shown here as an example, but commented out.

;[SourceDisksNames]
;1 = "Install Disk",Disk1,,

;[SourceDisksFiles]
;Rigolusb.sys = 1
;Rigolusb.inf = 1
;--------- ClassInstall/ClassInstall32 Section -------------------------------

; Not necessary if using a standard class

; 9X Style
[ClassInstall]
Addreg=Class_AddReg

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,"Rigol USB Test and Measurement Device"
HKR,,Icon,,"-20"

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
Rigolusb_Files_Driver = 10,System32\Drivers

;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName%= RIGOL Technologies

[RIGOL Technologies]
;%DeviceDesc%=Rigolusb_DDI, USB\VID_0400&PID_05dc
%DeviceDesc%=Rigolusb_DDI, USB\Class_FE&SubClass_03&PROT_00
%DeviceDesc%=Rigolusb_DDI, USB\Class_FE&SubClass_03&PROT_01

;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 9X -----------------

; Experimentation has shown that DDInstall root names greater than 19 characters
; cause problems in Windows 98

[Rigolusb_DDI]
CopyFiles=Rigolusb_Files_Driver
AddReg=Rigolusb_9X_AddReg
DriverVer=08/13/2005,68.1.0.0

[Rigolusb_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Rigolusb.sys
HKR, "Parameters", "BreakOnEntry", 0x00010001, 0

; --------- Windows NT -----------------

[Rigolusb_DDI.NT]
CopyFiles=Rigolusb_Files_Driver
AddReg=Rigolusb_NT_AddReg

[Rigolusb_DDI.NT.Services]
Addservice = Rigolusb, 0x00000002, Rigolusb_AddService

[Rigolusb_AddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\Rigolusb.sys

[Rigolusb_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\Rigolusb\Parameters",\
        "BreakOnEntry", 0x00010001, 0


; --------- Files (common) -------------

[Rigolusb_Files_Driver]
Rigolusb.sys

;--------- Strings Section ---------------------------------------------------

[Strings]
ProviderName="Rigol Technologies"
MfgName="Rigol Technologies"
DeviceDesc="Rigol USB Test and Measurement Device"
DeviceClassName="USB Test and Measurement Device"
SvcDesc="Rigol USBTMC"
发表于 2007-9-30 16:21:23 | 显示全部楼层
兄弟,你这个是RIGOL的示波器还是其他的仪器啊?
我用过DS1102CD
哪个USB驱动好象是用来和他们的上位机软件相连的
还有一个是动态连接库
可以在LV里面调用的
回复 顶

使用道具 举报

 楼主| 发表于 2007-9-30 23:54:44 | 显示全部楼层
我用的是他们的万用表,我知道他有个自带的DLL文件,可以用API来操作。但容易出问题,而且很麻烦;如果能配置VISA 的USB是最好了,就不用那么麻烦了
回复 顶

使用道具 举报

 楼主| 发表于 2007-10-9 12:15:51 | 显示全部楼层
难道都没人懂得配置吗?
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-30 15:13 , Processed in 0.025497 second(s), 6 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表