LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 200524 and 200609 while writing analog ouput signal

i'm trying to generate continuous data. i'm gettting the following errors : -200524 and -200609, not able resolve them 

please try to give me a solution. i have attached my code screeshot.

 

 

0 Kudos
Message 1 of 8
(2,852 Views)

The error messages seem rather self-explainatory. In the first case you are sending more channels of data than you have define in the task setup (which I can't see). The other is that you are sending more data than you have buffer space, When do you get the two errors?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 8
(2,843 Views)

I'm not able to generate proper signal, so i debug my code and saw that these two error i'm getting i tried to fix the 200609 by configuring the timing vi to continuous samples since i have read in doc that daqmx takecare about buffer sizes automatically when we set it continuous mode, but that didnt work.

0 Kudos
Message 3 of 8
(2,839 Views)

as you said i'm sending more channel data than as defined in task, can you please tel me how do i define task and how can i solve this. here i'm basically selecting the number of physical channels. using the vi  ch no's(you can see in the screenshot) also attaching you that VI. 

0 Kudos
Message 4 of 8
(2,828 Views)

In the data each channel is a separate column in the 2D array. If there is one channel, one column, two channels, two columns and so forth.

 

Mike...

 

PS: you should really get rid of the sequence structure. What is in the other frames?


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 8
(2,811 Views)

I have debug my code. i have selected one channel out of four channels.

but getting the err -200524, Is there any chance of this error because of buffer sizes,i'm using hardware NI PCIe-6353 and my sampling rate is 1000hz.

0 Kudos
Message 6 of 8
(2,785 Views)

@abhishek.d wrote:

but getting the err -200524


Lets see what that error code means...

Error -200524 occurred at an unidentified location

Possible reason(s):

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.

 

Make sure you have the same number of columns in your data as you do channels.  That is what this error means.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 7 of 8
(2,776 Views)

Thanks a lot.. tasks and channels made same in my code. now the problem solved

0 Kudos
Message 8 of 8
(2,737 Views)