LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VM700 initialization with RS-232

I got file can initialization VM700, but that driver was written only for GPIB.
Some one can help to initialization VM700 with RS-232??
 
 
0 Kudos
Message 1 of 11
(4,268 Views)
You're talking about the Tek VM700? If so, that driver is written with VISA and adding serial support is pretty simple. Look at the HP34401 driver that ships with LabVIEW (or download the latest version) and open the initialize function. You should see how it uses a VISA property node to determine the interface type and if it's serial, the port is configured and a termination character is set. You will need to get the expected com settings from your instrument manual.
 
I downloaded the VM700 driver and also noticed that is uses the 'Old' VISA Open function. You will want to replace this with the VISA Open on the palette. Rewire it like the VISA Open in the HP34401.
0 Kudos
Message 2 of 11
(4,256 Views)
Hi Dennis,
I'm Labview beginner, i can't coding so complycicy driver.
But i'll try to find it out.
 
Thank you for your help. 
0 Kudos
Message 3 of 11
(4,248 Views)
Give it a shot and if you have problems, post the modified VI for someone to look at.
0 Kudos
Message 4 of 11
(4,236 Views)

I tried the whole day, but it doesn't work.

I can't find what's going on.

VMT is working fine.

Maybe someone know what's going on.

0 Kudos
Message 5 of 11
(4,214 Views)
Could you attach your VI or an image of your code? What have you tried to do? What error are you getting?

Are you sure that your VM700 interface is working fine? I've worked with VM700 a couple of years ago and had a lot of problems because the GPIB interface was damaged.
Rasputin
LV7.1 <> W2K
0 Kudos
Message 6 of 11
(4,207 Views)
Here is a basic conversion. All I did was paste the serial init stuff from the HP34401 into the tek initialize VI. It will be up to you to see if the serial settings are correct for your instrument. If you run it and have problems, you will need to report any error code that is generated.
0 Kudos
Message 7 of 11
(4,202 Views)

My Tek VM700T working in Vmtwin is ok.

I capture screen.

Error information:

Error -1073807322 occurred at VISA Enable Event in TKVM700A Initialize-internet.vi

Possible reason(s):

VISA:  (Hex 0xBFFF0026) Specified event type is not supported by the resource.

 

Please help to check it.

Thanks.

 

 

0 Kudos
Message 8 of 11
(4,193 Views)
Sorry about that, the SRQ event is for GPIB and should be in the false case. I haven't looked at the rest of driver but some of the measurement functions may require SRQ to know that a measurement is valid. There may be other modifications required. The setup functions should be okay.
0 Kudos
Message 9 of 11
(4,185 Views)
I can't understand why Tek no provide driver for labview in RS-232?
Tek's Vmtwin can control VM700 for RS-232 like use GPIB, why no driver for labview in RS-232?
So, no other way to link VM700 with RS-232 in labview?
 
anyway,
Thanks you very much.Smiley Happy
0 Kudos
Message 10 of 11
(4,179 Views)