06-30-2014 06:24 PM
I'm using VISA to read and write data on a 3rd party card. I keep getting error -1 when I use VISA In 32. What exactly does this mean? I am using PXI Memory Allocations for my address space.
I'm running LV RT 10.0 with VISA 5.0 on a PXI 8106.
07-01-2014 06:40 AM
Can you share your code?
I've never seen an error code -1. Error code 1 is usually an invalid reference.
07-01-2014 09:31 AM
-1 would be an instrument specific error. What is the instrument? (and Why are you using low level functions?)
07-01-2014 12:28 PM
@faustina wrote:
I'm using VISA to read and write data on a 3rd party card. I keep getting error -1 when I use VISA In 32. What exactly does this mean? I am using PXI Memory Allocations for my address space.
I'm running LV RT 10.0 with VISA 5.0 on a PXI 8106.
Do you get any other message along with this error?
07-02-2014 10:31 AM
In my application I do several reads and writes with VISA functions. It turns out that if you don't have the correct logic to calculate offset for one VISA call, it throws all the others out of wack. Figuring out which call caused the initial problem was not easy. But I found the error in the last call. Now no more -1 error. thank you all for your inputs