01-24-2008 11:57 PM
01-25-2008 05:42 PM
Hi Vicky,
Do you have any more details regarding this error? Try running just the initialize.vi and see exactly what VISA function is throwing this error. Also, try communicating with the 2400 using VISA interactive control. Run VISA interactive control from Tools>>NI VISA in Measurement and Automation Explorer, when the VISA Interactive control menu opens, double-click your interface and device, this will open a new session window. Select the write tab, and hit execute, and then select the read tab and click execute. If the device is communicating correctly, it will return the device's identification. If not, it will return an error. I hope this helps, post back with any new information.
Ted
01-28-2008 04:41 AM
Hi Ted,
I had tried running initialize.vi alone and it gives the same error (I am using Ke24xx.llb which i downloaded from NI). I am using Agilent's 82357A GPIB-USB, hence i'm not able to run VISA interactive control from MAX. However from Agilent's IO control I'm able to read device identification (*IDN?) correctly.
01-28-2008 05:26 AM
01-28-2008 06:08 AM
Hi Ray,
I have already done Tulip setting in VISA passport editor in MAX and i'm using NI VISA 3.4. however still 82357A does not show up in MAX.
Regards,
Vicky.
01-29-2008 11:01 AM
Hi Vicky,
Could you step through your intialize VI, and see exactly what causing this error? Use highlight execution, and you will be able to see exactly what VISA function is causing this error. Your error is indicating that a state of some attribute is not valid or supported by the device. It would be helpful to know what attribute this error is referencing so we could find a possible work around.
Thanks!
Ted