Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

usb mapped serial visa error

Hello All,

     i am going to control a usb device with labview,The device have a mapped serial port named "COM13".i checked it in NI-MAX,but when i send a command with using visa test panel(visa_write) in MAX,NI-SPY display error massage.it is stranged that i can read the correct result from buffer with visa_read .

    Can you explain it?and give some advices about that.

    thanks a lot.

    OS is winxp,labview 8.5,visa5.01.

    details in below.

 

 

> 295.  viWrite (ASRL13::INSTR (0x061F6CF8), ".at^cqst?..", 11, 11)
> 进程ID: 0x000011DC         线程ID: 0x00000C98
> 起始时间: 10:04:14.602       调用持续时间 00:00:00.000
> 状态:0xBFFF003E (VI_ERROR_IO)

296.  viRead (ASRL13::INSTR (0x061F6CF8), "..", 1024, 2)
进程ID: 0x000011DC         线程ID: 0x00000C98
起始时间: 10:04:16.899       调用持续时间 00:00:00.000
状态:0 (VI_SUCCESS)

297.  viRead (ASRL13::INSTR (0x061F6CF8), "^CQST:0..", 1024, 9)
进程ID: 0x000011DC         线程ID: 0x00000C98
起始时间: 10:04:17.727       调用持续时间 00:00:00.000
状态:0 (VI_SUCCESS)

 

 

0 Kudos
Message 1 of 1
(3,051 Views)