Home
User Manual
Contents
1. IGITAL ECHNOLOGY RT How to run the DTA CCD Cameras with LabVIEW R Stellacci R Grassi March 2014 Copyright 1996 2014 Digital Technology Art s r l All rights reserved The reproduction of any part of this notes is allowed only with the written authorization by Digital Technology Art s r l The contents of this manual may be subject to changes without any warning Digital Technology Art s r l are not responsible for errors that may occur in this manual Revision 1 1 by Monica Sanna dated 01 03 2004 Revision 2 0 by Renzo Grassi dated 08 02 2014 CONTENTS Introduction How to run the DTA CCD Camera with LabVIEW Select and setup your camera A Simple program Available operations by CameraDemoTest vi Panel How to call the library function of the dcl dll oo N aA a LabVIEW is a graphical development environment developed by National Instruments It is available for Windows Mac OS Linux and for various Unix platforms It allows one to develop applications in a graphical manner using its own programming language LabVIEW applications are not text based instead they are drawn graphically providing a diagrammatic view of how the data flows through the application This way the typical complexity of traditional programming languages can be avoided LabVIEW is used in science and engineering for signal acquisition measurement analysis and data presentation A LabVIEW application for example ca
2. error that is displayed into the Error Message box see figure below In case of error the program stops automatically open the CCD camera 200000000000 ba 1 0 2 P poootoodOOOtO IF ok green switches on otherwise switches red led laxa s s s mis ss as 1 1 IDOOODOODOOOOOOOOOOCOOOOOOOOOOOO OOO oD In the following picture all other necessary calls have been put to take an image or a dark image and to fix the camera settings temperature binning and gain It use the Event Structure one event for every button gt CameraDemo lest vi Block Diagram Be Edt Operate Toos Browse Window Heb 218 n E lelos ol es Eystogram ja Pe eRe DoOgogOOQOOUDOR gt 0 3 paooagaooooogaooQgaogagoaggogagogoaogooQuogte a E Y Al H3 4 E EB BE p p Y f f f f f s pT q If you press the Quit key on the control panel the program quits the loop and closes the camera a DCL Testi Diagram gt 89 e wd ebol fat 1etAppication rot 9 8o d sis S JLrrmrmrmrmnmnrmrmrmrmrnmrmrmrmrrmrrrrrrri a 2 0 2e BuBmngmimgmurmromtrrcrprrrrosrrepir CLOSE THE CAMERA Lrnunumnmnmnmnurnmrnurnmunmurnurnurnmnmnmnurnmnmurnmunmn0mtmummunnmumnrmrnmunurnumurnunmumrnmurnuurnmnrnunrnurnrnmrnuurnmr rinarrrt How to call the library function of the dcl dll Each step is performed for subroutines called DC Open vi DC Sta
3. Res II HiRes II bd I Bi Sampling Mpix s 1 000 HiRes V HiRes IV Plus HiRes V Hurricane Gain Conversion Factor CAMI Electrons X ADU iCAM II Gain 1 8 00 Mary Gain Z 4 00 NCC Gain 3 2 00 VLA Gain 4 1 00 Figure I The platform panel and the CCD Selection panel of dcs exe program Filter Wheel Interface 8Pos Int EPP 6 Pos Int FDL I5A RPF5 FDL PCI RPF8 Max usB MaxFilter RGB LCD O None FW Port Link Type Internal Parallel Aux Port e Sena CON Fiber Optic e cow Coax Cable LPT jj LongCable e rr FDL PCI USB index 0 7 Camera Address Multiplexed g Camera Select Setup Rev 1 4 0 C 2003 2013 DTA oe ci cx cL CL cL cL Shutter E Mechanic Electronic External FLC LCD A simple program CameraDemotTest vi program is an example of the managing system of the most important CCD camera functions by using some available ones in dcl dll dynamic library As previous said instead of showing the programming codes the object icons represent any program and subprogram called virtual instrument or VI in short as graphically reported in the CameraDemorTest vi programming panel It includes several keys some of them are included in a frame with the controls and refer to the camera while some others are located under the taskbar and they deal with the program functioning Main Panel To start the prog
4. advisable to use the National Instruments IMAQ Vision packet D IGITAL T JECHNOLOGY d A RT W Digital Technology Art srl Via G Cei 100 56021 Cascina PI Italy Tel 39 050 711126 FAX 39 050 715347 www digitaltechnologyart com
5. ect the gain choose one of the three choices available on the array indicator and press the button above to enable it 4 This part of panel allows one to set the binning working mode choosing it among the choices available on the array note that this version allows the only square binning and press the button to activate it 5 Press this button when every choice has been made Every set is loaded on the camera working mode and this panel is closed CameraDemoTest vi working As mentioned above the program functioning is briefly introduced in the flow chart Figure 3 Open the camera No error message and end the program l Yes error message OK Execute the call to the functions Figure 3 Flow chart of CameraDemoTest vi program In order to make the program modular every functioning call of the camera is placed in a subprogram namely in a VI call from the main program it s easier to read Each function is contained in a VI and can always be called Just the DC_Open vi and DC_Close vi must be called respectively at the beginning and at the end of the program First step the program loads the DC_Open vi function that in its turn loads the camera cfg file and opens the camera with suitable parameters Subsequently the program calls the status function DC Status vi and checks status of the camera If the status of camera is OK then the green led turns on Otherwise if the red led turns on there is an
6. n control temperature measurements analyse the waveforms provided by an oscilloscope and present the acquired results graphically on screen or by generating reports In this simple guide will allow you to control DTA cameras with LabVIEW How to run the DTA CCD Camera with LabVIEW 7 1 version The following notes explain the way to run a DTA CCD camera by means of LabVIEW program 7 1 version using Windows 95 98 2000 ME XP 7 8 Operating Systems The DTA program is only an example to be increased subsequently by the IMAQ library functions able to display the acquired images Select and setup your camera In order to use your DTA CCD camera with LabVIEW it is necessary to run dcs exe program This utility produces the camera cfg file that contains all parameters of the camera In the first panel Platform you must choose the camera platform in use and in third panel CCD Selection you must choose the CCD sensor mounted in your camera then push OK button The other panels are not needed for CameraDemorTest vi program MU Camera Select Setup Rev 1 4 0 C 2003 2013 DT A f x Platform PLATFORM COMMON SETTINGS ALPHA Camera Identifier 10 C3 Time Base MHz 50 a C3PLUS Amplifier Delay us 1 ci A D Clock ua 1 CHROMA Vertical period us i 5 iDEMO Shutter Delay ms 10 DISCOVERY Number of Gains 4 DISCOVERY Plus ELECTRA ELECTRA Plus GCAM Hikes A D Converter bit 14 Hi
7. ram you need to press the key with the white arrow start below the Edit menu Now you can either take a dark press dark key image or an image with any exposure time press Integrate key To leave the program just press the stop key it carries out the camera shutdown before quitting the program You can also cut the program off by pressing the circled red key stop below the Operate menu In this way the camera is not off so you need to restart the PC before using the camera again When CameraDemotTest vi program is running the following operations are possible see the figure 2 as reference 1 CO 0 ND t 11 12 13 14 This is a simple LED which helps the user to check the status of the camera When this it is ON and green the system found the camera and the camera works correctly On the contrary when this LED is ON and RED the system performed some error and you need to open the status vi in the subvi dta folder to see what is wrong It displays the error message occurred to the camera When message is OK the system found the camera and it works correctly The button Camera Set link allows one to open a new panel in which it is possible to set the camera temperature the gain the binning and to activate the cooler system It displays the current camera temperature The INTEGRATE button starts the image acquisition The image will show in next display see 11 This control allows to set the exposi
8. rorMessage long arg1 EC ca Figure 5 Call Library Function object Let s have a look at the way to load an image in storage In the program use the subprogram DC GetCCD vi it includes the functioning call DC GetCCD of the dll Call Library Function Library Name or Path C WINDOWS Desktop LIASLABVIEWS SUB_VI dcl dl The call is setted as follows It is important to stress the parameter relatively to the matrix pointer which includes the image 1 Parameter mat the name of the parameter 2 Type array it s a one dimensional matrix a vector of the image dimensions 3 Data Type Unsigned 16 bit Integer 4 Dimensions 1 it s a one dimensional matrix 5 Array Format Array Data Pointer it s a one vector pointer To pick up the image you can do this as you have passed a pointer you simply have to connect to Call Library Function object output and save the vector or take it onto the screen Of course what you see is not an image with strips and columns but a single strip containing every strip of the image So it is necessary to divide the vector into as many strips as those included in the image The usual LabVIEW graphical functions are not able to display correctly a digital image On the panel of CameraDemotTest vi program is then possible to see only the content of every single pixel of the acquired image by the array indicators see figure 1 To display the image is
9. tion time in seconds of the image The DARK button starts acquiring the dark image The image will show in next display see 11 This control allows to set the exposition time in seconds of the dark image The DIFFERENCE button do the difference pixel to pixel of image and dark image The image that comes out will show in next display see 11 Display where the images are shown Colours start to black min pixel value untill white max pixel value and is normalized to 256 blue tone 8 bit Ramp see 12 showes max and min pixel value Ramp where the pixel value is shown see 11 Histogram of image showed in display see 11 The CAMERA CLOSE button allows one to close the camera and stopping the CameraDemofTest vi program Camera Set Panel The camera set panel allows one to set the working camera mode To open it press CAMERA SET button on the main panel figure1 and a new window is opened gt SET CCD Figure 3 The SetCamera vi panel It allows one to set the camera working mode 1 This part of panel allows one to set and activate the cooler To choose the working temperature select the value on the array indicator and to activate it press the button 2 This part of panel allows one to set the cooler working power To choose the power select the value on the array indicator and to enable it press the button above 3 This part of panel allows one to control the gain of acquisition system To sel
10. tus vi and so on see Figure 4 In each subroutine the function is called up with the Call Library Function object you have to click with the right button of the mouse on the icon to open the calling configuration menu Figure 5 gt DC_Status vi Diagram 0 m P bale 1 cir Bor s e File Edit Operate Tools Browse Window Help m Figure 4 DC Status vi diagram The VI calls two functions of dcl dll to read the status of the camera error message You can create new VI that calls the functions contained in dcl dll In this case is necessary to put every parameter properly otherwise the program will show a link error 1 Press the Browse key to put dll name and path 2 Write the name of the function to be called 3 Place the calling convention in stdcall WINAPI 4 Put the first parameter void in this case it s the output function 5 Press the Add Parameter After key then put the second parameter Type it is a figure so Numeric Data Type it s a 32 bit signed integer so Signed 32 bit Integer Pass You need to transmit the value so Value 6 Put the third parameter by repeating the same procedure up to the last parameter Call Library Function Library Name or Path aan Function Name DC ErrorMessage Calling Conventions stdcall WINAPI Parameter freturn type E Type String Add a Parameter Before Add a Parameter After Delete this Parameter Str DC_Er
Download Pdf Manuals
Related Search
Related Contents
E1 - E1A - E1BOX - E1F baixar arquivo - Brinquedos Bandeirante Manual de Operaciones DIESEL WATER/TRASH/ CHEMICAL PUMPS 平成25年度 決算状況について 一一一一一一一一一一一一一 Poulan 530164267 Trimmer User Manual User`s manual of RD Laser Cutting Software Fiche 08- Mites Alimentaires Instrucciones de servicio - VEGAPULS 69 著作権の保護範囲に関し著作物の 「本質的な 特徴の直接感得性」 基準 Copyright © All rights reserved.
Failed to retrieve file