From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-14-2019 02:41 PM
I am trying to read and writ a command to a temperature oven. The commands offered by NI-MAX don't work.
I attached a picture with a sample command that the manual gave. This device uses GPIB.
Solved! Go to Solution.
06-14-2019 02:49 PM
Does it need a termination character? (probably) Did you send a termination character? (I don't see one in your command.)
Hit enter at the end of version. Or type /n or /r.
06-14-2019 04:21 PM
Thanks for the response. Yes I tried \n and \r.
06-14-2019 04:25 PM
I also am not sure which GPIB to choose.
I tried GPIB0 and GPIB4 and GPIB5 then "Scan for Instrument".
Not sure.
06-14-2019 04:56 PM
@Netsballer92 wrote:
I also am not sure which GPIB to choose.
Leave it as GPIB0. You should only need to change that if you have multiple GPIB controllers on your system.
06-14-2019 04:58 PM
What model of oven and/or controller are you trying to talk to? There are plenty of other settings to worry about that might show up in the manual.
06-14-2019 05:42 PM
That looks like it's supposed to be a query. Did you click the "Query" button? (Alternatively, did you click "Write" followed by "Read"?)
06-17-2019 09:05 AM
Thank you for the response on GPIB0.
Here is the manual.
06-17-2019 09:07 AM
Thank you for the response.
Yes I tried both of these options. Write and read also query
06-17-2019 10:03 AM - edited 06-17-2019 10:11 AM
How many ovens do you have connected? I see 10 instruments listed in your NI-MAX list. Are they all powered on? How long are the cables between them? Have you specifically set the address on each oven? What is the address you are attempting to contact? (In your first post its GPIB0::4::INSTR, but its not shown in the list in the latest image.)
GPIB has some restrictions on cable length (2m between instruments/repeaters) and a total of 20m of cable length. Also I think its 2/3 of the instruments have to powered on at any time. If you have a huge long run on cabling, and most of the instruments are off your feeble GPIB querry just gets lost and eventually you get that timeout error.
I would try to send either "Status?\r\n" or "Temp?\r\n".
Craig