1'''
2AO - AO_write_all_channels.py.
3
4This example demonstrates the process of writing AO signal.
5It outlines the procedure for writing digital signals simultaneously to the AO pins.
6
7For other examples please check:
8 https://github.com/WPC-Systems-Ltd/WPC_Stand-alone_Python_release/tree/main/examples
9
10Copyright (c) 2024 WPC Systems Ltd.
11All rights reserved.
12'''
13
14## WPC
15import pywpc
16
17## Write AO data simultaneously
18voltage_list = [-10, -7.5, -5, -2.5, 3.5, 5.5, 7.5, 10]
19status = pywpc.AO_writeAllChannels(voltage_list)
20print("AO_writeAllChannels status: ", status)