02-07-2022 02:14 AM
Mr Kartiknattar,
is it possible is not a program's problem?
Because i already having reading TimeOut error at VISA Test Panel.
02-07-2022 02:52 AM
The time out error is because you are trying to read 1024 bytes of change change it to 50 bytes in visa test panel you will not see any error.
Also try the read command in visa test panel if you are getting the output or not
02-07-2022 03:14 AM - edited 02-07-2022 03:17 AM
Okay, I feel we haven't even gone over the basics. Let's do this:
(This WILL work. Notice - no termination character. You don't need one when writing to anything other than a COM port.)
Better yet, just save yourself some additional heartache by bopping on down to the driver page on the NI Instrument Driver Network and use that instead.
02-07-2022 03:22 AM
Hi, another doubt.
when i changed the byte to 50.
and command is *IDN?\n (which means Identification Query, according to manual)
and in VISA test panel,
if i click: 1. Write -> OK, 2. Query -> OK, 3. Read -> TimeOut ERR
but if i click 1. Write -> OK, 2. Read -> OK,
why when i click Read after Query will have time out ERR ?
02-07-2022 03:35 AM
Hi Mr Bill
i run the basic program you send, if the Visa write and Visa Read both have no Error.
Can i assume that the labview and equipment is communicating well,
and do not have hardware or driver issue ?
02-07-2022 06:21 AM
@Noob_intern wrote:
and in VISA test panel,
if i click: 1. Write -> OK, 2. Query -> OK, 3. Read -> TimeOut ERR
but if i click 1. Write -> OK, 2. Read -> OK,
why when i click Read after Query will have time out ERR ?
A Query is a Write followed by a Read. So you just need to click on Query. You might be confusing the instrument by sending the command twice and then attempting to read twice.