Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How To use DAQ Signal Accessory

Hi, I'm a student and I'm learning for using this board. But the informations over the web are very poor. I'm using LabWindows/CVI.
Can anyone give me an example or a tutorial?
(I've downloaded the user guide).

Thanks
0 Kudos
Message 1 of 4
(3,113 Views)
Hi MaTy-

The DAQ signal accessory really has no learning curve- it is little more than a convenient breakout box for making connections directly to your DAQ card. The user manual explains how to connect different types of signals, and all of the terminals are clearly labeled on the device itself. So, the signal accessory is basically a transparent connection to your card and should not require much information or tutorials by itself.

The best way to familiarize yourself with DAQ programming in general is to look at shipping examples for LabWindows/CVI by selecting Help>Find Examples and browsing for DAQmx or Traditional DAQ examples under "Hardware Input and Output"

Regards,
Tom W
National Instruments
0 Kudos
Message 2 of 4
(3,094 Views)
I'm looking for the quadrature encoder in the DAQ Signal Pad.
I Must setting a Virtual Knob in the same position of the real knob.
For this I've wire the Channel A of the quadrature encoder with the Timer 0 Source.
I used the functions in the Easy I/O Library:

On application starts:


CounterEventOrTimeConfig (1, "0", ONE_COUNTER, USE_COUNTER_SOURCE,
COUNT_CONTINUOUSLY, COUNT_ON_RISING_EDGE,
UNGATED_SOFTWARE_START, &taskID);
CounterStart (taskID);

on Timer:
Variables

short overflow;
long counts;
Code:

CounterRead (taskID, &counts, &overflow);
SetCtrlVal (gui, PANEL_NUMERICKNOB, counts);

break;


It counts only up but not down when I rotate it clockwise.

I use the DAQPad-6020E


From The Manual:

E Series DAQ Devices
Connect phase A to the SOURCE of counter 0. Internally, phase B is
connected to DIO6, which is the up/down line for counter 0. Do not
wire the phase B terminal when using the quadrature encoder with an
E Series DAQ device. If you configure counter 0 for hardware up/down
counting, counter 0 will count up when the up/down line is high and
count down when the up/down line is low.

For example, if counting on the rising edge of phase A, as shown in
Figure 4, the up/down line (phase B) is low when the quadrature
encoder is rotated clockwise and high when it is rotated counterclockwise.

Can someone help me?
Thanks

Message Edited by MaTy on 05-12-2005 10:26 AM

0 Kudos
Message 3 of 4
(3,062 Views)
I've resolved the problem. I can't count up/dopwn with the Easy I/O library but only with the Traditional NI-DAQ
0 Kudos
Message 4 of 4
(3,046 Views)