VisaStatusCode Enumeration

NI-VisaNS .NET Class Library Help for Visual Studio 2010

Edition Date: August 2012

Part Number: 370627F-01

»View Product Info
Download Help (Windows Only)

See Also


Specifies the status codes that NI-VISA driver-level operations can return.

Namespace: NationalInstruments.VisaNS

Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 13.0.40.167

Syntax

Visual Basic (Declaration)
Public Enumeration VisaStatusCode

C#
public enum VisaStatusCode

Members

Member nameDescription
ErrorAbort The operation was aborted.
ErrorAllocation Insufficient system resources to perform necessary memory allocation.
ErrorAttributeReadOnly The specified attribute is read-only.
ErrorBusError Bus error occurred during transfer.
ErrorClosingFailed Unable to deallocate the previously allocated data structures corresponding to this session or object reference.
ErrorConnectionLost The connection for the specified session has been lost.
ErrorFileAccess An error occurred while trying to open the specified file. Possible causes include an invalid path or lack of access rights.
ErrorFileIO An error occurred while performing I/O on the specified file.
ErrorHandlerNotInstalled A handler is not currently installed for the specified event.
ErrorInProgress Unable to queue the asynchronous operation because there is already an operation in progress.
ErrorInputProtocolViolation Device reported an input protocol error during transfer.
ErrorInterfaceNumberNotConfigured The interface type is valid but the specified interface number is not configured.
ErrorInterruptPending An interrupt is still pending from a previous call.
ErrorInvalidAccessKey The access key to the resource associated with this session is invalid.
ErrorInvalidAccessMode Invalid access mode.
ErrorInvalidAddressSpace Invalid address space specified.
ErrorInvalidContext Specified event context is invalid.
ErrorInvalidDegree Specified degree is invalid.
ErrorInvalidEvent Specified event type is not supported by the resource.
ErrorInvalidExpression Invalid expression specified for search.
ErrorInvalidFormat A format specifier in the format string is invalid.
ErrorInvalidHandlerReference The specified handler reference is invalid.
ErrorInvalidJobID Specified job identifier is invalid.
ErrorInvalidLength Invalid length specified.
ErrorInvalidLine The value specified by the line parameter is invalid.
ErrorInvalidLockType The specified type of lock is not supported by this resource.
ErrorInvalidMask Invalid buffer mask specified.
ErrorInvalidMechanism Invalid mechanism specified.
ErrorInvalidMode The specified mode is invalid.
ErrorInvalidObject The specified session or object reference is invalid.
ErrorInvalidOffset Invalid offset specified.
ErrorInvalidParameter The value of an unknown parameter is invalid.
ErrorInvalidProtocol The protocol specified is invalid.
ErrorInvalidResourceName Invalid resource reference specified. Parsing error.
ErrorInvalidSetup Unable to start operation because setup is invalid due to inconsistent state of properties.
ErrorInvalidSize Invalid size of window specified.
ErrorInvalidWidth Invalid source or destination width specified.
ErrorIO Could not perform operation because of I/O error.
ErrorLibraryNotFound A code library required by VISA could not be located or loaded.
ErrorLineInUse The specified trigger line is currently in use.
ErrorMachineNotAvailable The remote machine does not exist or is not accepting any connections.
ErrorMemoryNotShared The device does not export any memory.
ErrorNoListeners No listeners condition is detected (both NRFD and NDAC are deasserted).
ErrorNonimplementedOperation The specified operation is unimplemented.
ErrorNonsupportedAttribute The specified attribute is not defined or supported by the referenced session, event, or find list.
ErrorNonsupportedAttributeState The specified state of the attribute is not valid or is not supported as defined by the session, event, or find list.
ErrorNonsupportedFormat A format specifier in the format string is not supported.
ErrorNonsupportedInterrupt The interface cannot generate an interrupt on the requested level or with the requested statusID value.
ErrorNonsupportedLine The specified trigger source line (trigSrc) or destination line (trigDest) is not supported by this VISA implementation, or the combination of lines is not a valid mapping.
ErrorNonsupportedMechanism The specified mechanism is not supported for the specified event type.
ErrorNonsupportedMode The specified mode is not supported by this VISA implementation.
ErrorNonsupportedOffset Specified offset is not accessible from this hardware.
ErrorNonsupportedOffsetAlignment The specified offset is not properly aligned for the access width of the operation.
ErrorNonsupportedOperation The session or object reference does not support this operation.
ErrorNonsupportedVaryingWidths Cannot support source and destination widths that are different.
ErrorNonsupportedWidth Specified width is not supported by this hardware.
ErrorNoPermission Access to the remote machine is denied.
ErrorNotCic The interface associated with this session is not currently the Controller-in-Charge.
ErrorNotEnabled The session must be enabled for events of the specified type in order to receive them.
ErrorNotSystemController The interface associated with this session is not the system controller.
ErrorOutputProtocolViolation Device reported an output protocol error during transfer.
ErrorQueueError Unable to queue asynchronous operation.
ErrorQueueOverflow The event queue for the specified type has overflowed, usually due to not closing previous events.
ErrorRawReadProtocolViolation Violation of raw read protocol occurred during transfer.
ErrorRawWriteProtocolViolation Violation of raw write protocol occurred during transfer.
ErrorResourceBusy The resource is valid, but VISA cannot currently access it.
ErrorResourceLocked Specified type of lock cannot be obtained or specified operation cannot be performed because the resource is locked.
ErrorResourceNotFound Insufficient location information, or the device or resource is not present in the system.
ErrorResponsePending A previous response is still pending, causing a multiple query error.
ErrorSerialFraming A framing error occurred during transfer.
ErrorSerialOverrun An overrun error occurred during transfer. A character was not read from the hardware before the next character arrived.
ErrorSerialParity A parity error occurred during transfer.
ErrorSessionNotLocked The current session did not have any lock on the resource.
ErrorSrqNotOccurred Service request has not been received for the session.
ErrorSystemError Unknown system error.
ErrorTimeout Timeout expired before operation completed.
ErrorTriggerNotMapped The path from the trigger source line (trigSrc) to the destination line (trigDest) is not currently mapped.
ErrorUserBuffer A specified user buffer is not valid or cannot be accessed for the required size.
ErrorWindowAlreadyMapped The specified session currently contains a mapped window.
ErrorWindowNotMapped The specified session is currently unmapped.
Success Operation completed successfully.
SuccessDeviceNotPresent Session opened successfully, but the device at the specified address is not responding.
SuccessEventAlreadyDisabled Specified event is already disabled for at least one of the specified mechanisms.
SuccessEventAlreadyEnabled Specified event is already enabled for at least one of the specified mechanisms.
SuccessMaxCountRead The number of bytes read is equal to the input count.
SuccessNestedExclusive Operation completed successfully, and this session has nested exclusive locks.
SuccessNestedShared Operation completed successfully, and this session has nested shared locks.
SuccessNoMoreHandlerCallsInChain Event handled successfully. Do not invoke any other handlers on this session for this event.
SuccessQueueAlreadyEmpty Operation completed successfully, but the queue was already empty.
SuccessQueueNotEmpty Wait terminated successfully on receipt of an event notification. There is still at least one more event occurrence of the requested type(s) available for this session.
SuccessSyncronous Asynchronous operation request was performed synchronously.
SuccessTerminationCharacterRead The specified termination character was read.
SuccessTriggerAlreadyMapped The path from the trigger source line (trigSrc) to the destination line (trigDest) is already mapped.
WarningConfigurationNotLoaded The specified configuration either does not exist or could not be loaded. The VISA-specified defaults are used.
WarningExtFunctionNotImplemented The operation succeeded, but a lower level driver did not implement the extended functionality.
WarningNonsupportedAttributeState Although the specified state of the attribute is valid, it is not supported by this resource implementation.
WarningNonsupportedBuffer The specified buffer is not supported.
WarningNullObject The specified object reference is uninitialized.
WarningQueueOverflow VISA received more event information of the specified type than the configured queue size could hold.
WarningUnknownStatus The status code passed to the operation could not be interpreted.

See Also

Reference

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful