LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert IVI instrument address name to VISA

Hi all, i have developed code for 2 different series spectrum analyzers.  One of which uses IVI for its address and the other VISA.  I have the 2 different programs in a case structure where the user initially selects which instrument is being used.  This choice is the case selector.  The problem i have is with the addresses.  I cannot wire the IVI address ctl line from one case into the VISA address inputof the other case.  The address number is the same.  Id there a way to convert?

Thanks,

Grant

Message 1 of 5
(4,274 Views)

Hi all, i have used to variant and then variant to data.

Please ignore.

Message 2 of 5
(4,270 Views)

Hi all, even though an error was not seen on the block diagram when inserting the convert to variant and then variant to data option, i have now discovered that during execution an error is seen: "LabVIEW:  The data type of the variant is not compatible with the data type wired to the type input."

Any ideas of converting a IVI instrument address to VISA address?

Thanks,

Grant

0 Kudos
Message 3 of 5
(4,252 Views)

Hi all, any updates on this problem?

0 Kudos
Message 4 of 5
(3,981 Views)

Hi all, i have created a solution for this.  This may come in handy for someone so i have attached my subvi.

 

 

IVI-VISA

 

 

 

 

Regards

Message 5 of 5
(3,971 Views)