background image

Personal Daq User’s Manual 

Appendix B, 

 887095

 

API Commands     B-7 

 

daqAdcRdScan 

DLL Function 

daqAdcRdScan(DaqHandleT handle, DWORD startChan, DWORD endChan, PVOID buf, 

daqAdcGain gain, DWORD flags); 

daqAdcRdScan(DaqHandleT handle, DWORD startChan, DWORD endChan, PVOID buf, 

DaqAdcGain gain, DWORD flags); 

Visual BASIC 

VBdaqAdcRdScanSingle&(ByVal handle&, ByVal startChan&, ByVal endChan&, buf!(), ByVal 

gain&, ByVal flags&) 

Delphi 

daqAdcRdScan(handle:DaqHandleT; startChan:DWORD; endChan:DWORD; buf:pointer; 

const gain:daqAdcGain; flags:DWORD); 

Handle 

Handle to the device from which the ADC scan is to be acquired 

StartChan 

The starting channel of the scan group 

EndChan 

The ending channel of the scan group 

Buf 

An array where the A/D scans will be placed 

Gain 

The channel gain 

Parameters

 

Flags 

Channel configuration flags in the form of a bit mask.  

Returns

 

DerrInvGain 

Invalid gain 

 DerrInvChan 

Invalid channel 

 DerrNoError 

No error 

See Also 

daqAdcRdScanN, daqAdcSetMux,  daqAdcSetClock, daqAdcSetTrig 

Program References 

None

 

Used With 

All devices  

Description 

daqAdcRdScan

 reads a single sample from multiple channels.  This function will use a software trigger to immediately trigger and acquire 

one scan consisting of each channel, starting with 

startChan

 and ending with 

endChan

.  The 

gain

 setting will be applied to all channels. 

 See 

ADC Flags Definition 

table for channel 

flags

 definitions. 

 

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for OMB-DAQ-54

Page 1: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Page 2: ...m For latest product manuals omegamanual info Shop online at User sGuide OMB DAQ 54 55 56 USB Data Acquisition Modules OMB 491 0901 rev 6 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 3: ...7 Toll Free in France 0800 466 342 e mail sales omega fr Germany Austria Daimlerstrasse 26 D 75392 Deckenpfronn Germany TEL 49 0 7056 9398 0 FAX 49 0 7056 9398 29 Toll Free in Germany 0800 639 7678 e mail info omega de United Kingdom One Omega Drive River Bend Technology Centre ISO 9002 Certified Northbank Irlam Manchester M44 5BD United Kingdom TEL 44 0 161 777 6611 FAX 44 0 161 777 6622 Toll Fre...

Page 4: ...cates the message is important but is not of a Warning or Caution category These notes can be of great benefit to the user and should be read In this manual the book symbol always precedes the words Reference Note This type of note identifies the location of additional information that may prove helpful References may be made to other chapters or other documentation Tips provide advice that may sa...

Page 5: ...uring software installation Adobe PDF versions of user manuals will automatically install onto your hard drive as a part of product support The default location is in the Programs group which can be accessed from the Windows Desktop Initial navigation is as follows Start Desktop Start pull down menu Programs Omega PDaqView Software You can also access the PDF documents directly from the data acqui...

Page 6: ... software application that provides setup and data acquisition capabilities from within Microsoft ExcelTM The add in is an option that is available for purchase Chapter 5 Signal Management discusses signal modes system noise and includes a brief discussion of channel control and expansion Chapter 6 Calibration explains how to perform periodic calibrations using the Windows based program UserCal Ch...

Page 7: ...vi 887695 Personal Daq User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 8: ...ecting a PDQ Expansion Module to a Personal Daq 3 3 Connecting Various Hardware Setups 3 3 4 Personal DaqView Overview 4 2 Standard Plus and XL Version Software 4 2 Main Control Window 4 3 Toolbar Buttons 4 3 Pull Down Menus 4 3 Channel Configuration Window 4 6 Channel Configuration Window Toolbar 4 6 Channel Configuration Window Pull down Menus 4 6 Common Spreadsheet Columns 4 7 Analog Input Spre...

Page 9: ... Source Impedance 5 7 Crosstalk 5 7 6 Calibration Introduction 6 1 Required Equipment 6 2 Calibration Procedure 6 2 7 Troubleshooting Customer Assistance Radio Frequency Interference 7 1 Electrostatic Discharge ESD 7 1 Troubleshooting 7 2 Customer Assistance 7 5 Appendices A API Custom Program Models B API Commands C N A removed from manual D Custom Labels viii 887695 Personal Daq User s Manual Ar...

Page 10: ...onnect PDQ Module option c Connect Personal Daq System to your computer d Connect Channel Inputs 4 Start Personal DaqView Configure System and Collect Data Inspect Your System If you have not already done so check your package contents for damage that may have occurred during shipment Immediately report any damage to the shipping agent and your sales representative Retain all shipping materials in...

Page 11: ...ter the intro screen appears follow the screen prompts Upon completing the software installation continue with step 2 Install Hardware Install Hardware Depending on your order your Personal Daq unit may not require all the steps under this heading for example if you did not order a PDQ expansion module you would not connect one If a step does not apply to your unit simply go on to the next one Not...

Page 12: ...l blocks from Personal Daq Module 2 Snap Personal Daq s mount edges into grooves of base BR 24 3 Re install Personal Daq s terminal blocks Inserting Personal Daq s Mount Edges into Grooves of Base BR 24 2 Attach Feet FE 8 to Base BR 24 1 Slide first foot FE 8 onto base BR 24 Note the orientation of the Quick Release see following figure 2 Keeping the same Quick Release orientation i e both up or b...

Page 13: ...oving Units from a Type NS 32 DIN Rail 1 Push up on the base foot assembly 2 Lightly pull the base foot assembly away from the DIN rail Connect PDQ Module option CAUTION The discharge of static electricity can damage some electronic components Semiconductor devices are especially susceptible to ESD damage You should always handle components carefully and you should never touch connector pins or ci...

Page 14: ...ost PC When using a power adapter with your Personal Daq system be sure to supply power from the adapter to the Personal Daq before connecting the USB cable This allows Personal Daq to inform the host computer upon connection of the USB cable that the unit requires minimal power from the computer Use an approved high speed USB cable to connect the Personal Daq system to one of the host computer s ...

Page 15: ...erminal blocks are detachable for ease in making connections The main module Personal Daq 54 Personal Daq 55 and Personal Daq 56 and optional PDQ expansion modules PDQ1 and PDQ2 have labels which clearly identify each input type and channel number Each Analog Input channel can be configured for single ended or differential volts or for differential thermocouple inputs The non analog channels are d...

Page 16: ...pter 5 contains additional information Single Ended and Differential Connections to Analog Input Channels Start Personal DaqView From Windows open Personal DaqView by double clicking on the Personal DaqView icon or by using the Windows Desktop Start Icon to access the Personal DaqView program You will find Personal DaqView listed in the desktop s Program group By default the Personal Daq files wil...

Page 17: ... apply to Personal Daq 54 7 Configure Data Destination Accesses the Configure Data Destination window Note that this window provides a means of selecting sequential destinations through an auto rearm feature 8 Configure Acquisition Accesses the Configure Acquisition window 9 Configure Channel Settings Brings up the Channel Configuration window From this window you can configure channels for Analog...

Page 18: ...wn list appears just below the toolbar Double click with the left mouse button to cycle through listed selections or write enable a cell as applicable If the cell has a given parameter list such as those in the On Range and Measurement Duration columns the parameter will change with each double click allowing you to cycle through all possible selections Note that these selections are repetitive in...

Page 19: ...vided in Chapter 4 Data Destination Window Collect Data Click the Enable Readings Column button 16 see page 1 8 or the Update All Indicators button 10 see following figure to start the acquisition The data acquisition begins and the readings column becomes active However data is not recorded to disk Clicking the Arm Trigger for Disk Recording button 4 will send the data to disk Click one of the to...

Page 20: ...tion Window is not visible click button 9 2 Select the tab for the desired spreadsheet Analog Input is the default Note that the Frequency Pulse Input and Digital Input Output tabs do not apply to Personal Daq 54 3 Ensure the desired channels are enabled Double click in a channel s On Off cell to enable or disable a channel as applicable 4 If you want to record data to disk click on button 4 Arm T...

Page 21: ...ure 8 Configure Acquisition Accesses the Configure Acquisition window 9 Configure Channel Settings Brings up the Channel Configuration window From this window you can configure channels for Analog Input Frequency Pulse Input and Digital Input Output channels depending on which tab is selected 10 Update All Indicators Starts all on screen indicators with a display of up to date data Has no affect o...

Page 22: ...tups require USB hubs self powered or USB powered In addition depending on the setup certain Personal Daqs in the system may require connection to a power adapter as indicated in Chapter 3 Hardware Setup Note Certain notebook PCs require the use of a power adapter with the Personal Daq Chapter 3 contains more information regarding power adapters Personal Daq 55 and 56 allow for system expansion by...

Page 23: ...stem includes the following features USB connection to the PC means no batteries or other power sources required see notes signal input connections via removable screw terminals high resolution 22 bit A D converter internal cold junction compensator for direct thermocouple measurements 500 VDC isolation for PC protection low noise thermocouple and voltage measurements full scale voltage inputs fro...

Page 24: ...or real time display of acquired data while eliminating the need for additional memory in the acquisition device USB supports transfer rates up to 12 Mbytes sec and supports real time data transfer Standard USB connectors can be identified by a USB icon Power Line Rejection Personal Daq can take readings while making use of 50 60Hz line cycle rejection 120 dB While in the line cycle rejection mode...

Page 25: ... sampling interval integrity Examples of scan sequences with various channel resolutions and calibration arrangements appear in the figure on page 2 7 Input Ranges You can individually select the input range for each channel For example one channel could be used for volts and another for temperature Personal DaqView automatically assigns the appropriate units depending on two factors the selected ...

Page 26: ...DQ expansion modules either type can be snapped on to a Personal Daq unit however each Personal Daq can support only one expansion module PDQ1 modules add 20 single ended or 10 differential inputs to the Personal Daq 55 or 56 PDQ2 modules add 40 single ended or 20 differential inputs to the Personal Daq 55 or 56 Measurement Duration Sample Rate and Resolution In relation to sampling analog input t...

Page 27: ...Medium 50 Hz rejection 130 ms 7 7 sec 21 Medium 60 Hz rejection 110 ms 9 2 sec 21 Medium 40 ms 25 sec 19 Fast 20 ms 48 sec 17 Very Fast 12 5 ms 80 sec 15 Notes 1 Each channel can have independent measurement duration and resolution 2 The sample rates and resolutions shown were obtained with a 10 channel scan and with continuous self calibration disabled 3 Duration does not include the use of CJC m...

Page 28: ...n become too short to permit calibration In this instance the PC can initiate calibration immediately prior to the measurement process see example 3 in the following figure Note The continuous calibration feature is selected or deselected from the Configure Acquisition dialog box See Chapter 4 for more information Three Examples of Calibration Scan Arrangements Thermocouple Measurements Personal D...

Page 29: ... line individually as input or output Digital input lines can be read as part of the analog scan sequence and can be scanned over 100 times per second Digital output lines can be updated at any time prior to or during an acquisition sequence or can be automatically updated Digital input voltage ranges from 0 to 15 VDC are permitted with thresholds of 1 3V low and 3 8V high In the output mode each ...

Page 30: ...s Digital I O Freq Pulse Inputs Personal Daq 56 10 DE or 20 SE 10 DE 16 4 Personal Daq 56 with PDQ1 20 DE or 40 SE 20 DE 32 4 Personal Daq 56 with PDQ2 30 DE or 60 SE 30 DE 16 4 DE Differential Mode SE Single Ended Mode Speed vs Resolution 1 Speed Designation Measurement Duration per channel Maximum Sample Rate 2 Samples sec Resolution 2 Bits RMS 4 V to 4 V range Very Slow 50 60 Hz rejection 610 m...

Page 31: ...0 15 50 500 mV to 500 mV 1 1 5 2 15 15 40 312 mV to 312 mV 3 3 4 8 10 30 250 mV to 250 mV 1 1 2 8 8 25 156 mV to 156 mV 2 5 4 4 8 8 20 125 mV to 125 mV 1 1 1 5 7 7 20 62 mV to 62 mV 1 1 1 5 6 5 9 31 mV to 31 mV 1 1 1 5 6 5 7 Note Noise measured with continuous self calibration disabled Voltage Specifications one year 15 to 35 C Accuracy Personal Daq 54 0 015 of reading 004 of range exclusive of no...

Page 32: ...aq 54 55 and 56 TC Type Temp C Very Slow Slow Medium 50 60 Hz Rejection Medium Fast Very Fast 100 0 4 0 4 0 6 1 3 1 3 3 8 0 0 3 0 3 0 4 1 1 1 1 3 J 700 0 3 0 3 0 4 0 9 0 9 2 5 100 0 5 0 5 0 7 1 8 1 8 5 0 0 4 0 4 0 6 1 4 1 4 3 9 K 600 0 4 0 4 0 6 1 3 1 3 3 7 50 0 4 0 4 0 7 1 6 1 6 4 5 0 0 4 0 4 0 6 1 4 1 4 4 T 200 0 3 0 3 0 4 1 1 2 9 100 0 3 0 3 0 5 1 2 1 2 3 4 0 0 3 0 3 0 4 0 9 0 9 2 6 E 500 0 2 0...

Page 33: ...A total continuous per bank of 8 outputs Output Resistance 10 Ω max Output Updates Outputs may be changed via program control Input Characteristics Voltage Range 0 to 15VDC Thresholds 1 3 V low 3 8 V high General Specifications Warm up 1 hour to rated specifications Environment Operating 0 50 C 0 95 RH non condensing Storage 20 to 70 C Isolation 500 VDC from PC common USB Power Source PC USB port ...

Page 34: ... signals that share the same common low such as multiple batteries which have their negative sides connected in common Differential inputs are required when signals do not share the same common low such as in the typical use of thermocouples Note that the analog low common references are 10 to 20 Volts Analog low commons COM are located on the same terminal blocks as are the analog channel connect...

Page 35: ...OM Frequency Los are located next to F1 and F3 channel connections The connection points labeled Lo serve as a common reference for frequency inputs Frequency pulse channels do not apply to Personal Daq 54 Digital I O You can program each digital I O line individually as input or output The digital I O lines do not make use of the Lo or COM connections Digital output lines do make use of special d...

Page 36: ...omenclature in addition to the pre existing channel labels indicated on this and the preceding page Calibration Calibration must be completed periodically to ensure your data acquisition device remains accurate You can use UserCal a Windows based program to provide step by step instructions Chapter 6 contains detailed information regarding calibration Note Calibration constants are calculated and ...

Page 37: ...2 16 General Information Specifications 878595 Personal Daq User s Manual This page is intentionally blank Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 38: ...ch action may result in EEPROM errors and loss of calibration data CAUTION Never remove a USB cable from an active Personal Daq device while an acquisition is in progress An active device is any device that is currently open and has channels configured for scanned input Such disconnection may require you to exit and then re launch Personal DaqView after the USB cable has been connected CAUTION Whe...

Page 39: ... 2 Note 1 Label slots are included on Personal Daq 55 and 56 The slots are not included on Personal Daq 54 Note 2 An expansion module PDQ1 or PDQ2 can be added to Personal Daq 55 and 56 units Although an expansion module can physically connect to a Personal Daq 54 it will not function with the unit Personal Daq 54 does not include expansion functionality For 54 devices the 25 pin port is used only...

Page 40: ...ge range of 6 to 16 Volts DC These specifications are provided on the end face of the Personal Daq If the computer does not recognize the Personal Daq unit make sure the computer s USB port is properly enabled and is in good working order If the computer still fails to recognize the Personal Daq the use of a power pack may be required In United States use a TR 2 power pack or equivalent In Europe ...

Page 41: ...inform the host computer upon connection of the USB cable that the unit requires minimal power from the computer Connecting Various Hardware Setups Personal Daq data acquisition systems range from simple to complex One example of a simple system is that of one Personal Daq 54 connected to a PC s USB connector A much more complex system is one that contains 100 Personal Daq 56 units 100 PDQ expansi...

Page 42: ...ple 2 four Personal Daqs and optional PDQ modules are connected by cable to individual ports of a single USB powered hub Since the hub receives all its power from the computer s USB the hub cannot supply adequate power to the Personal Daq units Because of this aspect of insufficient power each Personal Daq is connected to its own power adapter Note The power adapters used must be capable of supply...

Page 43: ... and optional PDQ modules Notice that the Personal Daqs connected to the self powered hub have no adapters connected to them This is because the hub receives external power in addition to the PC supplied USB power which is capable of supporting the downstream devices connected directly to it In comparison the three Personal Daqs connected to the USB powered hub each require their own power adapter...

Page 44: ...r Items 4 29 Chart and Channel Information Regions 4 30 Accessing the Display Configuration Setup Box 4 31 Editing a Chart Display Configuration 4 32 Manually Configuring a Chart Display 4 34 Chart Setup Wizard 4 37 Introduction 4 37 Automatic Display Setup using the Chart Setup Wizard 4 38 Bypassing Automatic Chart Setup 4 39 Reference Note This chapter serves as a reference for Personal DaqView ...

Page 45: ... to 100 Personal Daq devices attached to one PC see following note Note Driver support for multiple devices is included with every Personal Daq For this reason Personal DaqViewPlus is not required for multiple device applications inwhich the user writes his own program While the standard version of Personal DaqView is limited to one group and to one channel per chart Personal DaqView Plus permits ...

Page 46: ...e Digital Outputs Updates digital outputs for all digital channels that are selected to Output State See Digital Input Output Spreadsheet page 4 14 Digital I O does not apply to Personal Daq 54 7 Configure Data Destination Accesses the Configure Data Destination window page 4 16 Note that this window provides a means of selecting sequential destinations through an auto rearm feature 8 Configure Ac...

Page 47: ... Active Devices Provides a list of available devices their serial number and device type A checkmark appears next to the selected device Use the mouse to select or deselect a device Device in this context can include an expansion module for example a Personal Daq 55 with an attached PDQ1 would be one device Only one device can be active at a time Acquisition Configuration Brings up the Configure A...

Page 48: ... Outputs Updates digital output channels regardless of whether their output state is closed or opened see page 4 14 Save Power up Settings Saves power up state settings of Personal Daq s internal switches see page 4 14 Tools Convert Binary Data The Convert Binary Data menu option allows you to convert raw binary data bin files into other formats that you may find more useful You must first select ...

Page 49: ...ype of channel to be configured The tabs are labeled Analog Input Frequency Pulse Input and Digital Input Output Channel Configuration Window Selected for Analog Input Spreadsheet Channel Configuration Window Toolbar The Channel Configuration Window consists of two buttons items 16 and 17 as identified by the previous figure and the following table Button Function 16 Enable Readings Column Activat...

Page 50: ...og Input channel 2 Low a single ended channel low end PD1_A02H Personal Daq unit 1 Analog Input channel 2 High a single ended channel high end PD2_F1 Personal Daq unit 2 Frequency pulse channel 1 PD1_D05 Personal Daq unit 1 Digital channel 5 User Label provides a means of identifying the channel by a user defined descriptive name If no name is specified the program uses the physical channel name a...

Page 51: ... by the following example Example 1 An engineer has a pressure transducer that produces a voltage output of 10 5 volts when the measured pressure is 3200 psi The same transducer produces an output of 0 5 volt when the pressure is 0 psi Knowing these facts m and b are calculated as follows A Write a pair of equations representing the two known points 3200 m 10 5 b 2 0 m 0 5 b 3 B Solve for m by fir...

Page 52: ...B Volts and hit the keyboard s Enter key 2 Left clicked right clicked on the Scale cell for PD1_A01 typed 1 2 for the Scale and hit the keyboard s Enter key 3 Left clicked right clicked on the Offset cell for PD1_A01 typed 0 75 for the Offset and hit the keyboard s Enter key 4 Used channel PD1_A01 to acquire voltage readings which represented the voltage at Point B B Volts 5 Selected the Digital M...

Page 53: ...mocouple type is selected from the range pull down list units of C F K or R are possible Also see Scale Offset page 4 7 Single ended Differential Identifies the channel mode as single ended or differential and is used to change the mode configuration When changing from differential to single ended mode a new channel row is added as well as a new default label For example Changing the mode of chann...

Page 54: ...n a reading of 5 12 V could become 5 11896 V Personal Daq actually provides for 24 bits of data information however the accuracy of the least significant bits becomes less as the measurement duration speeds up At a measurement duration of 610 milliseconds the last two bits are considered unreliable resulting in a resolution of 22 bits At a very fast measurement duration 12 5 milliseconds the nine ...

Page 55: ...meters Note that columns labeled Physical Channel User Label On Off Reading Scale and Offset are discussed in the section Common Spreadsheet Columns Type A block of cells in this column can be selected for convenience of single type selection where type can be Frequency Totalize Pulses per Scan or Duty Cycle High or Low The selected type determines the default units Units Frequency type units can ...

Page 56: ...ower range limit for the charted signal The value is applicable to charts in Personal DaqView and PostView Max Value For Frequency Pulses scan and Totalize defines the maximum range value upper range limit for the charted signal The value is applicable to charts in Personal DaqView and PostView Resolution and Settling Time Frequency measurements on the Personal Daq are achieved by querying the uni...

Page 57: ... regarding the Digital Input Output channel configuration parameters Note that columns labeled Physical Channel User Label On and Reading are discussed in the section Common Spreadsheet Columns page 4 7 The Scale and Offset feature does not apply to digital channels Input Output Column This column identifies the digital channel mode as input or output and is used to select the desired mode Output ...

Page 58: ...tions after the device has been powered up The changes take place as follows For enabled digital Input channels starting an acquisition will change the digital input channel if needed to match the configuration set in the software For enabled digital Output channels clicking on the Update Digital Outputs button will sets the indicated output state displayed in the Output State column When you chan...

Page 59: ...igger for configuration Averaging The Averaging section of the dialog box is used to enable a block averaging mode and to select the size of the scan block Block averaging is enabled by using the Type list box available selections are None or Block Averaging Averaging is available in scan blocks of 2 4 8 16 and 32 The block number is chosen from the Count pull down list When enabled the selected b...

Page 60: ... these are under sampling and aliasing Note The scan period can only change by increments of 1 msec If you enter an invalid value Personal DaqView will automatically convert your entry to the nearest acceptable value Note Aliasing errors can result from having a scan rate that is too low under sampling Continuous Calibration The continuous calibration option is useful in applications that make use...

Page 61: ...ion BIN Note that these filenames must have a raw binary BIN extension If you omit the extension Personal DaqView will add it to the filename Browse Used to browse existing folders and filenames Conversion Formats This button is used to access the File Converter Preferences dialog box This box provides a means of saving files in a variety of formats including but not limited to DIAdem R32 ASCII TX...

Page 62: ... hand side of the Configure Data Destination box 5 Enter the starting and ending index values for the files 6 Select OK 7 Start recording data to disk When the acquisition is complete automatic rearm will occur and the next sequential file will be recorded to disk The acquisitions will stop once all files from the starting to ending index inclusive have been recorded Setting Auto Rearm Why use Aut...

Page 63: ...el Function A Start Activates the meter Does not affect the recording of data to disk B Stop Stops the meter Does not affect the recording of data to disk C Reset Peak Hold Resets the floating markers which indicate high and low reading peaks Upon reset the markers will instantly adjust to indicate the highest and lowest values reached since the time of the reset This feature does not apply to the...

Page 64: ...meters The steps for configuring a meter are detailed below Note The Show Peak Hold Indicator Reset Peak Hold Indicator selections are not an option for Digital Meters and do not appear on the configuration window for digital meters Note When the Misc Scale or Limits dialog box is active clicking on the More button causes a meters extension area to be displayed This allows you to extend the assign...

Page 65: ...cimal place format See following figure 3 Show Peak Hold Indicators Places high and low uni directional floating markers on the scale to indicate the highest and lowest values reached up to the present time This feature does not apply to the Digital Meters selection See following figure Reset Peak Hold Resets the floating markers Upon reset the markers will instantly adjust to indicate the highest...

Page 66: ...rease direction The Bar Graph and Analog Meters also show low and high peak hold indicators at the 0 and 100 marks Three Meters with High and Low Limits Set Be aware that the acquisition of data to disk has a higher priority then the updating of Charts Meters and the Reading column Therefore data is displayed as soon as the acquisition task is satisfied As the scan rate is increased the acquisitio...

Page 67: ...th of these pop up menus were discussed in the section Meters Configuration Menu page 4 21 The items in the above figure as follows A Start B Stop C Reset Peak Hold Indicators D Stay on Top E Print F Rows x Columns G Select the number of Meters to be displayed H Channel Selection box Activated by double clicking left mouse button in a meter s scale area I Configuration Pop Up Menu Activated with a...

Page 68: ...e high limit region 75 C Peak indicators at 0 00 and 100 00 C Trend indicator increasing signal The items in the above figure as follows A Start B Stop C Reset Peak Hold Indicators D Stay on Top E Print F Rows x Columns G Select the number of Meters to be displayed Note You can activate a Channel Selection box by double clicking left mouse button in a meter s scale area You can activate a Configur...

Page 69: ...ters item I Both of these pop up menus are discussed in the section Meters Configuration Menu page 4 21 Note that Meter 1 for PD1_A01 in the above figure is displaying a trend indicator in the increase direction and also shows that the reading 91 45 is in high limit region The number 91 45 is red and contains a red bar over it The items in the above figure as follows A Start B Stop C n a D Stay on...

Page 70: ...DaqView software but are interested in obtaining it please contact your service representative Groups Charts Channels Before continuing with this section it is important that you understand the chart display structure in terms of groups charts and channels Group refers to a group of charts Note that Personal DaqView Plus allows up to 64 groups depending on the capabilities of your PC but can only ...

Page 71: ...nabled in PersonalDaq s Plus and Trial versions only Grids Turns grid lines on or off for the indicated chart Timestamp Allows selection of absolute or relative timestamps and provides a means of turning off the timestamp Scroll Rate Sometimes referred to as chart speed Selects the indicated chart s scroll rate in time per division Scroll rate can be as fast as 0 1 sec div and as slow as 1 hour di...

Page 72: ... of data to disk 3 Stop Charts Display Stops the scrolling chart display Does not affect the recording of data to disk Buttons 4 and 5 provide a means of changing the chart s scroll rate chart speed These two buttons do not affect the scan rates of the acquisition device The global scroll rate chart speed is indicated in the lower right hand corner of the Chart Display Window as time div Possible ...

Page 73: ...roup s available channels for which the information will be displayed Displays the label of the channel for which information is being displayed 11 Present Value The real time value of the selected channel 12 Center Used to display and change the value of the selected channel s chart centerline Changing the value of center results in an automatic change of the chart s high and low end values items...

Page 74: ...ccesses a Display Configuration Setup dialog box This box will also be displayed if a you select Create Charts Manually during use of the Wizard Chart Setup program b you select Setup from the Chart pull down menu c you right click on the chart region in Personal DaqView s Chart Display Window Note If multiple chart groups are present in the display configuration the current group will be selected...

Page 75: ...nnels for addition or deletion double click on an available channel to add it to the selected channels double click on a selected channel to remove it from the selected channels list Note When a chart contains overlapping channels with identical points of measurement the channels that are listed lower in the display will obscure the channels that are listed higher In other words the charted points...

Page 76: ...matically adjusted You can not directly adjust Y Max or Y Min while Units Div Is selected You can change Y Center and Units Div by using the up and down arrows or by highlighting the existing value typing in the new value the pressing Enter on your PC keyboard Note If the window size is changed a chart operating in the Units Div Mode will maintain its units per division scale setting across the ch...

Page 77: ...ing steps 1 Select the Chart Setup Wizard from the Charts pull down menu of Personal DaqView s Chart Display Window The Wizard setup window appears see following figure 2 Click on the Manual Chart Setup Create Charts button The Display Configuration Setup box appears Since the previous display configuration was reset no groups or charts are seen in the display area on the left side of the screen D...

Page 78: ...in the available channels list to add the channel to the display Double click on a channel in the selected channels list to remove the channel from the display Hold down the keyboard s Shift Key and use the left hand mouse button to select a block of consecutive available channels up to 4 then click the Add button Example PD1_A03 PD1_A04 PD1_A05 PD1_A06 Hold down the keyboard s Ctrl button and use...

Page 79: ...e Changing the display configuration does not change the existing channel configuration setup It only changes how the chart groups charts and channels will be displayed The following figure shows two radio buttons on the screen These buttons allow you to select the method of adjusting the display mode From this screen you need to choose Units Full Scale or Units Div Adjusting Channel Setup for Cha...

Page 80: ...ze that running the Chart Setup Wizard will result in a reset of your display setup it will not however change your channel configuration with the exception of new display channels now enabled The chart setup determines how your Personal DaqView Chart Display Window will appear in regard to the following number of chart groups available for viewing number of charts shown for each selected group th...

Page 81: ...e and Advanced modes are only available for use with Personal DaqView Plus Automatic Display Setup using the Chart Setup Wizard The previous figure shows the Simple mode dialog box for Automatic Chart Creation The following figures show the Moderate and Advanced mode dialog boxes These two modes do not apply to the standard version of Personal DaqView Dialog Boxes for Moderate and Advanced Modes o...

Page 82: ...bled and will appear in chart form on Personal DaqView s Chart Display Window The Channels will overlap on their assigned Chart and will be visible when the applicable Group is selected Note that only one group of charts can be viewed at a time As mentioned earlier you can enable additional channels from the Channel configuration window Enabling additional channels allows you to acquire more data ...

Page 83: ...4 40 Personal DaqView 989394 Personal Daq User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 84: ...w from the program s toolbar i e with use of the Configure Devices Configure Channels or Configure Acquisition buttons Each column in the channel configuration window corresponds to a specific parameter in the data acquisition system Note that the channels can be configured individually In regard to creating data reports you can embed Excel spreadsheet objects directly into a word processing progr...

Page 85: ...th a newer version you should remove the older version prior to installing the new application To install the Personal DaqViewXL application 1 Run Personal DaqView 2 Select Authorization from the File pull down menu An Authorization dialog box will appear 3 Type in the code as it appears on your Authorization Sheet 4 Click the Apply Code button First Time Use Personal DaqViewXL is an Excel add in ...

Page 86: ...cted 5 Excel loads the add in creating a Personal DaqViewXL item in the Tools pull down menu and a toolbar Personal DaqViewXL Menu Options 1 Configure Devices 2 Configure Channels 3 Configure Acquisition 4 Go 5 Manual Trigger 6 Chart Display 7 Bar Graph Meters 8 Analog Meters 9 Digital Meters 10 Use Data Destination 11 Set Data Destination Cell 12 Use Data Header Personal DaqViewXL Toolbar Options...

Page 87: ...hoose Options the Options Dialog Box appears c Select Start as soon as I open Excel d Click OK Note After you have launched Excel and Personal DaqViewXL has been activated the following dialog box appears if Personal DaqView is not running If this is the case click Yes to start Personal DaqViewXL Personal DaqView Startup Confirmation The following figure shows a partial screen capture of a Microso...

Page 88: ...y open pressing this button gives the window focus 10 Use Data Destination Turns the Use Data Destination feature on or off 11 Set Data Destination Cell Sets the data destination cell to the active cell in the current workbook 12 Use Data Header Turns the Use Data Header feature on or off Tools Pull Down Menu When the Personal DaqViewXL add in is loaded a Personal DaqViewXL menu is added to Excel ...

Page 89: ...Personal DaqViewXL s Options Dialog 20 Preferences Opens Personal DaqViewXL s Preferences Dialog From this dialog box you can use the General and Measurement Units dialog boxes as described below General Allows you to select untitled or pDaq configurations for the default filename used by Personal Daq Note that Personal DaqView automatically loads the last saved configuration file The lower portio...

Page 90: ...guration Window consists of two buttons items 16 and 17 as identified by the previous figure and the following table Button Function 16 Enable Readings Column Activates the Channel Configuration Window s reading column Does not affect the recording of data to the destination spreadsheet 17 Disable Readings Column Stops the Channel Configuration Window s reading column Does not affect the recording...

Page 91: ... Start Excel 2 Select the Tools menu and click on Add Ins The Add Ins dialog box opens 3 Locate the Personal DaqViewXL line in the Add Ins Available list box and click on it This should insert a checkmark 9 next to the item 4 Click OK Personal DaqViewXL will now auto load with Excel See the previous paragraph for simple steps on disabling the Personal DaqViewXL auto load feature Performance of Per...

Page 92: ...nfigure Acquisition 4 Go 5 Manual Trigger 6 Chart Display 7 Bar Graph Meters 8 Analog Meters 9 Digital Meters 10 Use Data Destination 11 Set Data Destination Cell 12 Use Data Header Personal DaqViewXL User s Guide 918596 491 0905 rev 3 0 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 93: ...re Acquisition toolbar buttons or tool pull down menu selections These steps launch Personal DaqView s configuration screens Note that the Personal DaqView configuration information found in the Personal Daq User s Manual still applies to Personal DaqViewXL Also see the section in this user s guide Configuration Reference beginning on page 5 10 491 0905 rev 3 0 918596 Personal DaqViewXL User s Gui...

Page 94: ... All 16 charts are synchronized and have an adjustable scrolling speed that can be set independent of the sampling rate Selecting the Charts icon in the Personal DaqViewXL toolbar will activate the following window The chart selection must be made prior to initiating an acquisition selecting the Go icon Personal DaqViewXL Real Time Charting Personal DaqViewXL User s Guide 918596 491 0905 rev 3 0 1...

Page 95: ...th acquired data Examples of frequently used header information include channel gain thermocouple type units and channel label To activate Data Headers select the Use Data Headers icon in the Personal DaqViewXL toolbar Personal DaqViewXL Data Header 12 491 0905 rev 3 0 918596 Personal DaqViewXL User s Guide Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 96: ...g the Personal DaqViewXL add in manually Excel does not automatically create a blank workbook To create a workbook access the File New menu item after Excel loads with Personal DaqViewXL Note When you load Personal DaqViewXL as a workbook it will not automatically load the next time you run Excel However it will appear in the recently used list at the bottom of the File menu making it easy to load...

Page 97: ...14 491 0905 rev 3 0 918596 Personal DaqViewXL User s Guide Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 98: ...First In First Out buffer is one in which the data that is stored first is also the first data to leave the buffer b A follower stage which is used to drive a certain number of gates without overloading the proceeding stage c An amplifier which accepts high source impedance input and results in low source impedance output effectively an impedance buffer d Buffer Amplifier see Buffer Amplifier Buff...

Page 99: ... the direct link between the signal source and the analog to digital converter ADC as well as the 500V isolation form the PC Isolation is necessary when measuring high common mode voltage Linearization Some transducers produce a voltage in linear proportion to the condition measured Other transducers e g thermocouples have a nonlinear response To convert nonlinear signals into accurate readings re...

Page 100: ...s Inputs TC Inputs Digital I O Freq Pulse Inputs Personal Daq 54 No Expansion 5 DE or 10 SE 5 DE N A N A Personal Daq 55 Systems Volts Inputs TC Inputs Digital I O Freq Pulse Inputs Personal Daq 55 5 DE or 10 SE 5 DE 8 2 Personal Daq 55 with PDQ1 15 DE or 30 SE 15 DE 24 2 Personal Daq 55 with PDQ2 25 DE or 50 SE 25 DE 8 2 Personal Daq 56 Systems Volts Inputs TC Inputs Digital I O Freq Pulse Inputs...

Page 101: ... Medium 60 Hz rejection 110 ms 9 2 sec 21 Medium 40 ms 25 sec 19 Fast 20 ms 48 sec 17 Very Fast 12 5ms 80 sec 15 Notes 1 Each channel can have independent measurement duration and resolution 2 The sample rates shown were obtained with a 10 channel scan and with continuous self calibration disabled 3 Duration does not include the use of CJC measurements When you select the measurement duration you ...

Page 102: ... effect a lower amplitude than that exhibited by the first signal even though each measured point is accurate Signal 3 This signal based on 1 sample every 4 divisions is represented by a dotted dashed line and sample points designated by plus signs Fewer samples a greater degree of under sampling has resulted in a further distortion and lowering of signal amplitude From these examples it should be...

Page 103: ... differential amplifier can have applied between ground and the amplifier inputs Fortunately the differential amplifier rejects high common mode voltage signals High common mode voltage and noise spikes are rejected canceled out in in phase signals identical in amplitude and frequency that are present in both the high and low inputs at the same time Signal Modes Personal Daq units operate in one o...

Page 104: ... a resolution of 1 part in 2n Thus 12 and 16 bit resolutions are as follows 12 bit resolution 1 part in 4096 212 corresponding to 2 44 mV in a 10 V range 16 bit resolution 1 part in 65 536 216 corresponding to 0 153 mV in a 10 V range System Noise Laboratory and industrial environments often have multiple sources of electrical noise An AC power line is a source of 50 60 Hz noise Heavy equipment ai...

Page 105: ...to digital converter Crosstalk Crosstalk is a type of noise related to source impedance and capacitance in which signals from one channel leak into an adjacent channel resulting in interference or signal distortion The impact of source impedance and stray capacitance can be estimated by using the following equation T RC Where T is the time constant R is the source impedance and C is the stray capa...

Page 106: ...t at 23 2 C Failure to comply with this requirement can result in faulty equipment performance and necessitate additional services of an authorized metrology lab The VDC Calibrator used must meet the following criteria 1 Range 0 10 V 2 Resolution 10 µV 3 Peak to peak noise 600 µV The digital voltmeter or digital multimeter used to verify calibration voltage accuracy must meet the following criteri...

Page 107: ... to guide you through the calibration procedure 1 Disconnect the USB cable from the Personal Daq main unit 2 If a power adapter is used in your application disconnect the adapter cable from the unit 3 Remove all signal lines from the main unit terminal blocks 4 If an expansion module is used remove all signal lines from the expansion module terminal blocks 5 If an expansion module is used in your ...

Page 108: ...nt to perform calibration in a controlled still air environment at 23 2 C Personal Daq User s Manual 878395 Calibration 6 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 109: ...is recommended The value entered will be used in the following step 14 Using the Volts DC Calibrator apply the reference calibration voltage from the previous step to Analog Input channel 2 If the reference voltage is not found The program aborts the process and prompts you to double check the reference voltage for Analog Input 2H with respect to Analog Input 2L If the reference voltage is found P...

Page 110: ...oid damaging Personal Daq s expansion connector A properly made harness will also ensure good pin contact See following figure 20 Connect the multimeter positive lead to pin number 24 and the negative lead to pin number 13 note the harness in the preceding figure Measure the reference voltage at Personal Daq s expansion port and note the value for use in the following step 21 Using the keypad of y...

Page 111: ... VDC Calibrator Harness and multimeter copper short remove from Analog In 2L and Personal Daq common low COM The calibration procedure is complete You may now return your Personal Daq system to its data acquisition status Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 112: ...sonal Daq while observing the effect on the interference You can often correct radio interference by one or both of the following measures Antenna Adjustment Reorient the receiving antenna Spatial Separation Increase the separation between the Personal Daq equipment and the receiver of the device experiencing interference If the problem cannot be resolved consult an experienced radio television te...

Page 113: ...ows 98SE Me 2000 and XP each provide proper support However if your computer is using Windows 2000 or XP make sure that you have installed the latest version of Personal DaqView To check on the version you are running open Personal DaqView s Help pull down menu and select About Personal DaqView If you need to update your version of Personal DaqView first uninstall your existing version This can be...

Page 114: ...irectly from System b Scroll down the list and look for pDaq or Personal Daq If neither is found look for Unknown Device The latter will have a yellow question mark next to it c Select the device found in step b and remove it by clicking on the Remove button d Unplug the USB cable from the Personal Daq e If you have not already done so install Personal DaqView on the computer f Reconnect the USB c...

Page 115: ...View icon Note that Restore is probably grayed out c Select Move with a left click and without moving the mouse take your hand off the mouse d Press any one of the 4 arrow keys on your keyboard then move the mouse until you see the window or possibly the outline of the window positioned where you want it e Left click The window should be back to normal f Resize and relocate the window as desired g...

Page 116: ...T and SYSTEM INI files Software version numbers for Personal DaqView DOS and Windows Type of computer and features All equipment returned to the factory must be accompanied by an RMA Return Merchandise Authorization number Use original shipping containers or equivalent to prevent shipping damage In addition to inclusion of the above information please include The name and phone number of an indivi...

Page 117: ...7 6 Troubleshooting Customer Assistance 878495 Personal Daq User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 118: ...erform typical tasks Appendix B API Commands describes the entire command set for the Personal Daq Syntax parameters interpretation and error codes are explained Sections on the individual commands include their parameters types typical use and related information Appendix C Removed Appendix D Custom Labels provides blank labels and a Personal Daq channel layout reference The appendix also pertain...

Page 119: ...A ii Personal DaqView User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 120: ...ary Guide of Selected API Functions is an easy to read table that describes when to use the basic API functions Data Acquisition Environment In order to write effective data acquisition software programmers must understand Software tools the API documented in this manual and the programming language you may need to consult documentation for your chosen language Hardware capabilities and constraint...

Page 121: ...pers exist for the API functions that reference data buffers One type references an integer buffer and the other references a single precision floating point buffer The wrappers that reference single precision floating point buffers have the word Single appended to the function name For example VBdaqAdcTransferSetBufferSingle would be used to set a single precision floating point buffer whereas VB...

Page 122: ...aq Personal Daq functions return daqErrno Print daqErrno HEX daqErrno End If The next statement defines an error handling routine that frees us from checking the return value of every Personal Daq function call Although not necessary this sample program transfers program control to a user defined routine when an error is detected Without a Personal Daq error handler Visual Basic will receive and h...

Page 123: ...al Daq driver arrays are dimensioned Dim sample 1 buf 80 handle ret flags gain The following code assumes that the Personal Daq device has been successfully opened and the handle value is a valid handle to the device All the following one step functions define the channel scan groups to be analog unipolar input channels Specifying this configuration uses the DafAnalog value in the flags parameter ...

Page 124: ...ram code Function VBdaqAdcSetTrigEnhanced handle triggerSources gains adcRanges trigSense levels hysteresis chan ChanCount opstr VBdaqAdcSetAcq handle mode preTrigCount postTrigCount VBdaqAdcTransferSetBufferSingle ByVal handle buf ByVal ScanCount ByVal transferMask VBdaqAdcTransferStart handle VBdaqWaitForEvent handle daqEvent This program will initialize the Personal Daq hardware then take readi...

Page 125: ...DatmCycleOff With all acquisition parameters being configured the acquisition can now be armed Once armed the acquisition will begin immediately upon detection of the trigger event As in the case of the immediate trigger the acquisition will begin immediately upon execution of the daqAdcArm function ret VBdaqAdcArm handle After setting up and arming the acquisition the data is immediately ready to...

Page 126: ...y setting up the channel scan group configuration the acquisition frequency the acquisition trigger and the acquisition mode Once configured the transfer to disk is set up and the acquisition is armed by calling the daqAdcArm function At this point the Personal Daq device trigger is armed and A D acquisition to disk will begin immediately upon trigger detection This example will retrieve an indefi...

Page 127: ...g A D data while it is being prepared for disk I O Since this is to be an indefinite length transfer to a circular buffer the buffer cycle mode should be turned on with DatmCycleOn For efficiency block update mode is specified with DatmUpdateSingle The buffer size is set to 10 000 scans The buffer size indicates only the size of the circular buffer not the total number of scans to be taken ret VBd...

Page 128: ...by the application The application can monitor the transfer process with the following lines of code acqTermination 0 Do Wait here for new data to arrive ret VBdaqWaitForEvent handle DteAdcData New data has been transferred Check status ret VBdaqAdcTransferGetStat handle active retCount Code may be placed here which will process the buffered data or perform other application activities At some poi...

Page 129: ...l handle ByRef triggerSources ByRef gains ByRefadcRanges ByRef trigSense ByRef levels ByRef hysteresis ByRef chan ChanCount opstr VBdaqAdcSetAcq ByVal handle ByVal Mode ByVal preTrigCount ByVal postTrigCount VBdaqAdcSetRate ByVal handle ByVal Mode ByVal acqState ByVal regRate ByRef actualRate VBdaqAdcTransferSetBufferSingle ByVal handle buf ByVal ScanCount ByVal transferMask The definitions below ...

Page 130: ... sensitivity flags analog trigger levels and hysteresis values Dim trgSrc ChanCount Dim adcRanges ChanCount Dim trigSense ChanCount Dim levels ChanCount Dim hysteresis ChanCount When the VBDaqAdcSetRate function is used to configure the scan rate the variable actualRate will contain the actual rate for which the device has been programmed in the event that the requested rate is unattainable The re...

Page 131: ...naFlags Digital Ports Does not apply to Personal Daq 54 10 PGainX1 1 startChan DigFlags 11 PGainX1 2 DigFlags Frequency Input Pulse Count Channels Does not apply to Personal Daq 54 12 PGainX1 1 startChan FreqFlags 13 PGainX1 2 FreqFlags 14 PGainX1 3 CtrFlags 15 PGainX1 4 CtrFlags For i 0 To ChanCount If 0 i And i 10 Then Analog input channels chans i startChan 1 flags i AnaFlags ElseIf 10 i And i ...

Page 132: ... initialized but the values will not affect the trigger event configuration as DatsImmediate configures an immediate trigger For i 0 To ChanCount 1 trgSrc i DatsImmediate adcRanges i DarBiMinus5to5V trigSense i DetsRisingEdge levels i 0 hysteresis i 0 Next i ret VBdaqAdcSetTrigEnhanced handle trgSrc gains adcRanges _ trigSense levels hysteresis _chans ChanCount Next the acquisition mode is charact...

Page 133: ...tion if one is active This command will disarm the current acquisition and terminate any current A D transfers daqAdcSetAcq Define the mode of the acquisition and set the pre trigger and post trigger acquisition counts if applicable daqAdcAcqGetStat Return the current state of the acquisition as well as the total number of scans transferred thus far as well as the trigger scan position if applicab...

Page 134: ...grammer For VBdaqGetDeviceList the information in the byte array returned by the DLL is transferred to a standard VB string array that is easier to work with on the programming end It is important to note that while every API function supported in Visual Basic has at least one associated wrapper the API functions that include buffer references have two different associated wrappers dependent on th...

Page 135: ...etTrigEnhanced Configure an A D trigger with multiple trigger event conditions B 14 Custom ADC Acquisition Prototypes Scan Rate and Source daqAdcSetRate Configure the ADC scan rate with the mode parameter B 12 daqAdcSetFreq Configure the pacer clock frequency in Hz B 11 daqAdcGetFreq Read the current pacer clock frequency B 4 Custom ADC Acquisition Prototypes Scan Count Rate and Source daqAdcSetAc...

Page 136: ...sition in terms of the number of pre trigger and post trigger scans acquired the total amount of acquired scans available for transfer the number of buffer processing cycles that have occurred and the current position in the acquisition buffer The active parameter will indicate the current state of the acquisition in the form of a bit mask Refer to the ADC Acquisition Transfer Active Flag Definiti...

Page 137: ...on daqAdcGetFreq reads the sampling frequency of the pacer clock daqAdcGetScan DLL Function daqAdcGetScan DaqHandleT handle PDWORD channels daqAdcGain gains PDWORD flags PDWORD chanCount C daqAdcGetScan DaqHandleT handle PDWORD channels DaqAdcGain gains PDWORD flags PDWORD chanCount Visual BASIC VbdaqAdcGetScan ByVal handle channels gains flags chanCount Delphi daqAdcGetScan handle DaqHandleT chan...

Page 138: ... flags in the form of a bit mask DerrFIFOFull Buffer Overrun DerrInvGain Invalid gain DerrInvChan Invalid channel Returns DerrNoError No Error See Also daqAdcSetMux daqAdcSetTrig daqAdcSoftTrig Program References None Used With All devices Description daqAdcRd is used to take a single reading from the given local A D channel This function will use a software trigger to immediately trigger and acqu...

Page 139: ... to be taken Valid values 1 32767 TriggerSource The trigger source Rising Boolean flag to indicate the rising or falling edge for the trigger source Level The trigger level if an analog trigger is specified Valid values 0 4095 Freq The sampling frequency in Hz 100000 0 to 0 0002 Gain The channel gain Parameters Flags Channel configuration flags in the form of a bit mask Returns DerrFIFOFull Buffer...

Page 140: ...n group EndChan The ending channel of the scan group Buf An array where the A D scans will be placed Gain The channel gain Parameters Flags Channel configuration flags in the form of a bit mask Returns DerrInvGain Invalid gain DerrInvChan Invalid channel DerrNoError No error See Also daqAdcRdScanN daqAdcSetMux daqAdcSetClock daqAdcSetTrig Program References None Used With All devices Description d...

Page 141: ... A D scans will be placed scanCount The number of scans to be read Valid values 1 65536 triggerSource The trigger source see table at end of appendix rising Boolean flag to indicate the rising or falling edge for the trigger source level The trigger level if an analog trigger is specified Valid values 0 4095 freq The sampling frequency in Hz Valid values 100000 0 0 0002 gain The channel gain See t...

Page 142: ...de and the pre and post trigger durations The mode parameter describes the style of data collection The preTrigCount and postTrigCount parameters specify the respective durations or lengths of the pre trigger and post trigger acquisition states Acquisition modes can be defined as follows DaamNShot Once triggered continue acquisition until the specified post trigger count has been satisfied Once th...

Page 143: ...ctions of the form daqAdcRd The default value is DappdfRaw where the post acquisition data format will follow the rawFormat parameter daqAdcSetDiskFile DLL Function daqAdcSetDiskFile DaqHandleT handle LPSTR filename daqAdcOpenMode openMode DWORD preWrite C daqAdcSetDiskFile DaqHandleT handle LPSTR filename DaqAdcOpenMode openMode DWORD preWrite Visual BASIC VBdaqAdcSetDiskFile ByVal handle ByVal f...

Page 144: ...r which the filtering method is to be applied daqAdcSetFreq DLL Function daqAdcSetFreq DaqHandleT handle FLOAT freq C daqAdcSetFreq DaqHandleT handle FLOAT freq Visual BASIC VBdaqAdcSetFreq ByVal handle ByVal freq Delphi daqAdcSetFreq handle DaqHandleT freq single Handle Handle to the device for which the ADC acquisition frequency is to be set Parameters Freq The sampling frequency in Hz Valid val...

Page 145: ...aqAdcSetRate handle DaqHandleT mode daqAdcRateMode state daqAdcAcqState reqValue single actualValue PSINGLE handle Handle to the device for which to set ADC scanning frequency mode Specifies the rate mode frequency or period acqState Specifies the acquisition state to which the rate is to be applied reqRate Specifies the requested rate Parameters actualRate Returns the actual rate applied This may...

Page 146: ...e scan group configuration Any analog frequency counter or digital input channel can be included in the scan group configuration at any valid gain setting Scan group configuration may be composed of local or expansion module channels The channels parameter is a pointer to an array of up to 8192 channel device values Each entry represents a channel device number in the scan group configuration Chan...

Page 147: ...th multiple A D channel trigger event conditions The trigger event may be defined as a combination of multiple A D analog level event conditions that are logically and d or or d The trigger event is formulated based on the channel trigger event for each channel in the trigger sequence The total number of trigger channels is defined by the chanCount parameter Each channel trigger configuration para...

Page 148: ...oError No error See Also daqAdcTransferSetBuffer daqAdcTransferGetStat Program References Used With All devices Description daqAdcTransferBufData requests a transfer of scanCount scans from the driver allocated acquisition buffer to the specified user supplied buffer The bufMask parameter can be used to specify the conditions for the transfer as follows DabtmWait Instructs the function to wait unt...

Page 149: ... Delphi Used With All devices Description daqAdcTransferGetStat allows you to retrieve the current state of an acquisition transfer The active parameter will indicate the current state of the transfer in the form of a bit mask Refer to the ADC Acquisition Transfer Active Flag Definitions in the ADC Miscellaneous Definitions table for valid bit mask states The retCount parameter will return the tot...

Page 150: ...is reached by wrapping the transfer of scan data back to the beginning of the buffer In this mode the transfer buffer will continue to be wrapped until the post trigger count has been reached specified by daqAdcSetAcq or the transfer acquisition is halted by the application daqAdcTransferStop daqAdcDisarm The default setting is DatmCycleOff DatmUpdateSingle Specifies the update mode as single samp...

Page 151: ... Handle to the device for which the Adc data transfer is to be stopped Returns DerrNoError No error See Also daqAdcTransferSetBuffer daqAdcTransferStart daqAdcTransferGetStat Program References None Used With All devices Description daqAdcTransferStop allows you to stop a current buffer transfer if one is active The current transfer will be halted and no more data will transfer into the transfer b...

Page 152: ...ng the raw data action The type of conversion action to perform on the raw data lastRetCount The last retCount returned from daqAdcTransferGetStat scanCount The length of the raw data buffer in scans Parameters chanCount The number of channels per scan in the raw data buffer Returns DerrNoError No error See Also daqAdcSetDataFormat Program References None Used With All devices Description daqCvtRa...

Page 153: ...devices Description daqDefaultErrorHandler displays an error message and then exits the application program When the Personadaq library is loaded it invokes the default error handler whenever it encounters an error The error handler may be changed with daqSetErrorHandler daqFormatError DLL Function daqFormatError daqError errorNum PCHAR msg C daqFormatError DaqError errorNum PCHAR msg Visual BASIC...

Page 154: ...eList returns a list of currently configured devices This function will return the device names in the deviceList parameter for the number of devices returned by the deviceCount parameter Each deviceList entry contains a device name consisting of up to 64 characters The device name can then be used with the daqOpen function to open the specific device daqGetDeviceProperties DLL Function daqGetDevi...

Page 155: ...devPort DWORD whichDevice daqIOExpansionPort whichExpPort PDWORD value C daqIORead DaqHandleT handle DaqIODeviceType devType DaqIODevicePort devPort DWORD whichDevice DaqIOExpansionPort whichExpPort PDWORD value Visual BASIC VBdaqIORead ByVal handle ByVal devType ByVal devPort ByVal whichDevice ByVal whichExpPort value Delphi daqIORead handle DaqHandleT devType daqIODeviceType dvPort daqIODevicePo...

Page 156: ...ate or FALSE indicating a low state daqIOWrite DLL Function daqIOWrite DaqHandleT handle daqIODeviceType devType daqIODevicePort devPort DWORD whichDevice daqIOExpansionPort whichExpPort DWORD value C daqIOWrite DaqHandleT handle DaqIODeviceType devType DaqIODevicePort devPort DWORD whichDevice DaqIOExpansionPort whichExpPort DWORD value Visual BASIC VBdaqIOWrite ByVal handle ByVal devType ByVal d...

Page 157: ...EX1 C DAQEX FRM VB DAQEX PAS Delphi Used With All devices except Personal Daq 54 Description daqIOWriteBit allows you to write a specified bit on the selected device and port The write operation will write the specified bit value to the bit selected The selected bit specified by the bitNum parameter corresponds to the channel on the port for the IO to be driven The bitValue parameter should be set...

Page 158: ...e devices to be opened DeviceIndex Array of indexes that represents logical device mapping for the corresponding device name Parameters DeviceCount Number of devices in the array to open Returns A handle to the specified DeviceList See Also daqCloseList daqOnline daqOpen daqClose Program References MULTDEV C Used With PersonalDaq55 56 Description daqOpenList allows you to open a list of deviceCoun...

Page 159: ... daqSetErrorHandler Program References ADCEX1 C FREQEX1 C PULSEEX1 C MULTEX1 C DIGEX1 C INITEX1 C DAQEX FRM VB DAQEX PAS Delphi Used With All devices Description daqSetDefaultErrorHandler allows you to set the driver to use the default error handler specified for all devices daqSetErrorHandler DLL Function daqSetErrorHandler DaqHandleT handle daqErrorHandlerFPT handler C daqSetErrorHandler DaqHand...

Page 160: ...on types need to be specified for each frequency input pulse count channel in the scan sequence DcotpDaqPulses Configures the specified channel as a pulse count channel DcotpDaqRising Configures the rising flag for the pulse channel DcotpDaqDebounceTime Configures the debounce time for the frequency pulse channel The following options must also be specified to configure frequency input channels Dc...

Page 161: ...rEvents handles daqEvents ByVal eventCount eventSet ByVal waitMode Delphi daqWaitForEvents handles DaqHandlePT daqEvents daqTransferEventP eventCount DWORD eventSet PBOOL waitMode daqWaitMode handles Pointer to an array of handles which represent the list of device on which to wait for the events daqEvents Pointer to an array of events which represents the list of events to wait on eventCount Numb...

Page 162: ... Operation Code daqIOOperationCode B 30 3 Event Handling Definitions Transfer Event Definitions daqTransferEvent Transfer Event Wait Mode Definitions daqWaitMode B 31 4 Hardware Version Definitions daqHardwareVersion B 31 5 Analog Gain Definitions Identifies gain codes for Personal Daq base unit B 31 6 Trigger Source Definitions daqAdcTriggerSource daqEnhTrigSensT B 31 7 Miscellaneous Definitions ...

Page 163: ...AT MainUnitCjcChannels Number of CJC channels on the main unit DWORD TotalCjcChannels Number of CJC channels in the system DWORD SerialNumber Serial Number for the device DWORD ExpansionUnits Number of expansion units DWORD SubDeviceType Type of expansion unit DWORD Table 2 General I O Definitions Digital I O Port Connections devPort daqIODevicePort Personal Daq Port Value Description DiodpPdaqPor...

Page 164: ...ainX32 19 125 to 125 mV PgainX64 20 62 5 to 62 5 mV PgainX128 21 31 to 31 mV PgainX1 PgainDiv5 0 8 20 to 20 V PgainX2 PgainDiv5 1 8 10 to 10 V PgainX4 PgainDiv5 16 8 5 to 5 V PgainX8 PgainDiv5 17 8 2 5 to 2 5 V PgainX16 PgainDiv5 18 8 1 25 to 1 25 V PgainX32 PgainDiv5 19 8 312 to 312 mV PgainX64 PgainDiv5 20 8 156 to 156 mV PgainX128 PgainDiv5 21 8 62 to 62 mV PgainDiv5 8 Table 6 Trigger Source De...

Page 165: ...Active 04h ADC Acquisition State daqAdcAcqState ADC Buffer Transfer Mask daqAdcBufferXferMask ADC Filter Type daqAdcSetFilter DaasPreTrig 0 DabtmWait 00h daftSWAvg 1 DaasPostTrig 1 DabtmRetAvail 02h DabtmNoWait 04h DabtmRetNotDone 08h DabtmPreTrigBlock 10h Table 8 Setting Options optionType DcotpdaqRising 0 Sets the rising flag for the Pulse Channel DcotpdaqDebounceTime 1 Sets the debounce time fo...

Page 166: ...rameter DerrInvCtrNum 1Dh 29 Invalid counter number DerrInvCntSource 1Eh 30 Invalid counter source parameter DerrInvCtrCmd 1Fh 31 Invalid counter command parameter DerrInvGateCtrl 20h 32 Invalid gate control parameter DerrInvOutputCtrl 21h 33 Invalid output control parameter DerrInvInterval 22h 34 Invalid interval parameter DerrTypeConflict 23h 35 An integer was passed to a function requiring a ch...

Page 167: ...ames for Vxd lookup DerrInvCommand 72h 114 Invalid command DerrInvHandle 73h 115 Invalid handle DerrNoTransferActive 74h 116 Transfer not active DerrNoAcqActive 75h 117 Acquisition not active DerrInvOpstr 76h 118 Invalid operation string used for triggering DerrDspCommFailure 77h 119 Device with DSP failed communication DerrEepromCommFailure 78h 120 Device with EEPROM failed communication DerrInvE...

Page 168: ...ell set to scale The default font is Arial 6pt centered This can be changed based on your specific labeling preferences You can orient your label entrees horizontally vertically or upside down as appropriate to your application The important factor is that your labels correspond to the actual channel designations These designations are clearly visible on the Personal Daq products and are also illu...

Page 169: ...D 2 Custom Labels Appendix D Personal Daq User s Manual This side of the label page is intentionally blank Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 170: ...Channel Connection Layouts Page 1 of 2 Personal Daq User s Manual 878695 Appendix D Custom Labels D 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 171: ...Channel Connection Layouts Page 2 of 2 D 4 Custom Labels Appendix D Personal Daq User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 172: ...of the component upon which liability is based In no event shall OMEGA be liable for consequential incidental or special damages CONDITIONS Equipment sold by OMEGA is not intended to be used nor shall it be used 1 as a Basic Component under 10 CFR 21 NRC used in or with any nuclear installation or activity or 2 in medical applications or used on humans Should any Product s be used in or with any n...

Page 173: ... Batch Controllers pH CONDUCTIVITY 䡺 pH Electrodes Testers Accessories 䡺 Benchtop Laboratory Meters 䡺 Controllers Calibrators Simulators Pumps 䡺 Industrial pH Conductivity Equipment DATA ACQUISITION 䡺 Data Acquisition Engineering Software 䡺 Communications Based Acquisition Systems 䡺 Plug in Cards for Apple IBM Compatibles 䡺 Datalogging Systems 䡺 Recorders Printers Plotters HEATERS 䡺 Heating Cable ...

Page 174: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Reviews: