12-12-2014 12:12 PM
I need to "convert" a VISA Resource Name alias an integer that will passed to a Call Function Node input parameter.
For example, COM1 will result in 1.
So far I have wired the VISA Resource Name to Format Into String then wire that string into Scan From String.
Is there an easier way.
12-14-2014 03:59 AM - edited 12-14-2014 04:00 AM
12-14-2014 10:32 AM
@PiDi wrote:
You can use VISA property node to get this information (and other informations, like "is it serial port?").
Thank you for this. I learned something new.
08-18-2022 08:22 AM
Hi, is there a way to do this in the other direction? I will use Labview for a plugin in a other program. For this I need for input only a integer variable, e.g. the number of the COM Port. Is it possible to convert this then in a Visa Ressource name?
BR Martin
08-18-2022 08:26 AM - edited 08-18-2022 08:26 AM
Hi Friese,
@Friesenmartin wrote:
For this I need for input only a integer variable, e.g. the number of the COM Port. Is it possible to convert this then in a Visa Ressource name?
Simple like this:
(You can wire strings into VISA resource inputs…)
08-18-2022 08:33 AM
Hi Gerd, thank you for the very (very) fast response:-)
I found in the last minute my own solution.
So both works. Thank you again.
BR Martin
08-18-2022 08:50 AM - edited 08-18-2022 08:52 AM
I do something similar to GerdW.
NOTE: That Set Termination Settings is my own VI, so don't go looking for it in the palettes.