TTI TG2512A Fgen - Failed To Connect

1 次查看(过去 30 天)
SummersEnd
SummersEnd 2020-3-31
评论: 栢麟 田 2021-6-17
I am struggling to connect to a TG2512A using the IVI drivers. I am attempting to follow the IVI Starter Guide.
I have installed:
  • NI VISA drivers
  • NI IVI Compliance Package Download - National Instruments
  • TG5011A IVI Driver (As per TTI website)
[Edit 1: I have not been able to locate any documentation on specific cross-requirements of various drivers, but noted that the NI packages seemed to be 'popular' so went ahead and used these. This may be where I am going wrong, but I am unsure how to verify what the actual requirements are, since I can not find a TTI VISA or IVI compliance package.]
I get the following returns when I query instrhwinfo:
>> instrhwinfo
ans =
HardwareInfo with properties:
MATLABVersion: '9.7 (R2019b)'
SupportedInterfaces: {'gpib' 'serial' 'serialport' 'tcpip' 'udp' 'visa' 'Bluetooth' 'i2c' 'spi' 'modbus'}
SupportedDrivers: {'matlab' 'ivi' 'vxipnp'}
ToolboxName: 'Instrument Control Toolbox'
ToolboxVersion: '4.1 (R2019b)'
>> instrhwinfo visa
ans =
HardwareInfo with properties:
InstalledAdaptors: {'ni' 'tek'}
JarFileVersion: 'Version 4.1'
>> instrhwinfo ivi
ans =
HardwareInfo with properties:
LogicalNames: {}
Modules: {1×14 cell}
ConfigurationServerVersion: '1.7.0.12116'
MasterConfigurationStore: 'C:\ProgramData\IVI Foundation\IVI\IviConfigurationStore.xml'
IVIRootPath: 'C:\Program Files\IVI Foundation\IVI\'
As shown matlab does not list any LogicalNames for IVI drivers. I have however checked 'C:\Program Files (x86)\IVI Foundation\IVI\Drivers\' and a TG5011A folder does exist. It does not however contain a .mdd file.
As expected due to the above issue I am unable to connect to the device.
>> myfgen = fgen
>> myfgen.getResources()
Warning: 'getResources' will be removed in a future release. Use 'resources' instead.
ans =
' ASRL1::INSTR
ASRL24::INSTR
ASRL28::INSTR
ASRL2::INSTR
ASRL3::INSTR
ASRL::COM1
ASRL::COM2
ASRL::COM24
ASRL::COM28
ASRL::COM3
'
>> myfgen.Resource = 'ASRL28::INSTR'
myfgen =
>> connect(myfgen)
Failed to connect to instrument, please provide driver name and try again.
Is my determination that the lack of Logical IVI names is the fault correct and how might I remedy it?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Instrument Connection and Communication 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by