Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

1865 megohmmeter

Solved!
Go to solution

Hi!

 

I'm trying to comunicate with a 1865 megohmmeter using a DB9 serialport and LabVIEW. I've tryed all kinds of variations of the comands I have found in the manual but nothing seams to work, I only get the message "Remote comand invalid". All the visa settings are defult on both the machine and in the vi. Can someone figur out what is wrong? I will add a link to the manual and my Vi

 

http://www.ietlabs.com/pdf/Manuals/1865_QT_Manual.pdf

  

0 Kudos
Message 1 of 5
(3,683 Views)
Solution
Accepted by ollef
The fact that you are able to read something - even an error message, is a good sign. that means that your com settings and cable are probably correct. Have you been able to communicate with Hyperterminal or another terminal emulator program? If you are, I would suggest that you try sending a termination character with the command. Right click on the string control and select '\' Codes Display. You can try a \r or \n (CR and LF) or both. A serial instrument typically requires one or mor termination characters. That is why they are there in the basic and advanced serial examples.
0 Kudos
Message 2 of 5
(3,679 Views)

Hi!

 

you were right about the \r  comand, when I ad that I can make the machine take a mesurment. But I can't read that value to my computer..I still gett the error message "remote comand prefix invalid"

0 Kudos
Message 3 of 5
(3,674 Views)

First, are you debugging the commands in Hyperterminal or MAX or are you making it hard and doing all of this debug in LabVIEW?

 

In any case, you should follow the example in the manual and configure the instrument before trying to take a measurement. If that sequence does not work, then I would recomend you contact the vendor and describe the exact series of commands yound send and the error message.

0 Kudos
Message 4 of 5
(3,670 Views)

HI!

 

I've now got another problem with the same machine..

 

I want to achieve fast and repeated measurements of resistance/current. I am using manual mode and when I am trying to send the START command we get an error message saying "Remote Command Prefix Invalid". I use a '\' Codes display in Labview, so the string that I write to the buffer is START \r. This doesn't work, I have tried without the \r also and many other things, but to no success. Can someone help me figure out what the problem is? How should you send the START and STOP command?

0 Kudos
Message 5 of 5
(3,654 Views)