08-26-2015 10:41 AM
Hi,
I currently have an automation file in VB that communicates with various types of equipment using the visa interface commands, I am having trouble in writing to the 8902 as it is fairly old and when I communicate through NI max all is good as I can set different values. I ran NI spy and it gave me these:
ibconfig(UD0,ibcEOT(0x0004),1(0x1))
ibconfig(UD0,ibcEOSrd(0x000C),1(0x1))
ibconfig(UD0,ibcEOSwrt(0x000D),0(0x0))
ibconfig(UD0,ibcEOScmp(0x000E),0(0x0))
ibconfig(UD0,ibcEOSchar(0x000F),10(0xA))
I was wondering if anyone knew if I can use these commands with the visa commands or is there away around this.
Any help would be appreciated.
Thanks,
Stephen
08-26-2015 10:50 AM
A screenshot of NI spy if it help, lines 1 to 8 are using NI max and the rest is my vb code. I think the main problem is with the read and writes as I don't know how to setup the instrument through visa.
Thanks