Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

How generate real pulses in myRIO from pulse train function

Solved!
Go to solution

Sorry, it is 10000, not 100000. The error is -363034. Thanks.

0 Kudos
Message 11 of 13
(3,670 Views)

Hmm,

 

Well the error indicates that you are trying to write too many samples to the analog output channel. The array needs to be 10,000 elements or less per row. I have a little bit of trouble following your code, but somewhere you are building an array that is too large for the myRIO to output. 

0 Kudos
Message 12 of 13
(3,654 Views)
Solution
Accepted by topic author gdblombardi

Actually the error was because the array was changing each loop and the values were not coming out, so 0 samples. I managed to fix that and set the output to read when the calculation is done. I also added a trigger and option to save the arrays as csv files. Here it is the project done.

0 Kudos
Message 13 of 13
(3,644 Views)