完善资料让更多小伙伴认识你,还能领取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文件的函数声明之前
|
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
211 浏览 0 评论
请教大神,在labview里面对实时扫描资源中的C系列模块NI9234进行配置发生非预期错误
1709 浏览 0 评论
1585 浏览 0 评论
LABVIEW 2023 Q1调用python后一直报错1671
1960 浏览 2 评论
5207 浏览 3 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 02:59 , Processed in 0.695317 second(s), Total 95, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
4260