LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Moving instrument to new GPIB card

I just added a second GPIB card (GPIB1) and moved a number of instruments to it from GPIB0. When I attempt to assign the old alias to the existing instrument on the new card, I get an alias conflict error. GPIB0 has been refreshed and the moved instruments no longer show up there.
 
For example, one of my instruments is a PMU at address 11. When I attempt to assign the alias 'PMU_11' on the new GPIB card, I get the error ' "PMU_11" conflicts with alias for "GPIB0::11::INSTR". Please choose a different alias. '. The instrument no longer exists on GPIB0 and is not listed for that device in MAX.
 
How can I assign the same alias' to the new GPIB card as were being used for the old card?
0 Kudos
Message 1 of 3
(2,626 Views)
Hi Bob
have you amended you code to reflect the change of intrument locations?
Use MAX to see if you can address/ identify the new locations.
Have NI spy running in background so you can see what actual commands are being sent processed.
 
Have you removed the GPIB card from address 0?
 
Hope suggests lead to a solution.
 
Chow
 
xseadog
0 Kudos
Message 2 of 3
(2,614 Views)
Before you moved the instruments to the new bus, you should have first deleted the aliases of the ones you were going to move. When you do a scan for instruments, they are found on a new bus and the old aliases are no longer listed but they still exist in the visaconf.ini file (\VXIpnp\WinNT\NIvisa folder). This is the file that stores all the aliases and the old aliases are not automatically deleted. This is the correct behavior. You wouldn't want to recreate an alias every time you pull an instrument out for calibration. To delete the old aliases, you can exit MAX and edit the file yourself or just delete the whole file. Restart MAX, redo the scan for instruments and you should be able to assign the old aliases to the new bus.
Message 3 of 3
(2,602 Views)