mad props to you Brian, you really did give me something to work with.
The idea of using the inport vi's was really great as I mentioned and
I am glad to say that I got my code to work and read from my circuit.
The line that reads
'if (port[MSR] AND $10)=$10 then inc(value)'
was what puzzled me
You can use the "And" function with integer inputs. One of the inputs
comes from InPort, and the other is a constant hex 0x10. The result
of the "And" will also be a numeric. You can test this result with
the "=0?" function. If the result is zero, you do nothing. If the
result is non-zero, you
Rather than use VISA, you might consider using the Port I/O functions.
This would make for a more straightforward translation of your
program.
Brian