Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

SR 400 gated photon counter

I don't have a ton of experience with Labview, but I'm trying to get the Stanford Research Systems SR400 gated photon counter to use a fixed gate mode to count.  I looked at the example driver that I found and realized that it isn't capable of doing anything more than a cw sweep.  I found this driver in the forums (http://forums.ni.com/attachments/ni/40/1879/1/subvI.vi), but in the process of updating to labview 8.2 (from labview 7.1 it said), it is missing some connections somewhere.  I was wondering if anyone knew how to find the problem pieces in it and how to fix it.  I have another question about the SR400.  Is labview capable of trigging it through the software, or do I need to have an actual physical trigger going in to the trigger input.  Thanks for your help.
JOn


0 Kudos
Message 1 of 4
(4,990 Views)
Hey Jon,
 
I'm unsure if the SR400 is able to trigger externally, but if in the manual for the SR400, you're able to find the command for it, you should be able to easily implement it. If it's GPIB communication, just open labVIEW, and go to Help->Find Examples->and Search for GPIB, and you should find a nice example called "labVIEW<->GPIB.vi". If it's serial communicaiton, just search "Serial" and you should be able to find a nice example called "Basic Serial Write and Read.vi". Just copy the triggering command if it's found in the manual into the write field, and you should have no problem implementing it. I like these two examples a lot, because they're easy to build from.
 
Regards,
 
Nick D.
Message 2 of 4
(4,975 Views)
Hello Jon,
I assume you are using GPIB in order to communicate with SR-400. You can download the driver for that instrument for LV 8.0 here. I am not clear what you are trying to say in the second question.
Regards
Nikhil A.
Message 3 of 4
(4,974 Views)
Nikhil,
the LV driver for this device is not complete.  It's more of an example driver than anything else.  (see this thread http://forums.ni.com/ni/board/message?board.id=170&message.id=230665&query.id=658682#M230665).  the problem with this driver is somewhere in the read.vi.  I'm trying to get run the sr400 in fixed mode, but it runs into troubles with the read.vi when you configure the gates this way.

Message Edited by jonconcarne on 05-11-2007 03:29 PM

0 Kudos
Message 4 of 4
(4,967 Views)