LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB block diagram

Find List is an indicator and you don't have to do anything to 'display' it. It will be on the front panel.

Message 21 of 43
(1,380 Views)

Hi Dennis Knutson,

 

I mean how to create to the icon in the block diagram under find list

 

Please Advice

 

Thanks

0 Kudos
Message 22 of 43
(1,362 Views)

Hi,

 

For the ring constant, Do I need to put exactly what it is display in the picture?

 

Please Advice

 

Thanks

0 Kudos
Message 23 of 43
(1,359 Views)

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)

Message 24 of 43
(1,345 Views)

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

0 Kudos
Message 25 of 43
(1,327 Views)

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.

Message 26 of 43
(1,300 Views)

Hi Dennis Knutson,

 

I have made the changes...Do you mind helping me to check again?

 

Please advice

 

Thanks

0 Kudos
Message 27 of 43
(1,284 Views)

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.

Message 28 of 43
(1,276 Views)

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

0 Kudos
Message 29 of 43
(1,254 Views)

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.

Message 30 of 43
(1,243 Views)