Chapter 5 Using the NI PXI-4224NI PXI-4224 User Manual 5-10 ni.comSynchronizing the NI PXI-4224 Using LabVIEWThis section describes in more detail the steps shown in Figure 5-2, suchas how to create a task in LabVIEW and configure the channels of theNI PXI-4224. For further instructions, select Help»VI, Function, &How-To Help from the LabVIEW menu bar.Note Except where otherwise stated, the VIs in Table 5-3 are located on the Functions»All Functions»NI Measurements»DAQmx - Data Acquisition subpalette andaccompanying subpalettes in LabVIEW.Table 5-3. Synchronizing the NI PXI-4224 Using LabVIEWFlowchart Step VI or Program StepCreate a Master Task(optional)DAQmx Create Task.vi—This VI is optional if you createdand configured your task using the DAQ Assistant. However, ifyou use it in LabVIEW, any changes you make to the task will notbe saved to a task in MAX.Create Master AI VoltageChannelsDAQmx Create Virtual Channel.vi (AI Voltage bydefault).Configure Master Channels Use a DAQmx Channel Property Node. Refer to the Using aDAQmx Channel Property Node in LabVIEW section for moreinformation.Configure Master Timing DAQmx Timing.vi (Sample Clock by default).Get Master Timebase Sourceand Rate from Master TaskUse a DAQmx Timing Property Node to getMasterTimebase.Src and MasterTimebase.Rate.Create a Slave Task(optional)DAQmx CreateTask.vi—This VI is optional if you created andconfigured your task using the DAQ Assistant. However, if youuse it in LabVIEW, any changes you make to the task will not besaved to a task in MAX.Create Slave AI VoltageChannelsDAQmx Create Virtual Channel.vi (AI Voltage bydefault).Configure Slave Channels DAQmx Channel Property Node. Refer to the Using a DAQmxChannel Property Node in LabVIEW section for moreinformation.Configure Slave Timing DAQmx Timing.vi (Sample Clock by default).