Download Digitizers User Manual

Transcript
LabWindowsCVI/Visual C++ Representation
ViStatus status = AcqrsD1_getInstrumentInfo(ViSession instrumentID,
ViString parameterString, ViAddr infoValue);
LabVIEW Representation
AqDx Query Instrument Information.vi
NOTE: The type of the returned value depends on the parameter requested. In LabVIEW, the correct
returned type should be supplied as input to the VI, and the appropriate output wire connected. Any other
wire will always return zero.
Visual Basic Representation
NOTE: In Visual Basic, a returned type of ViInt32 should be declared as Long, while a returned type
of ViReal64 should be declared as Double.
GetInstrumentInfo (ByVal instrumentID As Long, _
ByVal parameterString As String, _
infoValue As Any) As Long
Visual Basic .NET Representation
AcqrsD1_getInstrumentInfo (ByVal instrumentID As Int32, _
ByVal parameterString As String, _
ByRef infoValue As Int32) As Int32
or
AcqrsD1_getInstrumentInfo (ByVal instrumentID As Int32, _
ByVal parameterString As String, _
ByRef infoValue As Double) As Int32
or
AcqrsD1_getInstrumentInfo (ByVal instrumentID As Int32, _
ByVal parameterString As String, _
ByVal infoValue As String) As Int32
MATLAB MEX Representation
[status infoValue] = Aq_getInstrumentInfo(instrumentID,
parameterString, dataTypeString)
Programmer’s Reference Manual
Page 91 of 159