Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

7265 DSP lock in RS232 simple question

Hi all;

I am trying to access a 7265 DSP lock in amplifyer, I am using windows XP and Labview 7.1.
I have downloaded the software (suggested by NI) from a third party that includes all the drivers that you need.
http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E91AF659CE034080020E748...
The software works fine.

If you look at the software it is really complicated to understand (I have been doing LabView for a few years although I am not an expert). All I really want is to send a simple command to the lock in through the RS232 I want to read and write to it. I do not want to do simulatanous DAQ and speed is not a reall issue, just the very basics. If you look at the application all read and write is done by a Vi called SR72XX Visa read/write.vi (attached). That vi looks really big and complicated isnt there an easier way to access the instrument through the RS232 port and write and read from it? Do I really have to use that vi?

Thanks in advance,

have a nice weekend

Lior



Message Edited by mushi on 03-14-2008 12:29 PM

Message Edited by mushi on 03-14-2008 12:30 PM
0 Kudos
Message 1 of 5
(4,985 Views)
There;s something corrupt with the VI you posted. Could you attach it again?
0 Kudos
Message 2 of 5
(4,973 Views)
Hi Mushi

You are right this vi is way too complicated.
The software developer mixes a lot of communication and instrument specific behaviour in this r/w visa.

The best you can do is follow what exactly is communicated for your needs and throw the rest out.
Probably it is even easier to build a small subset anew instead of editing this monster.
greetings from the Netherlands
0 Kudos
Message 3 of 5
(4,966 Views)
This is the zip file, sorry about the previous vi

The best you can do is follow what exactly is communicated for your needs and throw the rest out.
Probably it is even easier to build a small subset anew instead of editing this monster.

I tried using a simple VISA read and VISA write and it dosn't work, I think its a bit more complicated than other instruments I have encountered in the past.
thanks for all the help

Lior




Message Edited by mushi on 03-16-2008 11:20 AM
0 Kudos
Message 4 of 5
(4,956 Views)


Hi Mushi,

Are you still experiencing problems with this serial communication? The particular VI you sent is very sompicated for a simple read function, however, it's complexity may be due to the instrument itslef. What is the full program you are using to perform your write and read? Could you maybe post that so we can see exactly what you want to write/read and therefore get rid of some of the unneccessary functionality in the read function.

Best wishes
Rob L

NI Applications Engineer

UK & Ireland


It only takes a click to rate this message 😉
0 Kudos
Message 5 of 5
(4,874 Views)