VISADecoder
public protocol VISADecoder
A type that can decode a NI-VISA ASCII message into a decoding type.
-
The type that the decoder decodes values to.
Declaration
Swift
associatedtype DecodingType : VISADecodable -
Decodes the given NI-VISA ASCII message.
Throws
If the value could not be decoded.Declaration
Swift
func decode(_ string: String) throws -> DecodingTypeParameters
stringThe NI-VISA ASCII message to decode.
Return Value
The decoded value.
VISADecoder Protocol Reference