Re: How do I determine the appropriate buffer size to use to generate a particular frequency waveform?

2004-06-17 Thread Jeremy C
If you are regenerating the same buffer, then you want to make sure
the buffer has a whole number of periods.  If you have 2.5 periods in
your buffer and are regenerating this same buffer, you would get the
middle of the third period and then start over at the beginning of
your 1st period, giving you a discontinuity.  If you are not
regenerating the same buffer, then as long as you are picking up where
you left off as far as you data goes, you should see the
discontinuity.  For our previous example, if your next buffer's first
point starts at the 2nd half of the 3rd period, you shouldn't see a
break in the waveform.  Below is a link to a knowledge base that
discusses how to calculate the resulting output frequency.  I hope
this information helps.  Respond if this did not answer your question
or if you have additional questions.

a
href=http://digital.ni.com/public.nsf/websearch/AD1739FDEDBE080886256DF9007B929A?OpenDocument;Calculate
Frequency/a



Re: Using a PC4350 DAQ and/or a PC-LPM-16/PnP DAQ under Labview 7.1

2004-06-14 Thread Jeremy C
The PC-LPM-16/PnP is not supported by NI-DAQ 7.0 or higher.  In order
to use this board, you will have to install NI-DAQ 6.9.3 or older (see
Versions link below).  This will use the Traditional driver.  As you
noted this device is not supported by NI-DAQmx.  There are numerous
examples that ship with LabVIEW that should illustrate how to use this
board.  As for the PC4350, what version of the driver did you install?

a href=http://www.ni.com/support/daq/versions.htm;NI-DAQ Version
Reference/a



Re: Initial DAQPad-6020E outputs

2004-06-04 Thread Jeremy C
By default, the power-up states of the digital lines on E Series
devices is a high-impedance input state.  Below is a knowledge base
that discusses how to pull these lines low initially using some pull
down resistors.  I hope this helps.

a
href=http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/b4fed0c879bd155f862569ed00142dc7?OpenDocument;Setting
the Default State of Digital Lines on E Series DAQ Boards/a



Re: pc-dio-96

2004-06-03 Thread Jeremy C
Stu is correct is his explanation of the behavior.  However, if the
port is configured for output, you want to make sure you don't drive
any of those lines with an external device.  Otherwise, you can damage
the board.  It almost sounds like you are wanting to do a digital
input operation with a set power up state.  If this is the case, you
can define what state your board powers up in.  Refer to page 3-9 of
the PC-DIO-96 user manual linked below.

a href=http://www.ni.com/pdf/manuals/320289c.pdf;PC-DIO-96 User
Manual/a



Re: Daq Solutions Button Greyed out after reinstall

2004-05-27 Thread Jeremy C
Hendry,
First of all, what is the model of your PCI data acquisition board?
Depending upon your board model, you may want to use NI-DAQ 7.0, since
that will allow you to automatically install support for LabVIEW 6.i.
NI-DAQ 7.2 should work with LabVIEW 6.i, but you may have to manually
copy some files to appropriate locations.  With your current
installation, does your board show up in MAX?  If so, can you run any
of the data acquisition examples that ship with LabVIEW?



Re: creating two sin signals using function generator.vi example

2004-05-27 Thread Jeremy C
Nidal,
Below is an example that illustrates how to generate different sine
waves on two separate analog output channels.

a
href=http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CBC9E111EE034080020E74861p_node=DZ52313p_source=External;Example/a



Re: Why does converting a SGL to SGL get rid of coersion dots?

2004-02-13 Thread Jeremy C
The algorithm for determining resulting data types gets much more
complicated when using uninitialized shift registers.  The algorithm
used by the binary arithmetic functions is slightly different than the
algorithm used by the compound arithmetic function.  It was determined
that the algorithm used by the compound arithmetic function is more
robust than that used by the binary arithmetic functions.
Modification to the algorithm used by the binary arithmetic functions
is being considered for future versions of LabVIEW.