LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a dll which has one VISA name as input

Hi there,
The Labview application builder can generate a dll file from a vi which is a simple serial comunication program using VISA name as one control.
The problem is how to call the dll file in Labview which has a VISA name as INPUT?
Thanks!

George
0 Kudos
Message 1 of 3
(2,609 Views)
I would suggest modifying the LabVIEW VI so that the input is a string control instead of a visa control. The LabVIEW application will work the same and there is no need for any casting. All visa VIs can take a string as an input. Then when you recreate the dll make the input a string. Then you can easily pass a string to the dll from any API.

-Josh
Message 2 of 3
(2,609 Views)
Hi Josh,
Thank you for your reply!
I didn't know the VISA name can be a string control before. Your suggestion is very good. Thanks!

George
0 Kudos
Message 3 of 3
(2,609 Views)