03-16-2008 06:26 PM
03-17-2008 01:05 AM
Does the Measurement Computing GPIB card come with an utililty like NI MAX , which allows you to send GPIB commands interactively to the device and does that work ?
And also check that the 34401 command language is really set to SCPI and not to emulate either a 3478A or a Fluke 8840A.
03-17-2008 07:54 AM
03-17-2008 10:18 AM
Marcus,
I have verified proper operation through VISA Interactive Control/NI Spy, so I do know that the commands do work. Given this, and the fact that I do have 2 of these intruments, I am sure my problem lies with my code, or use of commands. This function only has this problem with this intruments. I have other intruments (e3649, Sorenson, Belhman) and they all respond to all queries with this function. Something is different about the 34401 that is causing my problem or I need to update my code.
As far as the set language, there is an option on the 34401 to set it to GPIB, RS232. I have checked this and it is set to 34401. Again, this instrument does respond to commands such as set to AC or DC and so on. The function I use for this is very similar to the one posted.
Nathan,
Yes, I do have this driver, but because I have other instruments on this bus which do not have drivers ( VISA or not ), I decided to go through low level 488 commands. I have done this many times in the past with no issues and typically use low level commands. I did however, go through this driver, to make sure that I was using the correct commands ( which do match not only to manual, but to VISA commands).
I think my problem lies in the command Termination, I have tried several options but always get an error on queries.
I am up against a major schedule deadline and willing to try anything at this point.
Thank U both for your response.
Diego
03-17-2008 11:21 AM
Hi Diego,
I had the same problem (beep, error..) using that scpi query command with the 34401a.
My solution was to send set the function, send "VOLT:AC" then just query using the "READ?" command.
Hope this helps
Curt
03-17-2008 11:33 AM
Kurt,
Thanks for your response.
I have tried several different ways to make the measurement, including READ, FETCH and MEAS. The error occurs when I add "?" to the command ( to query), regardless of which command I use.
However, I will admit I have not tried your particular suggestion of using VOLT:AC and then READ... I have tried CONF:VOLT:AC, then READ or MEAS:VOLT:AC?... of course got beep/error on both. I prolly should try *IDN? and see what happens.
Thanks
Diego
03-17-2008 11:40 AM
Hi Diego,
Have you tried increasing the timeout value to 3sec or 10sec instead of 1sec?
Curt
03-17-2008 12:21 PM
03-17-2008 12:24 PM
03-17-2008 12:58 PM