DAQ1400 User Guide: Difference between revisions

From Phidgets Support
No edit summary
Line 23: Line 23:
{{UGcontrolpanel|DAQ1400}}
{{UGcontrolpanel|DAQ1400}}


{{ugVoltageInputPWR}}
{{ugVoltageInputPWR|DAQ1400}}


{{ugCurrentInputPWR}}
{{ugCurrentInputPWR|DAQ1400}}


{{ugDigitalInputISA}}
{{ugDigitalInputISA|DAQ1400}}


{{ugFrequencyCounterISA}}
{{ugFrequencyCounterISA|DAQ1400}}


{{UGotheros}}
{{UGotheros}}

Revision as of 20:13, 15 June 2017


DAQ1400 Functional.jpeg

Required Hardware

Connecting the Pieces

  1. Connect the DAQ1400 to the VINT Hub using the Phidget cable.
  2. Connect the VINT Hub to your computer with a USB cable.
  3. Connect sensor or device to the DAQ1400's appropriate inputs. For details, see the technical section.


Testing Using Windows

Phidget Control Panel

In order to demonstrate the functionality of the DAQ1400, the Phidget Control Panel running on a Windows machine will be used.


The Phidget Control Panel is available for use on both macOS and Windows machines.

Windows

To open the Phidget Control Panel on Windows, find the Ph.jpg icon in the taskbar. If it is not there, open up the start menu and search for Phidget Control Panel

Windows PhidgetTaskbar.PNG

macOS

To open the Phidget Control Panel on macOS, open Finder and navigate to the Phidget Control Panel in the Applications list. Double click on the Ph.jpg icon to bring up the Phidget Control Panel.


For more information, take a look at the getting started guide for your operating system:


Linux users can follow the getting started with Linux guide and continue reading here for more information about the DAQ1400.

First Look

After plugging the DAQ1400 into your computer and opening the Phidget Control Panel, you will see something like this:

DAQ1400 Panel.jpg


The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:

  • Serial number: allows you to differentiate between similar Phidgets.
  • Channel: allows you to differentiate between similar objects on a Phidget.
  • Version number: corresponds to the firmware version your Phidget is running. If your Phidget is listed in red, your firmware is out of date. Update the firmware by double-clicking the entry.


The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.

Voltage Input

DAQ1400 VoltageInput Example.jpg

When you double click on an Voltage Input object, a window like the one pictured will open.

  • At the top of the window, information about your device and the properties of this particular channel will be listed.
  • On the left, change trigger and/or data interval can be changed. For more information on these settings, see the Data Rate/Change Trigger page. The power supply setting must be set to the voltage expected by the sensor connected to the adapter.
  • On the right, the current reading of the raw voltage is listed beside "Voltage".


Current Input

DAQ1400 CurrentInput Example.jpg

When you double click on an Current Input object, a window like the one pictured will open.

  • At the top of the window, information about your device and the properties of this particular channel will be listed.
  • On the left, change trigger and/or data interval can be changed. For more information on these settings, see the Data Rate/Change Trigger page. The power supply setting must be set to the voltage expected by the sensor connected to the adapter.
  • On the right, the amount of current in amps is displayed and updated in real-time.


Digital Input

DAQ1400 DigitalInput Example.jpg

When you double click on an Digital Input object, a window like the one pictured will open.

  • At the top of the window, information about your device and the properties of this particular channel will be listed.
  • In the middle, there is a box that will display "true" or "false" depending on the state of the digital input. Be sure you select the proper mode (NPN / PNP) for your particular sensor. If you have a switch, you can test this input by connecting the digital input terminal of the sensor to one of the switch's terminals, and the sensor's ground terminal to another. Pressing the switch should cause the input to read "true".
  • At the bottom of the window, there is a selection for the power supply. The power supply setting must be set to the voltage expected by the sensor connected to the adapter.


Frequency Counter

DAQ1400 FrequencyCounter Example.jpg

When you double click on a Frequency Counter object, a window like the one pictured will open.

  • At the top of the window, information about your device and the properties of this particular channel will be listed.
  • On the left, you can control the various settings:
    • Timeout: How long the device will wait without detecting any pulses before reporting "0 Hz".
    • Power Supply: The power supply setting must be set to the voltage expected by the sensor connected to the adapter.
  • On the right, data from the frequency counter is displayed in real-time:
    • Count Event: When equal to 1, the Frequency Counter is currently counting pulses toward the current frequency. When equal to 0, no event is active. Lengthen the timeout in order to allow for longer pauses without resetting the event.
    • Frequency: The average frequency calculated from the pulses in this event so far.
    • Total Count: The total number of pulses since opening this example window.
    • Total Time: The total time in ms elapsed since opening this example window.


Testing Using Mac OS X

  1. Go to the Quick Downloads section on the Mac OS X page.
  2. Download and run the Phidget OS X Installer
  3. Click on System Preferences >> Phidgets (under Other) to activate the Preference Pane
  4. Make sure your device is properly attached
  5. Double click on your device's objects in the listing to open them. The Preference Pane and examples will function very similarly to the ones described above in the Windows section.

Testing Using Linux

For a general step-by-step guide on getting Phidgets running on Linux, see the Linux page.

Using a Remote OS

We recommend testing your Phidget on a desktop OS before moving on to remote OS. Once you've tested your Phidget, you can go to the PhidgetSBC, or iOS pages to learn how to proceed.

Technical Details

Connection Modes

The DAQ1400 is designed to connect to a wide variety of sensors (but only one sensor at a time!). This section will explain how to hook up each type:

Voltage Input (0-5V)

This mode reads a DC voltage between 0 and 5 volts, similar to the analog input on a Phidget InterfaceKit or DAQ1000. However, many industrial sensors require 12V or 24V power supplies, which InterfaceKits and similar devices are unable to provide. The DAQ1400 Versatile Input Phidget fills this niche by providing 12 or 24V, which you can select in software by setting the PowerSupply property.

To connect your 0-5V sensor to the DAQ1400,

  • Connect the ground wire to the Gnd terminal on the DAQ1400
  • Connect the power wire to the 12V/24V terminal on the DAQ1400
  • Connect the 0-5V signal wire to the Analog terminal on the DAQ1400

You may need to refer to the datasheet for your sensor to determine which wire is which.

Current Input

This mode is designed to interface a 4-20mA sensor, which is a common industrial standard. Even though this mode is intended for this specific purpose, you can also use it as a general-purpose current sensor, in which case it can measure current values between 0.5 and 20mA (The sensor can technically measure all the way down to 0 amps, but is unreliable for values below 0.5mA).

To connect your 4-20mA sensor to the DAQ1400,

  • Connect the ground wire of your 4-20mA sensor to the 4-20mA terminal on the DAQ1400
  • Connect the power wire of your 4-20mA sensor to the 12V/24V terminal on the DAQ1400


You can set the PowerSupply property in order to choose between 12V and 24V supply. See the datasheet for your sensor to determine how much voltage it requires.

Digital Input

Some industrial sensor have a simple true-or-false value which can be read by a digital input. Many proximity or movement sensors have this kind of output. Again, it is common that these sensors will require a 12V or 24V power supply, so ordinary digital input Phidgets are not a complete solution in this case. A digital sensor will either be PNP or NPN:

  • An NPN sensor will switch the sensor line to ground whenever the sensor activates.
  • A PNP sensor will switch the sensor line to power whenever the sensor activates.

Normally, you'd need a different kind of digital input to interface these two types of sensors. Luckily, the DAQ1400 can read either one; all you have to do is set the InputMode property to the correct type. You can set the PowerSupply property in order to choose between 12V and 24V supply. See the datasheet for your sensor to determine how much voltage it requires.

To connect your digital sensor to the DAQ1400,

  • Connect the ground wire of your digital sensor to the Gnd terminal on the DAQ1400
  • Connect the data wire of your digital sensor to the Digital terminal on the DAQ1400
  • Connect the power wire of your digital sensor to the 12V/24V terminal on the DAQ1400
Frequency Input

Sensors that measure using rotation such as flow meters or anemometers usually have a pulse output. For example, a flow sensor might send a 5V pulse down the line every time the turbine makes a full rotation. Using this information with timestamps, you can calculate the turbine speed. While you could theoretically use a digital input to read this kind of signal, most digital input boards are not designed to read pulse signals that change this frequently, so they'll miss pulses and calculate the wrong speed. The DAQ1400 is specially designed to read these high frequency pulse signals when in FrequencyInput Mode.

To connect your sensor to the DAQ1400,

  • Connect the ground wire of your sensor to the Gnd terminal on the DAQ1400
  • Connect the data wire of your sensor to the Digital terminal on the DAQ1400
  • Connect the power wire of your sensor to the 12V/24V terminal on the DAQ1400

You can set the PowerSupply property in order to choose between 12V and 24V supply. See the datasheet for your sensor to determine how much voltage it requires.

If you're running a sensor that is sending out pulses faster than 600Hz and it seems to be maxing out around there, it may be because the pull-down resistance is too weak to pull the signal down. To strengthen the pull-down, put a 10K resistor across the Digital and Gnd terminals.

Current Consumption

Current consumption of the DAQ1400 will vary depending on which mode you're using:

Mode Unconfigured Current Consumption (mA) Configured Current Consumption (mA)
VoltageInput 0.023 8
CurrentInput 0.023 8
DigitalInput 0.022 9.5
FrequencyInput 0.023 9.7

These figures are assuming a power supply of 12 volts. Increasing the power supply to 24V adds approximately 0.7mA of current consumption.

What to do Next

  • Programming Languages - Find your preferred programming language here and learn how to write your own code with Phidgets!
  • Phidget Programming Basics - Once you have set up Phidgets to work with your programming environment, we recommend you read our page on to learn the fundamentals of programming with Phidgets.