09-12-2005 06:18 PM - edited 09-12-2005 06:18 PM
Hi,
The problem that I am encountering is related to slow response time of photo diode that makes the scan time quite large.
What I am trying to accomplish is:
(1) I am scanning the sample (in Y and Z direction) using two stepper motors ; scanning dimension 3 mm X 3mm. The velocity of motor is 2 mm/sec and it moves in step size of 5-10 microns. The motors that I am using was bought from Newport.com and their model is UTM25PP.1.
(2) For each sample position, I am reading ampere value using photo-diode. The amplifier uses RS-232. I can read either watt or ampere and I am reading ampere.
The problem that I am encountering:
If in "Basic Serial Write and Read.vi", I change the parameter "delay before read (ms)" to be less than 1000 msec, the photodiode fails to update for successive sample positions. It only works if "delay before read (ms)" is 1000 msec or more. But, this makes my scanning extremely slow which is undesirable (If I follow 1000 msec, the time taken would be more than 300 X 300 sec = 25 hours).
The main vi is “Photo_Diode_N_Motors_Integrated” and other are subvis.
Please let me know if you have any suggestion.Thanks,
DK
Message Edited by Dushyant on 09-12-2005 06:19 PM
09-12-2005 09:32 PM - edited 09-12-2005 09:32 PM
Message Edited by LV_Pro on 09-12-2005 10:32 PM
09-13-2005 08:13 AM
09-13-2005 09:28 AM
I agree it is probably the rs232 which is a very slow port and is might even be older than you. I don't think the photodiode responses is slow, but you can try to use a simple photodiode setup with an analog-to-digital card which can be read at rates much faster than 1KHZ. This will allow for an enormous increase in readout time. The communication bandwidth should be your problem. Its like using the latest dual-Pentium processor to connect to the we with dial-up, the computer is not slow but is sure will act slow. The cons of this new approach is that you will need to get an a-to-d card and a photodiode with analog output (not too expensive but still not free). Serial is slow and easy to use.
Paul
09-13-2005 10:00 AM
09-13-2005 12:11 PM - edited 09-13-2005 12:11 PM
Message Edited by Dushyant on 09-13-2005 12:37 PM
Message Edited by Dushyant on 09-13-2005 12:37 PM
09-13-2005 12:14 PM
Hi,
I bought photo-diode and controller form edmundoptics.com and here is the detail:
Silicon Photo Diode Detector System:
Details: • SILICON DETECTOR 100MM2 Biased: |
NT53-373 |
$98.50 |
PHOTODIODE AMPLIFIER |
• NT57-601 |
$995.00 |
09-13-2005 12:31 PM
09-13-2005 12:32 PM
09-13-2005 12:40 PM - edited 09-13-2005 12:40 PM
I believe that the photo-diode amplifier that I am using only uses RS-232. I am not able to think of any way so that I can use DAQ card or anything.
Also, one of my friend suggested me that this may be because of using too many stacked sequence (which according to him not a very good practice). Do you guys think that it may be the reason?
Thanks,
DK
Message Edited by Dushyant on 09-13-2005 12:43 PM
Message Edited by Dushyant on 09-13-2005 12:43 PM