Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview GPIB-Query?

Hello there!
Can you tell me how to make a write via Labview the same way GPIB-communicator does this? So like this: (Captured via NI-spy:)
ibwrt(Device, "*IDN?", 5);
/* Send the identification query command*/
and not like this: (Sort of:)
ibwrta(Device, "*IDN?;", 6);
This is because i always get a timeout (or nothing) with certain instruments with the standard Labview-GPIB settings and not with the (NI)GPIB-Communicator via the Start-menu.
I have the original capture-files but due to timeout-problems they have become rather too lengthy to post here. ;]
Thanks in advance,
0 Kudos
Message 1 of 2
(3,336 Views)
I believe the timeout problem with certain instruments is that you are trying to communicate with it asynchronously. ibwrta is an asynchronous write to the instrument where ibwrt is a synchronous write.

To fix the problem, right click on the write and read vi's and select 'Do I/O Syncronously' This will result in the commands being sent with ibwrt instead of ibwrta like you want.

Jared
Message 2 of 2
(3,336 Views)