11-06-2013 11:15 AM
I am using LabView to control a SR400 Photon Counter from Stanford Research Systems. I can control the box easily, but am having problems with reading the correct data from the box. I am getting repeated incorrect values of '0, 6, and 134' instead of the actual count numbers. I see the correct values on the box display screen, but GPIB reads the wrong ones.
This is what I have tried and what I have learned:
My questions for all of you are:
I have attached code from 8.2 and 2011. I am in the process of converting our code to 2011 to see if it solves the issues. The VI with GPIB Read is CollectData/TakeData and it is called by a VI, PMT Cooldown where it gets called frequently, but all reading and writing is done by the CollectData/Take data files.
I thank you all in advance for your help. I am a grad student and am still learning about LabVIEW and these electronics.
Solved! Go to Solution.
11-06-2013 12:07 PM
11-15-2013 10:08 AM
Thanks so much for the help! I switched my code to 2011 and slowed down my bus speed from 2 ns to 2 us. The problem is now solved.
11-15-2013 10:21 AM
03-20-2014 11:28 AM
Probably an easy question for the more "computer-literate", but how do you change the bus speed? I am having this same issue with my photon counter as well.
03-20-2014 12:12 PM
Open MAX (Measurement & Automation Explorer) >>Devices and Interfaces>> Select your GPIB card.