Programmatically Linking an Arbitrary Waveform Generator with an Upconverter Using the NI-RFSG Driver? Hardware: Modular Instruments>>RF Measurement Devices>>PXI-5670, Modular Instruments>>RF Measurement Devices>>PXI-5671
Problem: The standard way of associating an arbitrary waveform generator (AWG) to an upconverter (NI 5610) is through the NI Measurement and Automation Explorer. For example, to connect an AWG with Resource Name PXI1Slot4 to an upconverter with Resource Name PXI1Slot2, right-click on the PXI1Slot2, then select properties from the list and choose PXISlot4 for the AWG resource name. How can I do this programmatically? Solution: niRFSG Initialize with Options.vi can be used to programatically link the AWG to the upconverter module in LabVIEW. This VI has the capability of receiving the AWG resource name through option string. The format of this string is PropertyName=Value where PropertyName is the name of the property and Value is the value to which the property is set. To set multiple properties, separate their assignments with a comma. Option String for: DriverSetup=AWG:PXI1Slot4 Related Links: Attachments:
Report Date: 08/01/2006 Last Updated: 02/03/2008 Document ID: 400CUGMO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
