Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VXI 1394 viMove error

"1394 Slot 0 viMoveOut16 error"

"I just updated NI-VISA from 2.5.2 to 3.2. When I now run my application I get a bus error during a viMoveOut16 function call. Using VIC I was able to determine that viMoveOut16 will return a bus error code when the transfer count is > 2000. Is there a setting to increase the transfer count?"
0 Kudos
Message 1 of 3
(4,043 Views)

Hello,

If you could provide the error number and message it will help troubleshoot. What seems to be happening is that the number in length + the offset is greater than the space in memory then it gives an error. To correct this, change the length size to be smaller or allocate more memory. There is a function called ViMapAddress that is used to set the amount of memory.
If this doesn't fix the problem, please provide with the error message.
As a reference here is the link to the VISA Programmer User Manual
NI-VISA Programmer Reference Manual

Hope this helps

Ricardo S.
National Instruments.

0 Kudos
Message 2 of 3
(4,043 Views)
The error I was getting was:

BFFF0038 Bus error occurred during transfer.
(VI_ERROR_BERR)
It is not an offset error, there is 128K of memory.

viMoveOut16 was able to execute within the entire 128K as long as the transfer count was less than 2000.

I updated NI-VXI from 3.2 to 3.3.1 and the problem has disappeared.
0 Kudos
Message 3 of 3
(4,043 Views)