完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我想问一下调用库函数,我哪儿调用错了。竟然一直报错,我能保证的是我的程序没有问题。只是问题发生在这个调用库函数上了。
下面是指令描述: bwtekReadTemperature int bwtekReadTemperature ( int nCommand, int *nADValue, \ AD Value Range: 0 - 4095 double *nTemperature, \ Temperature will be in Celsius int nChannel ); This function is for reading the temperature of the CCD Detector OR read the ambient temperature. nCommand is a flag of specific temperature: 0x10 for CCD detector temperature, 0x11 for ambient temperature reading. *nADValue is a pointer to an integer return value. It is reserved. *nTemperature is a pointer to float pointer value of temperature. The temperature units are degrees Celsius. nChannel is used to address a specific spectrometer device to be operated when multiple spectrometer devices are involved. Users must call the bwtekSetupChannel function to determine which channel numbers are available. A total of 32 spectrometer devices may be connected at one time, where the nChannel value will range from 0 – 31. Default is 0. If only one spectrometer is connected to computer, set nChannel to 0. RETURN If the function call is successful, a positive integer will be returned, else a negative integer will be returned. 我编写的指令
|
|
相关推荐
3个回答
|
|
|
|
|
|
_declspec(dllexport) 需要加在c文件的函数声明之前
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
用udl里的字符串信息在局域网内其他电脑连接sql数据库为什么为出现连接失败拒绝访问?
1879 浏览 2 评论
为什么同一个队列引用的全局变量,运行在两个子vi中发现队列数据丢失了
1500 浏览 0 评论
1694 浏览 0 评论
关于labview2024版本的lvanlys.dll出错的问题
3824 浏览 3 评论
1603 浏览 2 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 02:00 , Processed in 0.833862 second(s), Total 86, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号