07-21-2014 01:57 PM
When I plug in my Tektronix DMM4050 I see that is gets assigned a com port in Device Manager but no ASRL ID.
It doesn't show up under USB Test and Measurement devices either.
I use Tekvisa and also have NI tools installed. All my other equipment works fine, the main difference is that the working instruments use USB cables and the DMM4050 has a db9 to usb cable.
What it looks like is ASRL is somehow disabled.
Does anyone have any ideas?
07-21-2014 03:58 PM
Do you have both NI-VISA and Tek-VISA installed?
http://digital.ni.com/public.nsf/allkb/E3B8CA02F49572A386256C1100007424
07-21-2014 04:26 PM
Yes.
What's interesting is if I do a "visacmd.exe" it shows up as ASRL6::INSTR,
which makes sense since it's on com6.
But if I try a command like:
visacmd.exe /a=ASRL6::INSTR /c=*IDN?
it times out.
.
I've got the DMM set to RS232 mode, Baud = 9600, 8 Databits, No Parity, 2 stop bits, flow control= none.
So my com settings on my PC match what's in the DMM.
I've tried a few different commands but they all time out.
07-21-2014 04:33 PM
07-21-2014 05:02 PM
Agreed, I don't need the NI software at all and will remove it.
I'm using system calls to visacmd.exe from a Perl script.
The reason I'm using Perl is because there's a lot of parsing to do and I'm also able to chart my results into an excel spreadsheet using the Perl writeexcel module.
Can you please elaborate on termination character?
With my power supply this works fine:
visacmd.exe /a=USB0::0x05E6::0x2220::9010105::INSTR /c=*IDN?
07-21-2014 05:09 PM