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

SCXI Multiple Modules Continuous Scan CVI

2 ratings | 1.00 out of 5
Print

Downloads

Filename: doublebufscanmultiple.zip
Requirements: View

Example program: DoubleBufScanMultiple.C

Description: This program performs a double buffered acquisition from multiple channels of multiple modules with one being a track and hold module and the other a non track and hold (except SCXI-1100 and SCXI-1122) module.

NOTE: This example program is designed for an SCXI-1520 and SCXI-1102 module. You can adapt it to a different track and hold module. (uses low-level NI-DAQ functions)

Variables: The variables are hardcoded; therefore, this program may not work in your application. This example is presented as a code snippet of how you can use NI-DAQ functions to perform a task.

Function Calls:

NI-DAQ Function Calls Used:
SCXI_Reset, SCXI_Load_Config, SCXI_Track_Hold_Setup, SCXI_Set_Gain,
SCXI_Set_Excitation, SCXI_Configure_Filter,
SCXI_Configure_Connection, SCXI_SCAN_Setup, Timeout_Config,
SCXI_MuxCtr_Setup, SCAN_Op, SCAN_Demux, SCXI_Scale

NIDAQEX.C Function Calls Used:
NIDAQErrorHandler

For further details on each function, refer to the NI-DAQ help file (NIDAQPC.HLP) or the nidaqex help file (NIDAQEX.HLP).

Pin Connection Information: Refer to the SCXI-1520 User Manual for the bridge configuration wiring diagram of your application. By default, this example program is configured for quarter-bridge strain gauges in the variables declaration section. Make sure you are using SCXI channels 0 through 7 for this example program. Refer to the SCXI-1102 User Manual for appropriate signal connections for the module.

Requirements


Filename: doublebufscanmultiple.zip

Software Requirements


Application Software: LabWindows/CVI Full Development System 6.0
Language(s): C

Hardware Requirements


Hardware Group: SCXI
Hardware Model: SCXI-1102, SCXI-1520
Driver: Traditional NI-DAQ (Legacy) 6.9.3

 
2 ratings | 1.00 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/).