07-16-2019 11:53 AM - edited 07-16-2019 12:42 PM
Suppose I have input 1 and input 2 initialized as two channels. How would I be able to distinguish between the two when reading from the RT FIFO (asynchronous device if that matters)? And like wise, what about for output?
Solved! Go to Solution.
07-16-2019 02:13 PM
You should be reading/writing an array of doubles from the RT FIFO, with the order of the doubles in the array matching the order in which they were created in your initialization VI.
Are you using the inline async custom device template?
07-16-2019 02:25 PM
@PlatypusRex wrote:
You should be reading/writing an array of doubles from the RT FIFO, with the order of the doubles in the array matching the order in which they were created in your initialization VI.
Are you using the inline async custom device template?
It didn't cross my mind that it took in arrays (I assumed it just took one value at a time). By order in initialization, you mean the device reference/subsection linking order, right?
I'm using just the regular Custom Device Template Tool set to Asynchronous.
07-17-2019 01:48 AM
07-17-2019 08:09 AM
Suppose I had a loop enclose around the input section to make input a & input b. Would the order, I presume, be 1st channel a, 2nd channel a, 1st channel b, and 2nd channel b?
07-18-2019 08:21 PM