Hi Penny,
You appear to be trying to measure the current on a node, which makes no sense (currents flow through branches or through device terminals). It should be:
Code:export i1=oceanEval("i(\"VSp:p\")")
This is the "p" terminal of the voltage source connected to the source. You could also use :1 instead of :p.
In case you add more analyses, for safety the expression should also say which analysis it's from too:
Code:export i1=oceanEval("i(\"VSp:p\" ?result 'dc)")
Regards,
Andrew.