Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Same GPIB address appearing multiple times in dropdown

Solved!
Go to solution

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. 

 

Outlook.jpg

0 Kudos
Message 1 of 3
(3,655 Views)
Solution
Accepted by topic author vernonferrao

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'.

Message 2 of 3
(3,623 Views)

Thanks Dennis,

 The problem was occurring because I had an SMU initialise VI in one of my loops.

Message 3 of 3
(3,568 Views)