Showing results for 
Search instead for 
Did you mean: 

Newport Optical Power Meter timeout



I'm controlling a Newport 842-PE optical power meter with Labview 8.  All I would like to do is simply conduct a multi-point measurement of arbitrary length and sampling rate.  What I've been doing is using the Newport provided drivers to tell the power meter to start logging and then stop logging using the "".  Then I use the "" to get the array from the power meter.  At seemingly completely random times the will output a timeout error and no data will be collected.  The timeout error doesn't necessarily seem to simply be due to the power meter doing something weird.  The driver's condition for a timeout is very strange and difficult for me to understand.  I've attached an image of the .vi I've been using to attempt to diagnose the problem.  It simply repeats this logging command and filedownload command indefinitly so I can see when it times out.  Here is an image of it.


Does anyone have experience using Labview with this power meter?  Can you think of an alternate or correct path I should be taking to conduct a multi-point measurement?  So far the techies at Newport haven't been able to figure out why this is happening.  Please let me know if there's any other information you would like me to provide.




0 Kudos
Message 1 of 10



Would you attach those 2 vis so we can open them and see what those sub-vis are doing?

I tried to find them on Newports website but I didn't see them.



Sammy Z.

0 Kudos
Message 2 of 10
Yes I'll post them.  I'm not in the lab at the moment, but I will be tomorrow morning.
0 Kudos
Message 3 of 10
Alright here's the .llb file.  Once you open it the vi's I am using are "" and ""  Please let me know if you need anything else.
0 Kudos
Message 4 of 10
I figure I would also post the .vi I'm using to diagnose the problem.
0 Kudos
Message 5 of 10

Hello Dan,


When opening your attached VI, I noticed there were references to VI's that are included in the 841-PE drivers. Do you think this could be a cause of the issue? If this is known, and expected, could you also post this library?




Peter Flores
Applications Engineer
0 Kudos
Message 6 of 10
Here's everything I can think of that might be being used by the driver.
0 Kudos
Message 7 of 10
This also is possibly used.  Honestly I don't know if that's what is causing an issue.  I don't really understand how the program is downloading data from the power meter.  It's not a consistent issue.  It just happens at random intervals, which mystifies me.  Please let me know if there's anything else you need.
Message Edited by Driley13 on 02-21-2009 11:45 AM
0 Kudos
Message 8 of 10
hmmm no ideas yet?
0 Kudos
Message 9 of 10
I used a Newport OPM at work and had issues with it timing out I believe. I can't open your VI right now b/c I don't have labview on my computer. However, could it be an issue with not having a long enough wait between a visa read and visa write in your program? I had an issue with that because when changing the wavelength it needed something like 1 second in order for the wavelength to be changed before I could read data from the device, otherwise I would get an error. This may not be an issue but I thought I would put in my 2 cents.
Message Edited by for(imstuck) on 03-02-2009 06:28 PM
0 Kudos
Message 10 of 10