09-18-2018 05:17 PM
I am trying to communicate with a boxcar (SR245 interface) using GPIB-USB-HS. I keep getting error 7 saying 'GPIB Clear in SR245 LL Initialize.vi' which is one of the sub VIs I am using. And I am not sure how to fix the problem.
Solved! Go to Solution.
09-18-2018 07:56 PM
@Nuri312 wrote:
I am trying to communicate with a boxcar (SR245 interface) using GPIB-USB-HS. I keep getting error 7 saying 'GPIB Clear in SR245 LL Initialize.vi' which is one of the sub VIs I am using. And I am not sure how to fix the problem.
No clue what a boxcar is.
No clue what SR245 interface is.
GPIB is IEEE488 interface
09-18-2018 09:23 PM
If you look in NI-Max what address is listed for your USB-GPIB adaptor? Is it GPIB0? Or maybe GPIB 1,2,3,etc..? Is the box car integrator address set to 25? Have you used debugging to see what values are being passed to the CLR vi? Its a pretty simple VI, so you must have a bigger issue with how you have set things up.
Did this program run before? Who wrote it? What platform? What version of OS/LabVIEW was it written on and what are you running now? Updated the NI-GPIB drivers to match the version of LabVIEW?
More details required.
09-20-2018 10:16 AM
Thank you for your feedback. It is GPIB1. the box car integrator address is set to 28. One of the former students wrote the program. I think it was written on Labview 6. I am using Labview 2014 SP1.
09-20-2018 10:47 AM
The VIs you posted all show addresses of GPIB0::28::INSTR by default. Have you changed these to reflect that its GPIB1::28::INSTR?
09-20-2018 02:25 PM
You are right. That was the problem. I had to make sure it was GPIB1::28::INSTR.
Thank you!