LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Change .c files and update the instrument driver (.fp) library

Hello -

 

I have a third party CVI driver for Agilent 34970A Data Acquisition instrument.  However I want to modify measurement functions in the .c file (i.e. make the measurement integration 20x longer).  When I do this the instrument driver does not change because the performance is the same.  I check these against Agilent BenchLink Data Logger, which allows same type of configuration through their program.

 

How can I update a library, which is loaded through the .fp file, after I make a minor change to the .c file?

 

 

Thanks,

Matt

0 Kudos
Message 1 of 2
(3,140 Views)

Hi Matt,

 

In order to make a modification to the instrument driver, you need to create a project for the driver, and then rebuild it. This is the quickest way of doing that:

 

1. Open the .fp in the function tree editor

2. Click on Options>>Create DLL Project

3. Load the new project

4. Make sure the .c file has the change that you need

5. Build the project

6. Switch back to your previous project

 

CVI should automatically deploy the project's DLL to the appropriate location for the type of driver that this is.

 

Luis

 

 

0 Kudos
Message 2 of 2
(3,128 Views)