Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can issue commands to and recieve data from instrument via MAX query but not MAX read and write

Hello, I can succesfully issue commands to and recieve data from instrument via MAX query but not MAX read and write. I know the instruments allows sends a response to a command even if its just "\r\n\00". Is their anyway I can "query" in a labview VI? The labview VI am writing isn't working with the GPIB read/writes. Thanks.

 

EDIT: I should note that I was actually using the VISA test panel I/O.

 

0 Kudos
Message 1 of 3
(4,601 Views)
A query in MAX sends a write and does a read so I don't understand your problem. What is the instrument and what is the command you use with the query? Do you get an error with doing a separate write and read? What is the error?
0 Kudos
Message 2 of 3
(4,585 Views)

The instrument is a temperature chamber controled by a Procon 7200 controller. I talked to someone from the company and they said there needs to be a read after every write, I think the query may do it quick enough. When I write to the contoller it shuts down to restart (perhaps to flush the contents of the last aborted communication) . When I read (after the restart), there's a time out error. When I send the command as a query, such as "SE 75\r\n" (set the set temperature to 75 celcius) the set point is set and reads "\r\n\00". I attached screen shots of this. The command in the unseccessful pictures was the command to start the heater which should have returned "\r\n\00" with a read as well.

0 Kudos
Message 3 of 3
(4,572 Views)