完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
本帖最后由 download491 于 2011-7-14 18:42 编辑 程序:/* CIN source file */ #include "extcode.h" MgErr CINRun(uInt8 *arg1, uInt8 *arg2, uInt8 *arg3, uInt8 *arg4, uInt8 *element8); MgErr CINRun(uInt8 *arg1, uInt8 *arg2, uInt8 *arg3, uInt8 *arg4, uInt8 *element8) { union { float Data; unsigned char Byte[4]; }FloatData; FloatData.Byte[0]=*arg1; FloatData.Byte[1]=*arg2; FloatData.Byte[2]=*arg3; FloatData.Byte[3]=*arg4; *element8=FloatData.Data; return noErr; } 结果:Deleting intermediate files and output files for project 'a - Win32 Debug'. --------------------Configuration: a - Win32 Debug-------------------- Compiling... a.c c:a.c(21) : warning C4244: '=' : conversion from 'float ' to 'unsigned char ', possible loss of data Linking... Creating library Debug/a.lib and object Debug/a.exp Performing Custom Build Step on .Debuga.dll E:cintoolslv***util: multiple name arguments not allowed "FilesMicrosoft". 执行 c:windowssystem32cmd.exe 时出错. a.dll - 1 error(s), 0 warning(s) ![]() |
|
相关推荐
1个回答
|
|
支持一下
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
基于LabVIEW的声发射定位:如何准确获取信号到达不同传感器的时差?
1209 浏览 1 评论
2226 浏览 0 评论
2544 浏览 0 评论
Labview使用SFTP在WIN10系统正常,但是WIN11系统下会报错,请问有知道怎么解决的么
2723 浏览 1 评论
LabVIEW调用Aspose.dll实现excel读写、图片插入,
2371 浏览 10 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-7 03:43 , Processed in 0.480958 second(s), Total 80, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191