High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup timing between HS-DIO & NI-Scope for DAC linearity measurement?

I have a 9-bits DAC that I am characterizing for linearity using a digital I/O card (HS-DIO) at the input to generate digital words and a digitizer (NI-Scope) at the output to collect the analog DC levels. How can I integrate these two steps within a 'For loop' with a delay between the word generation from HS-DIO and the acquisition from the NI-Scope? Is it a 'visual'  distribution of the VI's one after the other in the loop that can ensure the generation is done first (located at the top) and the acquisition second (located at the bottom) with a delay VI between them? Or do we need a particular code to specify which step is ran first in the loop?
 
Thank you,
Paola Zepeda
0 Kudos
Message 1 of 2
(5,926 Views)
Order of execution in LabVIEW is determined by data flow/dependencies and not simply by visual placement. So if one function is passing data to another, then the function outputting that data will always execute before the function receiving that data. If two functions do not pass any data between each other, then there is no data dependency between them and thus they will be executed in any order that the LabVIEW compiler chooses. If you need to define the order of execution of functions in LabVIEW without passing data between them, then you can use a Sequence Structure, which sequentially executes the frames contained in it, one at a time.
 
It sounds like you're pretty new to LabVIEW, so I would definitely encourage to spend some time going through one of our many online tutorials for LabVIEW. I've linked one them for you here, but there are many others on our website.
 
Kind Regards,
E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(5,902 Views)