07-22-2011 10:51 AM
Find List is an indicator and you don't have to do anything to 'display' it. It will be on the front panel.
07-23-2011 08:22 AM
Hi Dennis Knutson,
I mean how to create to the icon in the block diagram under find list
Please Advice
Thanks
07-23-2011 08:42 AM
Hi,
For the ring constant, Do I need to put exactly what it is display in the picture?
Please Advice
Thanks
07-23-2011 10:30 AM - edited 07-23-2011 10:31 AM
I don't know what 'icon' you mean. There is only the VISA Find Resource and a For Loop.
Choose what you want for the enum - canonical names (i.e. ASRL1::INSTR) or aliases (i.e. COM1)
07-24-2011 12:19 AM
Hi Dennis Knutson,
Do you mind helping me to check whether did I do it correctly for the "VISA Find Resource" function part?
Please advice
Thanks
07-24-2011 01:33 PM
No, that makes no sense at all. That 'Com4' enum is totally wrong. You should simply right click on the 'search mode' input and select Create Constant. Nor can you wire the output to a string indicator. It's an array as the hekp explains. You did not do anything like my example where you would search the resources for the one that is connected to your instrument.
I can't believe the remainder of the program was written by you. You don't seem to understand LabVIEW basics. Please take the LabVIEW tutorial.
07-24-2011 08:46 PM
Hi Dennis Knutson,
I have made the changes...Do you mind helping me to check again?
Please advice
Thanks
07-24-2011 09:25 PM
That still makes no sense. You still have no idea what the Find VISA Resources does and how to use it. Did you look at the example code I provided and read the text inside the for loop? You have done nothing like I said to do and since you posted before you could have possibly taken the tutorial, it's pretty obvious you are not interested in learning.
Instead of trying to automatically find the com port that the instrument is connected to, just place a VISA Resource Name control on the front panel. Let the user select the port from the drop down list. If the user has to guess which port, so be it. I am not inclined to give any more help.
07-25-2011 08:36 PM
Hi Dennis Knutson,
I am sorry for being so rush in getting the right answer...The reason being that I have only one week left to complete my school project...I promise I will read through throughly and understand the function again after I have submitted the project by this Friday...Do you mind helping me to check whether did I do it correctly?
Please advice
Thanks
07-25-2011 09:54 PM - edited 07-25-2011 09:55 PM
NO!
If the whole point is to find the correct com port out of many, why on earth would you wire a visa resource to the read? You need to wire the results of the visa find resource to the read. See the Snippet below.
p.s. Look up Sippet in the Help.