Hi!,
I have this Agilent 34970A Data Adquisitor and VEE Pro 9.3; whit this command
-"SOUR:VOLT 0,(@304)"-
I can control voltage analog outputs values on the multifunction module 34907A but can't set up the voltage whit global variables and this command:
-"SOUR:VOLT ,(@304)"+a-
I think I may have ommited or inserted an syntax error. How can I use this global variable correctly?
Help Me Please!!
Yeudiel
"SOUR:VOLT ",a," ,(@304)"
Possible gotcha is formatting of the variable's value. Make sure it is compatible with what the instrument wants.
Also note that "SOUR:VOLT "+a+" ,(@304)" will likely also work but is much more fragile since the concatenation applies BEFORE numeric formatting in your transaction.