LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arbitrary Signal output rate

Solved!
Go to solution
Hello, I am trying to output this arbitrary signal through the simulate arbitrary signal express VI. I want to output one point every second to the USB 6281 DAQ's analog output. when i tell it to output one point per iteration i get error 200609 saying the selected buffer size is too small (selected buffer size: 1, minimum buffer size: 2) how do i change buffer size? attached si my VI, just go under the "arbitrary 1" case and you'll see my Express VI with the points iv set.
0 Kudos
Message 1 of 5
(3,464 Views)
Your question does not make any sense to me. You have not configured the DAQ Assistant to output a single point and you do not have any sort of loop around the DAQ Assistant to output a complete waveform one point at a time. When you do make these changes, do you really want to take 72 seconds to output the arbitrary waveform? Some of the other wavevorms are much bigger - 1000 points. Taking 1000 seconds seems a bit extreme.
0 Kudos
Message 2 of 5
(3,456 Views)
i thought having the DAQ assistant set to have a generation mode of 1 sample on demand would do that. and its in the while loop that the arbitrary signal is in. I actually do want it to take 72 seconds to output the whole waveform. I want to simulate rain fade attenuation with a PIN diode connected to the voltage output of the DAQ card. So the test will be around 20 seconds getting the voltage up to 2V then hold for around 20 seconds and then gradually decline for another 20 seconds.
0 Kudos
Message 3 of 5
(3,448 Views)
Solution
Accepted by topic author F11Raven
But you are passing it an array of many points so you would have to index that array point by point by putting the DAQ Assistant inside a for loop with a 1 sec delay. You could also pass the entire waveform and specifying a 1hz rate in the DAQ Assistant.
Message 4 of 5
(3,445 Views)
Hey dennis thanks after a bit of messin around i made this new VI that only outputs this wave at one point per second. il attach it for anyone else witht he same problem
0 Kudos
Message 5 of 5
(3,429 Views)