11-25-2013 08:53 AM
Hello!
I`ve tried to set the AIConvertRate in DAQmx Task with multiple devices. Following exception is thrown:
"An exception of type 'NationalInstruments.DAQmx.DaqException' occurred:
DAQmx Timing property specified requires per device configuration.
Explicitly specify the device(s) to which this property should apply.
Property: NationalInstruments.DAQmx.Timing.AIConvertRate"
But how could I set this rate for each device? There is no property to set this at the Device class.
Thanks in advance!
Holger
11-26-2013 06:43 AM
Hi HoNeu,
can you please upload your code?
Please simplify it for the issue. So it is easier for me to help you.
Regards
Robert
04-04-2014 08:32 AM
Hi,
sorry for the late reply!
I just try to set the AIConvertRate property like this:
analogInputTask.Timing.AIConvertRate = ...;
then the Exception is thrown.
No matter of how many channels or devices are configured in the task before.
Regards
Holger
04-11-2014 08:32 AM
I`ve also tried the "Set Convert Clock.vi" example from this page http://digital.ni.com/public.nsf/websearch/42484E84DA98053686256D32006E0494?opendocument&Submitted&&...
with LabView. Same result, "DAQmx Timing property specified requires per device configuration...." Is it possible to set the convert clock rate in DAQmx or not? Regards Holger
04-11-2014 01:07 PM
What device(s) are you using?
Best Regards,
04-14-2014 02:01 AM
For this test I used a NI 9205 DSub device.
Regards
Holger
04-14-2014 12:02 PM
You'll need to specify the module as the active device for the DAQmx Timing Property. For example:
A cDAQ AI task contains references to both the chassis and the module(s), so even with one module in the task you'll need to specify when setting module-specific properties such as convert rate.
Best Regards,
04-15-2014 07:47 AM
Thanks, that works!
But I work with C# and .NET and need to set this property.
There is no possibility to specify an active device in the Timing class.
Any idea?
Best regards
Holger
04-15-2014 12:00 PM
There must be a way...
Unfortunately though I don't have the DAQmx .NET API or documentation installed--I'm not sure offhand what the call is going to look like in C#.
Best Regards,