LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Signal Recovery 7230 lock in

Hi

Does anyone have drivers for SR7230 lock in amplifier ? The "official" ones are scary .. worst than many Rube Goldberg posts on this forum... (stacked sequences with up to 24 cases !) .  More, these drivers use a lot of local variables so one needs to use only these or not at all (there is a danger of not updating the local variables...).  

Thanks

0 Kudos
Message 1 of 6
(4,025 Views)

Same here. I have rewritten very few sections (too little to share and still very messy). The troubles with the local variables (imagine you use two of these instruments) can be solved when you always set the 'Update' term to true, then the commands are always send independend of the comparison with the value stored in a local.

 

Felix

0 Kudos
Message 2 of 6
(4,018 Views)

hi

thanks for the answer... I have a hard time with this device... I can not read X and Y values in a dual harmonic mode (after ASM1 and ASM2). Do I need to get data through curve buffer ? (even though I need only one point ?! like Snap of the SRS ?)

thanks

 

0 Kudos
Message 3 of 6
(4,012 Views)

Wow, just realized that you have the very new 7230. Only had the chance to play around with one for 1 day. But the driver code seams the same as for the older version. The big penalty is you don't have a hard front panel on the instrument itself. I can look into the drivers tomorrow if I see something 'strange' with dual harmonic mode (never used myself).

Are you able to get a dual harmonic mode reading when using the supplied (by SR/AMETEK) soft front panel?

Can you get a X/Y reading in normal mode?

Also, try to contact your SR/AMETEK sales rep, mine seemed to be pretty well-trained.

 

Felix

0 Kudos
Message 4 of 6
(4,006 Views)

All,

 

Sorry to hear of the difficulties your have experienced. Contact me off-board at info@signalrecovery.com and I'll do my best to help with specific queries.

 

Points to note:-

1) If using the dual modes, remember that to read an output you must append a 1 or 2 to create the right command - so X -> X1 or X2, MAG -> MAG1 or MAG2.

 

2) For simple applications, use the Getting Started VI as the basis for your code - and just replace the single VISA Write/Read VI with a series of them to send the commands you want and read the outputs.

 

3) The local variables in each configure VI allow them to keep a state record in the software so that when called repeatedly in a loop (as with the example soft front panels) commands are only sent to the instrument when a control is changed. As noted by one contributor you can always force the settings to be sent by setting the Update Boolean to true.

 

4) The driver can be used to support multiple instruments - you just open a VISA session to each one and then wire the VISA session for the given lock-in through the VI's you want to communicate with that unit. The local variables in each instance of the configure VIs remain local to that instrument.  

 

Thank you for using our products.

0 Kudos
Message 5 of 6
(3,990 Views)

Hi

I am an amateur so I should probably not give advice to professionals but both 7230 and 7270 are great instruments with very bad drivers. I think that one all will gain from better software.You should probably use a Functional global (or action engine) rather that local variables. I wrote all I needed to in small conventional Visa read/write and now it seem to work.

regards,

 

PS : for V, yes the new 7230 instrument works fine with "software" panel and yes their support is good !

0 Kudos
Message 6 of 6
(3,985 Views)