10-04-2010 12:31 AM
Hi...My test setup consists of a R&S FSQ26 signal analyzer, SMATE 200 signal generator and Agilent 34401a and a Power meter.
The GPIB address of the SMATE signal generator is 28. When i run my LabVIEW code, i see multiple instances of this address in the dropdown on the front panel. Please see below image..
Can anyone tell me why this occurs. I had earlier created local variables of the GPIB address of the SMATE and put them inside the inner loops so that the block diagram looked neater. I thought that this was the problem so I removed the local variables and wired all of them to a single control external to the block diagram.... but it still occurs.
Solved! Go to Solution.
10-04-2010 06:37 PM
You've got duplicate VISA resource names. Are you calling VISA Open and do you have the 'duplicate session' input set to True? If you are just calling driver functions, do you have multiple calls to it's initialize function? The R&S driver is a wrapper around Call Library Function Nodes so you need to report this to R&S - not NI.
p.s. Good that you eliminated the locals. Never use a local just to eliminate wires and to make things 'neater'.
10-07-2010 01:16 PM
Thanks Dennis,
The problem was occurring because I had an SMU initialise VI in one of my loops.