01-04-2008 06:20 PM
01-07-2008 08:18 AM
@USCORNLUW wrote:I was running a program using NI-DAQmx to run a PCI-6251 card and get the following error:Error -200077 occurred at Property Node DAQmx Timing (arg 1) in DAQmx Timing (Sample Clock).vi:1->Multi-power, Multi-relay DAQ_modified_Kui.viPossible reason(s):Requested value is not a supported value for this property.Property: SampTimingType
You Have Requested: Sample Clock
You Can Select: On DemandTask Name: _unnamedTask<371>However, when I checked the options, there is nothing that says "on demand".I am a entry level LabVIEW user. Any comment is appreciated! Thanks!
01-07-2008 10:25 AM - edited 01-07-2008 10:31 AM
Thanks, Jeff. When you say "software timed device", you mean the timing has to be programmed in the labVIEW? In that case, in the property node, the timing type needs to be set to the default "on demand", right?
I also have several hardware-related questions about 6251.
1. When creating channels using DAQmx create channel (AI-Voltage-Basic).vi, do I need to define the reference channel when I configure an anaolog input channel as "differential"? For example, in my application, the AI 0 is connected to the center pin of a BNC cable (signal) and AI 8 is connected to the outside casing of the BNC cable (ground). When I configure AI 0 as differential, do I need to specify AI 8 as the channel that it is "differential" against? Or will it automatically be defined by the way the hardware is connected?
2. Are the following the same:
A) to configure AI 0 as differential (against AI 😎
B) to define both AI 0 and AI 8 as NRSE (non-referenced single-ended), referencing both to ground and subtract the input from AI 0 from the input from AI 8
01-07-2008 10:25 AM - edited 01-07-2008 10:32 AM
01-08-2008 08:57 AM
@jcarbonell wrote:To answer your immediate question, the On Demand is the default timing type. It can be found under DAQmx Timing Property Node :: Timing Type. But, what's happening is that your 6251 is a software timed device only. It doesn't support a sample clock.
Jeff
@USCORNLUW wrote:I was running a program using NI-DAQmx to run a PCI-6251 card and get the following error:Error -200077 occurred at Property Node DAQmx Timing (arg 1) in DAQmx Timing (Sample Clock).vi:1->Multi-power, Multi-relay DAQ_modified_Kui.viPossible reason(s):Requested value is not a supported value for this property.Property: SampTimingType
You Have Requested: Sample Clock
You Can Select: On DemandTask Name: _unnamedTask<371>However, when I checked the options, there is nothing that says "on demand".I am a entry level LabVIEW user. Any comment is appreciated! Thanks!
01-08-2008 10:03 AM
Jeff,
I am not using any of the examples, instead I am developing an application of my own. But I will take a look at the examples. By the way, any thoughts on the channel configuration (differential vs NRSE)? Thanks!
10-28-2008 01:59 AM
hi
i wish to relpy to your question on differential vs NRSE.
to the extent of my knowledge, they are different - entirely different.
differential: +ve signal goes to ai0, -ve signal (gnd) goes to ai8. you will measure a difference between ai0 and ai8.
NRSE: +ve signal goes to ai0, -ve signal goes to AISENSE. you will measure the siganl wrt ground/earth. connect another signal to ai8. +ve of that signal goes to ai8, -ve goes to AISENSE. you are still measuring the signal wrt ground/earth.
Look at the link for more information:
http://zone.ni.com/devzone/cda/tut/p/id/5362
good luck