Raminta
2007-06-26 21:40:12 UTC
"burst mode pattern generation" --- is there a difference between this and "regular" burst mode ? I have an application in which I need to ~continuously~ output multiple streams of data, where each 'stream of 32-bit values' is output using the burst mode protocol.
For example, suppose I have 10 separate arrays of data. Each array contains 100 integers. My programs needs to continuosly output array1, followed by array2, ...followed by array5, then back to 1 through 5 again, over and over and over. Each individual array of 100 integers is output using burst protocol. I was thinking of just calling DIG_BLOCK_OUT() in an infinite while loop, and each iteration of the while loop outputs a single array with a single call to DIG_BLOCK_OUT(). So pseudocode might look as follows:
while (forever)
{
call DIG_BLOCK_OUT() ; // call for either array1, 2, 3 , 4 or 5
}
But is there a different way other than what I have above ?
Thanks in adance !
****** I am using the AT-DIO-32HS card
For example, suppose I have 10 separate arrays of data. Each array contains 100 integers. My programs needs to continuosly output array1, followed by array2, ...followed by array5, then back to 1 through 5 again, over and over and over. Each individual array of 100 integers is output using burst protocol. I was thinking of just calling DIG_BLOCK_OUT() in an infinite while loop, and each iteration of the while loop outputs a single array with a single call to DIG_BLOCK_OUT(). So pseudocode might look as follows:
while (forever)
{
call DIG_BLOCK_OUT() ; // call for either array1, 2, 3 , 4 or 5
}
But is there a different way other than what I have above ?
Thanks in adance !
****** I am using the AT-DIO-32HS card