完善资料让更多小伙伴认识你,还能领取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文件的函数声明之前
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
Labview使用SFTP在WIN10系统正常,但是WIN11系统下会报错,请问有知道怎么解决的么
367 浏览 1 评论
1725 浏览 2 评论
labview datasocket绑定点击浏览选择dstp服务器然后一直转圈圈选不了怎么回事啊各位大佬?
1825 浏览 1 评论
2116 浏览 2 评论
bytes at port 输出的值一直为0,串口助手可以读取数据,求问可能是什么问题?
2005 浏览 4 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-6-26 16:11 , Processed in 0.640915 second(s), Total 85, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191