So, I used the thread of a similar name to get this working using the list command. Here is my working code:
proc E364xA::Connect [list [list VisaAlias ${E364xA::DefaultAlias}]] {
::VISA::Connect $VisaAlias
}
Now this is working currently by using the value stored in DefaultAlias within the namespace eval. I was wondering if there is a more intuitive way of doing this like:
proc E364xA::Connect {{VisaAlias ${E364xA::DefaultAlias}}} {
::VISA::Connect $VisaAlias
}
This way you wouldn't have two list commands muddling the waters. Any Ideas?
Thanks for the help in advance!