Hi all, I am trying to program a Yokogawa gs200 and NI MAX recognizes it, but any queary or read command is returned by a timeout error and the red error light is always on on the instrument after the first error is ecountered. Does anyone know how to solve this? Thank you all.
Solved! Go to Solution.
Basic stuff that literally every Topic requesting help with GPIB/VISA fail to do,
ok so it turns out that the GPIB connection was not working properly, i switched to USB and now the NI MAX detects the device and lets me communicate with it through the VISA terminal. The problem now however is that if i try to communicate with it through any labview program (including the test driver given by NI) it gives back a timeout error and nothing happens. This is an issue that shows up only if i interact via Labview programming, while direct communication works (i even started a couple sweeps just to check and they are perfect). I don't think it's a driver issue since the device is visible both in dev manager (as USB TMD) and on NI MAX. Do you have any idea?
Strange that GPIB is not working. I think you should why it is not working.
If you can communicate with the instrument with MAX you can also communicate to it with LabVIEW (it is the same) but not both at the same time.
Close the MAX communication and try the LabVIEW program.
Thanks a lot, i think this was the issue. Today i just rebooted everything and both NI MAX and the labview script were now working. I think i was trying to access the instrument with the script while the VISA control from NI MAX was still open. Thanks again!