01-02-2007 07:16 AM
Hi
I am designing a optical multi board control system which includes a Laser source, a Polorization Control module and a Polorimeter, the 3 modules are dependent with each other. I think we only need to understand the hardware are 3 different modules and cooperate with each other, do not need to understand the instrument detail.
I need to open modules, active Laser source, use Polarization Control to change light parameter and use Polorimeter to measure the result.
Every module should be configed, measure prosess must contains control, acquire, save data, and so on, the software can open and analyze saved data without instument connection.
Always I like to use PC event pattern to construct my event driven system to make it looks like a classic windows software, day after day I find that event driven is not suitable everywhere and LabVIEW is not a traditional language with his own characteristic, more project I have finished, more puzzles for my architecture design, I browses NI forum everyday for good thead about architecture, but I am still a pupil in LabVIEW area.
Another thing is an instument keep alive information need to be sent with fixed interval, if I understood"keep alive correctly".
Anyone have such a multi instuments development experience.
Thank you very much for your sinerely advice.
01-02-2007 07:02 PM
Any suggestion or samples?
01-03-2007 06:10 AM
Hi paulbin,
Do you control these 3 instruments via VISA? Maybe you can use parallel structure to control instruments synchronously.
01-03-2007 06:57 AM
01-03-2007 09:13 AM
01-03-2007 09:57 AM
01-03-2007 09:17 PM
Hi Olli
The 1st laser source is GPIB, the 2nd controller is USB and the 3rd is usb too, the usb driver and instrument driver were provided by vendor I only need to use these VIs.
I wonder which design pattern is suit me.
Thanks very much.
01-04-2007 01:27 AM
01-04-2007 09:26 AM
Hi Liming
Your picture seem a "chain", my application si a long time running system, sometimes it need to run for a whole day due to the iterative acquisition for a specific laser wavelength field, maybe I need to give a while loop for the "read data", or I throuth the 3 "start" to 3 while loops and exchange data via Locals? I always do not like using Locals and Globals, 🙂
Thank you very much.
01-04-2007 06:48 PM