LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

instrument alias

Solved!
Go to solution

Hi,

      Can anyone tell me how to give instrument alias name.I've NRT power meter with GPIB address GPIB::12::INSTR.I want to give it some other name so that the user can identify it quite easily instead of GPIB address.

 

Thanks
kiranmayi
0 Kudos
Message 1 of 43
(6,013 Views)
0 Kudos
Message 2 of 43
(6,008 Views)

This is not the solution to my problem MUKS

 

 

       can anyone come up with the right solution....Smiley Surprised

Thanks
kiranmayi
0 Kudos
Message 3 of 43
(5,974 Views)
While the link talks about the instrument simulator, how to assign an alias is correct so you will have to explain why you think it's not a solution.
Message 4 of 43
(5,960 Views)
Yes please give us some more details.
0 Kudos
Message 5 of 43
(5,936 Views)

Hi Dennis,

               I've used VISA find resource function to identify whether the instruments are connected properly  or not.But this gives me instrument address on the front panel.I dont want that.I want to have instrument name followed by a check box to see whether the instrument is connected or not.If you could give me an example vi that would be of great help.

Thanks
kiranmayi
0 Kudos
Message 6 of 43
(5,923 Views)

That's an entirely different question.

 

Use the array returned by the VISA Find Resources and wire it into a for loop. Do a query inside the loop. If they all support the *IDN? query, then that is all you need.

 

What type of connections do you have to the instruments?

Message 7 of 43
(5,916 Views)

Dennis,

              I'm using GPIB interface.

 

Thanks
kiranmayi
0 Kudos
Message 8 of 43
(5,896 Views)
Then you can limit the Find VISA Resources to just GPIB and not worry about the Com and LPT resources when you do the query inside the loop.
0 Kudos
Message 9 of 43
(5,885 Views)

Hi Dennis,

               I'm trying to get the instruments connected on GPIB.But I'm getting the addresses.I want instrument names and each instrument should followed by a check box to see if the instrument is connected or not.I've attached my vi here.plz see if any modifications needs to be done.

 

Thanks
kiranmayi
0 Kudos
Message 10 of 43
(5,851 Views)