NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
wbebenben
Posts: 8
0 Kudos

VISA USB通信,单片机程序无误,timeout设置足够长,LabVIEW调试

求问各位高手,我现在用labview和c8051f320单片机usb通信,用VISA创建驱动,现在设备已经能够识别了,但是用MAX或LabVIEW调试的时候出问题:主机给单片机写数据时,每写两次只能成功一次,另一次显示超时;读数据时,总也读不了,显示超时。读写数据都是个位数字节,不存在数据量大的问题。同样程序,用别的驱动在C++写的上位机程序中没有问题。

Member
乐哥
Posts: 2
0 Kudos

Re: VISA USB通信,单片机程序无误,timeout设置足够长,LabVIEW调试

你的us通信做好了吗?

Member
wbebenben
Posts: 8
0 Kudos

Re: VISA USB通信,单片机程序无误,timeout设置足够长,LabVIEW调试

it's all right now, but not with VISA. sorry i can not type chinese now.

Member
乐哥
Posts: 2
0 Kudos

Re: VISA USB通信,单片机程序无误,timeout设置足够长,LabVIEW调试

use the faction in labwindows ? can you give me some help ? and share the thought of the program  thank you !!!!!!

Member
wbebenben
Posts: 8
0 Kudos

Re: VISA USB通信,单片机程序无误,timeout设置足够长,LabVIEW调试

用visa我一直没调成,最后用了单片机厂家自带的工具包和驱动。在labview里用调用dll的方法调用厂家工具包里的函数

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page