Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

NI-DAQmx: MIO Continuous Analog Acquisition with NI-DAQmx and VB6

3 ratings | 4.67 out of 5
Print

Downloads

Filename: continuousacquisition_daqmx.zip
Requirements: View

'/*********************************************************************
' Visual Basic 6.0 Example program:
' ContAcq-Int Clk.frm
'
' Example Category:
' AI
'
' Description:
' This example demonstrates how to acquire multiple
' readings from multiple analog input channels
'
' Instructions for Running:
'
' 1. Select the physical channel(s) to correspond to where your signal
' is input on the DAQ device.
' 2. Enter the minimum and maximum voltages.
' Note: For better accuracy try to match the input range to the
' expected voltage level of the measured signal.
'
' Steps:
' 1. Create a new analog input task.
' 2. Create an analog input voltage channel.
' 3. Read a finite amount of samples from the specified channel.
' 4. Call the StopTask() module to stop and clear the task.
' 5. Display an error if any.
'
' I/O Connections Overview:
' Make sure your signal input terminal matches the physical channel
' control. In the default case wire your signal to the ai0 and ai1 pins on your
' DAQ Device. For more information on the input and output terminals
' for your device, open the NI-DAQmx Help, and refer to the NI-DAQmx Device
' Terminals and Device Considerations books in the table of contents.
'
'*********************************************************************/

Requirements


Filename: continuousacquisition_daqmx.zip

Software Requirements


Language(s): Visual Basic
Additional Software: Visual Basic 6.0

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO)
Hardware Model: PCI-6013, PCI-6289, PCI-6024E, PCI-6025E, PCI-6014, PCI-6031E, PCI-6032E, PCI-6033E, PCI-6034E, PCI-6035E, PCI-6036E, PCI-6010, PCI-6040E (PCI-MIO-16E-4), PCI-6052E, PCI-6053E, PCI-6071E, PCI-6110, PCI-6111, PCI-6115, PCI-6120, PCI-6122, PCI-6123, PCI-6132, PCI-6133, PCI-6143, PCI-6153, PCI-6154, PCI-6220, PCI-6221, PCI-6221 (37-Pin), PCI-6222, PCI-6224, PCI-6225, PCI-6229, PCI-6230, PCI-6233, PCI-6238, PCI-6250, PCI-6251, PCI-6254, PCI-6255, PCI-6259, PCI-6280, PCI-6281, PCI-6284, PCI-6023E
Driver: NI-DAQmx 8.0

 
3 ratings | 4.67 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).