From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

0 Kudos
Message 1 of 5
(3,560 Views)

你的us通信做好了吗?

0 Kudos
Message 2 of 5
(3,534 Views)

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

0 Kudos
Message 3 of 5
(3,528 Views)

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

0 Kudos
Message 4 of 5
(3,523 Views)

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

0 Kudos
Message 5 of 5
(3,516 Views)