Wiki

This version is outdated by a newer approved version.DiffThis version (09 Aug 2018 22:05) is a draft.
Approvals: 0/1
The Previously approved version (24 Jul 2018 21:17) is available.Diff

This is an old revision of the document!


ACE Remote Control

This is a landing page for up-to-date information and examples pertaining to the ACE remote control feature. This feature allows a user to control ACE and evaluation hardware from other languages/applications.

For documentation on the remote control interface and methods, please look under the Help menu in ACE.

Examples

Large Capture With AD9208

Setup: AD9208 board connected to ADS7V2 or ADS8V1 motherboard. ADC clock = 3GHz, REFCLK = 375 MHz

import clr
import sys
import os
import time

sys.path.append(r'C:\Program Files (x86)\Analog Devices\ACE\Client')
clr.AddReference('AnalogDevices.Csa.Remoting.Clients')
import AnalogDevices.Csa.Remoting.Clients as adrc
clientManager = adrc.ClientManager.Create()
client = clientManager.CreateRequestClient('localhost:2358')
client.AddHardwarePlugin('AD9208-3000EBZ')

client.set_ContextPath(r'\System\Subsystem_1\AD9208-3000EBZ\AD9208')
client.NavigateToPath('Root::System.Subsystem_1.AD9208-3000EBZ.AD9208')
client.SetWizardParameter('initwizard','jtx_m_cfg','0')
time.sleep(2)

#Navigate to initialization wizard and set to one converter
client.ApplyWizardSettings('initwizard','Apply')

#Navigate to capture wizard and set the number of samples to 500MSamples (1GB)
client.NavigateToPath('Root::System.Subsystem_1.AD9208-3000EBZ.AD9208.AD9208 Analysis')
client.SetWizardParameter('captureWizard','validatedSampleCount',str(2**29))

#Divert the output of the ADS7V2/ADS8V1 to a file
client.AsyncRawCaptureToFile(os.path.expanduser('~\Desktop\largeCapture.bin'),'test','false','true')
resources/tools-software/ace/remotecontrol.1533845122.txt.gz · Last modified: 09 Aug 2018 22:05 by Matt McCarn