LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating VISAResource name in LABView using call library function

Hi I was trying to modify an existing instrument driver template in LABView. The driver used Call Library node to create a VISA Resource name. But I am not able to understand how it operates. Can anyone explain? 

 
 
 
0 Kudos
Message 1 of 6
(2,832 Views)

Hi Premabel,

 


Prem@bel wrote:

Hi I was trying to modify an existing instrument driver template in LABView. The driver used Call Library node to create a VISA Resource name. But I am not able to understand how it operates.

Which "existing instrument driver" are you talking about?

Why does it use a CLFN to create that resource name?

Which DLL function is called?

I guess you need to deliver more information…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,815 Views)

Dear Sir,

The existing Instrument driver which I am talking about is a driver template provided by emcware software(by AR). These templates can be customized by adding instrument specific SCPI Commands.

Why it is using CLFN is the point which I am not able to understand?

The library which is being called is visa32 Library

 

Thank you

0 Kudos
Message 3 of 6
(2,795 Views)

We still know nothing to really help you. The described functionality by you while possible is highly unusual for an instrument driver and in fact almost certainly overcomplicating things. It would seem that someone tried to be to smart for their own good and the good of users like you.

but lets take one step back! What is the problem with this beside that you can’t understand it? Does it fail? What error message do you get? What doesn’t work?

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 6
(2,788 Views)

Dear Sir,

The pecularity with this driver file is that, the VISA resource ID is passed from the Application Software. But I wanted to check each SCPI command for the instrument. For this purpose I need to establish communication with the Instrument and run each of the configuration VIs. But I am confused where I can give my VISA resource ID for this purpose. Please refer to the attached image which shows the 'Configure Frequency' for the Spectrum analyzer driver. 

Thank you for your response sir.

LABVIEW DRIVER FREQUENCY CONFIGURATION.png

0 Kudos
Message 5 of 6
(2,760 Views)

Sorry! This picture tells us exactly: Nothing!

We do not know your device nor do we have it on our benchtop. We have not seen the VI driver nor do we know why and how it would use the Call Library Node. What you do here is akin to show a car mechanicien a picture of your car and ask him why it doesn’t drive! Do not know mate, are you sure there is gas in the tank?

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 6 of 6
(2,749 Views)