LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Change Driver Function Names

Greetings,

 

I have a IVI Custome Specific Driver where I intially chose a name for the Class and its Functions. The driver works and I am good. I want to change the names of the Class and its functions. I did a search and replace within the C and H file, but I can't seem to change the links between the *.fp file and the code. Is there an easy way to change the names?

 

Thanks

 

Minesh

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

Hi Minesh,

 

The way to change the *.fp files is to change them inside those files. You can expand the function panel tree and right click on the individual nodes. There is an option for edit the function panel node and edit node. Edit function panel node will allow you to change the look of the function panel and edit node will allow you to change the name. I have not been able to find a better process than this but I will let you know if I do.

Patrick H | National Instruments | Software Engineer
0 Kudos
Message 2 of 3
(2,836 Views)

If yo check the menu Tools»Enable Auto Replace then when you change the name of the function from Edit Node context menu it will be changed in the instrument driver .c, .h, and .sub files(you will be prompted if you want to modify these files)

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