03-25-2008 01:44 PM
03-26-2008 10:18 AM
Hi Gerd,
I have a problem with the program u helped me with yesterday. when i press run an error occurs.
Error -200463 occurred at DAQmx Write (Digital 1D Bool 1Chan 1Samp).vi:1
Possible reason(s):
Specified read or write operation failed, because the number of lines in the data for a channel does not match number of lines in the data for a channel does not match the number of lines in the channel.
If you are using the Digital Waveform datatype, make sure the number of lines in the digital waveform matches the number of lines in the channel. If you are using boolean data, make sure the array dimension for lines in the data matches the number of lines in the channel.
Number of Lines in Channel: 8
Number of Lines in Data: 3
Task Name: _unnamedTask<1>
03-27-2008 07:32 AM
03-27-2008 07:37 AM - edited 03-27-2008 07:39 AM
03-27-2008 07:41 AM
Hi dave,
i changed the red marked things. See the attached example.
Mike
03-27-2008 08:00 AM
hi mike, thanks
the number of tasks and data are still different new error code though.
Error -200524 occurred at DAQmx Write (Digital 1D Bool NChan 1Samp 1Line).vi:1
Number of Channels in Task: 1
Number of Channels in Data: 3
03-27-2008 08:20 AM
Hi dave,
if i select 3 channels in the "line" control and a task with only one analog input in the other control it works well.
Mike
03-31-2008 07:18 AM
hi mike,
how are you. I got that system working with your help.
Just I am getting an error when I run the VI the system does not constantly update the pressure value comming in so this error occurs after a few cycles.
I increased the number of times the data is read with no success. can you suggest anything?
DAVE
Error -200279 occurred at DAQmx Read (Analog DBL 1Chan 1Samp).vi:1
Possible reason(s):
Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
Increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem.
Property: RelativeTo
Corresponding Value: Current Read Position
Property: Offset
Corresponding Value:
Task Name: MyVoltageTask0
03-31-2008 07:44 AM
Hi dave,
actually you use only 1000 samples. Either you change the sample mode to "Hardware Timed Single Point" or you stop the reading after you get your 1000 samples.
Mike
04-02-2008 05:34 AM