Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing a code for interfacing Oriel monochromator and Agilent semiconductor parameter analyzer.

I am trying to interface Oriel monochromator and semiconductor parameter analyzer(p.a.) to write a code that will plot a current vs wavelength characteristics of a device. I send a command first to the monochromator to come to a particular wavelength and the p.a. is used to measure the current at that wavelength. Although both the instruments work very fine if they are used exclusively to do some measurements, but when used together, the monochromator is taking nearly 1-2 minutes to switch between wavelengths which it does in a couple of seconds. Is it because there is some interference from the code for the two instuments with each other? How can I do a serial programming to make sure that one instument is not accessed when the other is being accessed? Both the instruments have different GPIB addresses and so supposedly they should not interfere with each other. For my code, I am using VXI-pnp drivers for the p.a. and vi files supplied by Oriel for the monochromator.
0 Kudos
Message 1 of 2
(3,181 Views)
Hi

This looks as if one of the systems or both are waiting on timeouts without having the error clusters connected.
You can serialize LabVIEW code by connecting the error in-out clusters in the correct order.
This is called sequencing by wiring and is the best method in LabVIEW.
Only serialize what has to be serialized.
This method ensures both that errormessages are detected and commands are sent before data is read.



greetings from the Netherlands
0 Kudos
Message 2 of 2
(3,172 Views)