10-15-2009 10:42 PM
Hi All,
I have a PCI-6052E and am trying to connect a signal generator to a DAQ with the digital option (with say line1 in port 0). However while doing
the DAQ config I keep getting an error when i put continuous samples in the generation mode which says "Requested value is not a supported value for this property. Property: SampTimingType
You Have Requested: Sample
Clock
You Can Select: On Demand"
I can do the same with the analog output. Why is this so? Is it possible to generate pulses or DC waveform using digital output option on DAQ. Please send me a sample code if it possible. I have attached a test code of what I intended.
I get an error : "Write cannot be performed, because the number of channels in the data does not match the number of channels in the task.When writing, supply data for all channels in the task. Alternatively, modify the task to contain the same number of channels as the data written." Why ?
Thanks
Ams
10-16-2009
02:12 PM
- last edited on
02-19-2024
05:18 PM
by
migration-bot
Hello Alfredo,
It is possible to generate digital pulses with our DAQ, but not this one. From the specifications page:
When a card has software timing, this means that there is no ability to run the digital lines from anything but software calls. What this means is you can only write one point per channel at a time. If you want to generate pulse with a set frequency, duration, or a set number of pulses, then you need to use the counter output which has the ability to run off a clock on the card. You can examine the different counter output abilities by using the Example Finder. It's at Hardware Input and Output»DAQmx»Generating Digital Pulses. Hope this helps!