11-08-2019 08:54 PM
I am using Labview to create .arb file and want to send it to AWG (Keysight 33600 A) only based on Labview program (USB as connection). What could be the best way to achieve it?
Solved! Go to Solution.
11-10-2019 08:56 AM
The programming manual available here shows that you can set up an arbitrary waveform using SCPI commands (see around page 424).
As a result, it would seem the best way to do this with LabVIEW is to establish the necessary SCPI commands, and then send them to the device using probably the VISA Write node (and the accompanying VISA Open, Close, Read as necessary).
11-10-2019 10:04 AM
@Sharonpeng11 wrote:
I am using Labview to create .arb file and want to send it to AWG (Keysight 33600 A) only based on Labview program (USB as connection). What could be the best way to achieve it?
Below is a snippet of how I save an ARB. I couldn't figure out how to save an ARB directly to internal memory. The workaround was to create it in volatile memory first, and then transfer that waveform to the non-volatile location.
The drivers I use are for an older Agilent ARB (335xxx series). You probably want to get the drivers for your newer model (here), but the steps should be similar. The full path will probably be different, and so will the VISA resource for the USB connection.
NOTE: I somewhat remember that this snippet will cause an error if the "AWG Name" or the "Filename" already exists on the device. Make sure you choose unique names.
11-10-2019 10:29 AM
I forgot to include a step between the "Create AWG" and "Store AWG" VIs. Insert the "Configure AWG" with the appropriate parameters. That way when you later recall the stored Waveform, it will already be set up with those settings instead of the defaults.
11-18-2019 05:48 PM
By the way, when I configure the output voltage limit, looks like even the amplitude is higher than the setting, it gives an error but still output the waveform with high amplitude. Is there a way to check if the amplitude is higher than the setting, then stop output waveform?