为SCC接线盒创建一个NI-DAQmx8.8的构造文件
硬件: PXI/CompactPCI>>Controllers
问题: 我把一个M系列板卡和SC-2345接线盒中的SCC-TC02模块相连接,有为Linux创建一个NI-DAQmx8.0的构造文件的范例吗?
解答: 附件中的文件就是用PCI-6251来创建的一个范例。上面的部分使用nidaqmxconfig --export command来创建,下面的部分是用户自定义。为了使用这个范例,运行nidaqmxconfig--import 来接收你硬件的选项,然后把它粘贴在底部的用户自定义部分。
下面是以Unix为基础的文本。Windows 用户可以复制和粘贴下面的构造:
; This is a configuration example for NI-DAQmx 8.0 for Linux.
; It configures an SCC-2345 Carrier with an SCC-TC02 thermocouple
; module inside of it.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; The following section has been created ;;
;; by nidaqmxconfig --export ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[DAQmx]
MajorVersion = 8
MinorVersion = 0
[DAQmxDevice Dev1]
ProductType = PCI-6251
DevSerialNum = 0xDEFB88
BusType = PCI
PCI.BusNum = 0x1
PCI.DevNum = 0x8
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; The following options are user-defined ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[DAQmxSCCCarrier SCC1]
SCCConnBlk.ProductType = SC-2345
SCCConnBlk.CabledDev = Dev1
SCCConnBlk.CabledDevConnNum = 0
; Configuration for a Thermocouple module in the first slot
[DAQmxSCC SCC1Mod1]
ProductType = SCC-TC02
SCCModule.ConnBlk = SCC1
SCCModule.Slot = 1
相关链接: Using "nidaqmxconfig" for NI-DAQmx 8 for Linux
附件:
- PCI-6251_SCC-2345_SCC-TC02.ini
报告日期: 11/03/2005
最近更新: 01/21/2009
文档编号: 3R2853Q4
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.