=========================
General Beginner Question
=========================
I need to build LabView program to acquire a spectrum with a DPP. 

=======================
General Beginner Answer
=======================
The LabVIEW DP5 SDK contains examples that can be used to build acquisition
applications with little effort.  The examples will run in most LabVIEW versions.
(LabVIEW versions 8.2, 8.5 and 2010 example Virtual Instruments are provided.
Also:
-> You need to have NI-VISA installed to access the VISA devices.
-> You can use the VISA Driver Wizard to install the USB drivers (it will guide you through the process).
-> Example USB INF files are included in the examples.

==============
Beginner Notes
==============
-> Use a system with 2 or more free USB ports to develope LabVIEW USB applications.
-> Installing a VISA USB driver on a WinUSB port will change the port to VISA USB
-> The DppMCA program cannot find devices on a VISA USB driver port
-> It is best to have a WinUSB port and a VISA USB port during development

==================
Beginner Questions
==================
How can I change DPP parameters? 
I want to tell the DPP to work with 2048 channels.
I want to set the acquisition time and the threshold channel.

==============================
Beginner Reference Suggestions
==============================

Attached is:

        1. Pdf version of the Programmer Guide. (This is also included in the Help file)
                (DP5 Programmer Guide.pdf)
        2. MakePacket Utility (Select message type, enter message text, makes packets to paste into labview)
                (MakePacket.exe)
        3. MakePacket source code (in C++, you can reference how the packets were made)
                (MakePacket\*.*)
        4. A document that lists the best order of the ASCII Commands.
                (Ordering_Commands.pdf)
        5. A documents that lists recommended RS232 communications delays (if necessary)
                (RS232_Delays.txt)


See in the Programmer Guide:
 - Section 4.1.15 Request packet: “Text Configuration”
 - Section 5 "ASCII Commands" For individual commands.
                (Select ASCII commands from this section)
        5.1.27 MCAC - Select Number of MCA Channels
                (example demonstrated in TestDppSDK_?ComType?.vi VIs)
        5.1.41 PRET - Preset Acquisition Time
                (example demonstrated in TestDppSDK_?ComType?.vi VIs)

        Example in VI: (MCAC=1024;PRET=20;)

Steps to create and send message.
1. Select ASCII commands from Programmer Guide.
2. Select desired values.
3. Format ASCII command string. (example MCAC=2048;PRET=60;)
4. Paste into MakePacket.exe, get actual hex message string.
5. Send message (See InitSendConfiguration case in VI)

