08-11-2008 08:31 PM
08-12-2008 12:34 PM
08-12-2008 03:35 PM
08-12-2008 06:26 PM
08-13-2008 02:17 PM
Hi David,
The spy capture shows the exact same commands being sent to the device, but the device is behaving differently.
Could you please verify that the device that on both machines are the exact same? Could there possibly be an issue with the device at the user site?
Also, could you try to uninstall the NI-VISA runtime on the user site, and install version 4.1 (same version as development machine)? This will ensure consistency when trying to troubleshoot this issue.
08-14-2008 06:07 PM
Hi Rasheel,
Problem soved.
I found that the user GPIB interfect from CEC was using version 7. Upgrading to Version 8 fixed the problem.
Could you, however, let me know what are the causes for the following errors on the deveopment machine that were reported by NI-Spy (lines 135,6)?
> 135. viUninstallHandler (GPIB0::27::INSTR (0x04A1CF40), IO_COMPLETION, NULL, NULL)
> Process ID: 0x00001410 Thread ID: 0x000001B4
> Start Time: 11:16:09.449 Call Duration 00:00:00.000
> Status: 0xBFFF0028 (VI_ERROR_HNDLR_NINSTALLED)
> 136. viUninstallHandler (GPIB0::27::INSTR (0x04A1CF40), SERVICE_REQ, NULL, NULL)
> Process ID: 0x00001410 Thread ID: 0x000001B4
> Start Time: 11:16:09.449 Call Duration 00:00:00.000
> Status: 0xBFFF0028 (VI_ERROR_HNDLR_NINSTALLED)
Thanks
David
08-15-2008 11:38 AM - edited 08-15-2008 11:39 AM
Hello David,
It looks like you are not passing any valid handlers in your viUninstallHandler command. Calling viUninstallHandler removes the specified handler from the list of
active handlers on the given session. You can see the exact error information for your error in the picture below.
Useful information can be found in the manual: VISA Programmers Reference Manual Pages 5-146 & 7
Have a great day!
Meghan R
Applications Engineer
National Instruments