09-15-2008 06:46 PM
I am trying to capture data from both channels of two PXI-5152 high speed digitizers simultaneously. I have only been using LabVIEW for about 2 weeks, so I am not entirely familiar with it yet. I understand how to capture data from both channels of only one 5152 at the same time but need to use all four channels. I have been using the Save to File example that comes with LabVIEW 8.5 to help me get as far as I am. Also, in the Front Panel I would like to give the user the option of using one or both of the digitizers. I can replicate the current "resource name" and "channel" configuration but then I don't know how to add the option of "none" to the pull down menu for resource name. Any help is appreciated!
A copy of my file in its current state is attached.
09-16-2008 10:12 AM - edited 09-16-2008 10:13 AM
I would suggest using either the "niScope EX Multi-Device Generic Sync (TClk).vi" or the "niScope EX Multi-Device Configured Acquisition (TClk).vi" examples found in the labview\examples\instr\niScope directory. In these examples, the user has the option of specifying how many and which digitizers to use by making the selections in the array control. If you wish to build the array programmatically from two seperate controls, you can do that as well. You can also use a Tab Control to have the user select whether they want one or two digitizers. See the images shown below.
Image of Tab Control on Front Panel:
Image of Block Diagram:
09-16-2008 11:36 AM