NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

温度采集程序的思路

本人汽车专业,在一个关于涡轮增压的课题中被分配到了数据采集的任务,在尾气进出涡轮的两端采集温度和压力(后期还有可能涉及到电压、电流)。

突击学习了一个月的LabVIEW,现在硬件已经到位(NI pxi-1033, pxi-6229, scc-68, 2个TC),连接后通过DAQmx已驱动,可编程还是有阻碍。

希望有人指点一下程序的思路及DAQmx和LabVIEW的关系,当然说详细点会更好。

 

感谢!

0 项奖励
1 条消息(共 4 条)
4,469 次查看

建议看看LabVIEW的范例,里面有关于数据采集的程序例子。

Thomas | Xi'an China

LabVIEW 7.1 | LabVIEW 2018
DAQmx | CompactRIO | myRIO
微信公众号: 钟博士LabVIEW工作室
2 条消息(共 4 条)
4,450 次查看
找Labview自带的范例, 或者找其他类似设备的驱动程序,参考着做VI会快很多.....
0 项奖励
3 条消息(共 4 条)
4,292 次查看

Hi

 

Since you will be using two (2) TC, it should not be too difficult in the data acquisition (Analog Inputs) portion.

 

For DAQmx, you should be creating virtual channels as Analog Input > Temperature > Thermocouple, with physical channels string as i.e. Dev1\ai0:1 (for instance: channel 0 and channel 1). You may also set the units as i.e. Deg C

 

Then, in the data acquisition loop (i.e. Producer), perform DAQmx Read to acquire the TC readings with the frequency depending on your system's requirement.

 

At the consumer loop, you may then further process the received TC readings and or directly display them to numeric indicator, graph etc.

 

At when exiting the program, close the DAQmx with DAQmx Close.

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
4 条消息(共 4 条)
4,289 次查看