MarkMoss
2008-08-06 22:40:07 UTC
When I attempt to use a DAQmx Channel property node to read the properties of a global virtual channel, I get the following error unless I first create a task *and* set the timing for that task to a mode supported by the hardware. I've attached a screenshot of the VI showing two pieces of code that result in the error, and a third piece of code which works as expected.
The specific error I receive is:
Property Node DAQmx Channel (arg 1) in DAQmx Channel Read Weird Behaviour.vi <append>Property: SampTimingTypeYou Have Requested: On DemandYou Can Select: Sample Clock
Device: cDAQ2
Task Name: Module 7 AI0 Strain
I'm using the following:
Windows XP SP2 (32-bit)
LabView 8.5.1
DAQmx 8.7.0f1
cDAQ-9172 chassis (S/N 1346A04)
NI-9237 (S/N 134252A) in the cDAQ chassis' slot 7.
Is this behavior "by design", and is there a better work-around to allow me to get the global virtual channel properties without first having to create a task and setup the sample timing?
Thanks,
Mark Moss
Electrical Validation Engineer
GHSP
DAQmx Channel Read Property Node.png:
http://forums.ni.com/attachments/ni/250/42144/1/DAQmx Channel Read Property Node.png
The specific error I receive is:
Property Node DAQmx Channel (arg 1) in DAQmx Channel Read Weird Behaviour.vi <append>Property: SampTimingTypeYou Have Requested: On DemandYou Can Select: Sample Clock
Device: cDAQ2
Task Name: Module 7 AI0 Strain
I'm using the following:
Windows XP SP2 (32-bit)
LabView 8.5.1
DAQmx 8.7.0f1
cDAQ-9172 chassis (S/N 1346A04)
NI-9237 (S/N 134252A) in the cDAQ chassis' slot 7.
Is this behavior "by design", and is there a better work-around to allow me to get the global virtual channel properties without first having to create a task and setup the sample timing?
Thanks,
Mark Moss
Electrical Validation Engineer
GHSP
DAQmx Channel Read Property Node.png:
http://forums.ni.com/attachments/ni/250/42144/1/DAQmx Channel Read Property Node.png