Download NI-VISA Programmer Reference Manual
Transcript
Chapter 5 Operations viMemAlloc Purpose Allocates memory from a device’s memory region. C Syntax ViStatus viMemAlloc(ViSession vi, ViBusSize size, ViPBusAddress offset) Visual Basic Syntax viMemAlloc&(ByVal vi&, ByVal size&, offset&) Resource Classes GPIB-VXI INSTR, PXI MEMACC, VXI INSTR Parameters Name Direction Description vi IN Unique logical identifier to a session. size IN Specifies the size of the allocation. offset OUT Returns the offset of the allocated device memory. Return Values Completion Codes VI_SUCCESS Description Operation completed successfully. Error Codes Description VI_ERROR_INV_OBJECT The given session reference is invalid. VI_ERROR_NSUP_OPER The given vi does not support this operation. VI_ERROR_RSRC_LOCKED Specified operation could not be performed because the resource identified by vi has been locked for this kind of access. VI_ERROR_INV_SIZE Invalid size specified. NI-VISA Programmer Reference Manual 5-64 ni.com
Related documents
Agilent VISA User`s Guide
Programming Guide, E4428C/38C ESG Signal Generators
NI-VISA User Manual - National Instruments
Current Source/ Measure Module 52956 User`s Manual
プログラマーズ・ガイド - Agilent Technologies
Wavestar 2.6 Manual
Agilent Technologies 82357B User`s guide
Quick Immunity Sequencer - Kikusui Electronics Corp.
WT3000 Precision Power Analyzer User`s Manual - Electro
Agilent Technologies E2094S User`s guide
NRP-NI-VISA Passport Software Manual
Bustec VISA Library and Tools User Manual