Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading magnitude and phase from lock-in simultaneously

Hi guys,

I need to read data from a lock-in. My VI works fine, but I've just realized that I need to retrieve not only magnitude, but also phase of the signal. I have to idea how to make it and be sure that they are retrieved at perfectly the same time?

If you take a look at the picture attached, you can find command "mag" that is sent to the lock-in (and afterwards I save it in a text file). How should I send "pha" for reading phase?  I'm afraid that inserting it in series will result in reading the phase of a signal some miliseconds after reading the magnitude.

I hope I made it clear and you get what I mean 🙂

 

0 Kudos
Message 1 of 2
(2,813 Views)

RTFM?  Sorry, my crystall ball unforeseeable dropped from the table, so as far only the manual of your lock-in device can answer that question. 😉

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 2
(2,757 Views)