Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get an I/O error when using LabView 5.1.1 ViMove Out 8.vi in A24 memory space after upgrading to NI-VXI 3.2?

Following an upgrade from NI_VXI 2.2 to 3.2, a VI which contained VISA Move Out 8.vi to load waveform data to a VXI WaveTek 1396 Arbitrary Waveform Generator using A24 memory space. The error coming back is -1073807298   VI_ERROR_IO and I have A24 Memory Space defined in MAX.
0 Kudos
Message 1 of 4
(3,472 Views)
Can you communicate to the WaveTek using other commands and to other address space? Does VISA Move Out 8.vi only cause errors in your LabVIEW program?
0 Kudos
Message 2 of 4
(3,472 Views)
Communication to the WaveTek is possible using word serial write and VISA Write in A16 space. A32 space is not available for this instrument, WaveTek WT1396 Arbitray Waveform Generator.
I have executed viMoveOut 8 from VISAIC and can write arrays of 1 - 5 elements but larger arrays cause I/O errors. So the problem appears to be consistent within VISAIC.
0 Kudos
Message 3 of 4
(3,472 Views)
HTE Guy:

You might try disabling DMA. You can do this either in MAX or programmatically using viSetAttribute to set VI_ATTR_DMA_ALLOW_EN to VI_FALSE.

We have an idea of what the problem might be (due to the limited number of places this error occurs in the code) but we can't reproduce it internally. What OS and what VXI controller are you using? If disabling DMA doesn't help, you might want to contact NI tech support directly.

Good luck,
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
0 Kudos
Message 4 of 4
(3,472 Views)