09-13-2011 07:15 PM
Hi,
I am using VISA Write/Read to control a glucose monitor and read memory files. When I run the memory file for the first time, I recieve the error -1073807346, and the explanation is "VISA: (Hex 0xBFFF000E) The given session or object reference is invalid."
However, when I run it again immediately afterwards (without doing anything except click run), it works perfectly every time until I close out the session and restart (then I receive the same error, but it works every time after that).
I have checked my settings, and they are correct, and I have also tried to run the command with Hyperterminal, and it works. I am not sure why it doesn't work the first time around.
Any help you could give would be great. I've attached the file ("Read Mem").
Thanks.
Solved! Go to Solution.
09-14-2011 02:48 AM
Hi
Do you select the correct monitor resource (I guess you do) before starting the program?
Why do you have a sequence frame around your code? The sequencing is already done by the data wires.The last wait is nonsens.
And most important: why do you have a feedback node in your visa session just before the write.
Remove that and press on cleanup diagram.
09-14-2011 12:56 PM
Thanks -- the removal of the feedback node seems to have fixed the problem I had. Thanks for your help!