Update: I found the issue.
Turns out the manual is slightly wrong. The reserved word is case sensitive, but whereas the manual explicitly tells you to use VG10_get_vacuum(channel), the correct way to type it is vg10_get_vacuum(channel), all lower case.
Here is a screenshot of the manual page in question, where is says to use upper case, which is wrong:
Thanks.