SR400 photon counter readout in labview

  • Thread starter Thread starter otg
  • Start date Start date
  • Tags Tags
    Counter Photon
Click For Summary
The discussion focuses on controlling the SR400 photon counter using LabVIEW, with the user successfully executing commands despite the absence of a manual for the drivers. The main issue is obtaining continuous count data, as the current setup only retrieves final counts after a counting period. It is suggested that if the LabVIEW drivers lack the desired functionality, users can manually send commands through GPIB using LabVIEW's GPIB Read and Write functions. The user acknowledges that the SR400 manuals, available for free online, contain useful information, particularly in the "remote programming" section. Ultimately, the user adapts their approach after realizing the limitations of the drivers, leading to an opportunity to learn more about GPIB.
otg
Messages
30
Reaction score
0
I'm trying to get the hang of labview and it's going pretty well so far. My plan is to control a SR400 photon counter and I seem to get it to do stuff on my commands even though there's no manual for the drivers. (does anyone have one? :) )

My problem/question:
I can get the counts for each gate with the SR400 driver "Query Counts.vi", but I only get the final counts after a counting period. I'd like to get the counts continuously, as they are shown on the SR400 display (would be nice to know the long time behaviour of the counts).

Suggestions/Tips?
 
Engineering news on Phys.org
The Labview drivers are just another "layer" on top of the commands sent to the instrument over the GPIB bus (or whatever interface you are using). Hence, if the functionlity you need is not included in the drivers you just have to do it "manually" by sending the relevant commands directly to the instrument using GPIB Read and GPIB write in Labview (and if you want to be fancy SRQ polling, but that is rarely needed).


I've never used a SR400, but the manuals from SR are usually quite good (and are free downloads from their website). Hence, look in the "remote programming" section of the manual.
 
Thank you for your reply, I found out that it is not possible to do what I first wanted so I simply did it in another way. The drivers also don't seem to be free of problems, but that on the other hand gives me a reason to learn GPIB... :)
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 14 ·
Replies
14
Views
5K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
7K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
128
Views
34K
  • · Replies 24 ·
Replies
24
Views
16K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K