LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

erpInfo instruction

HI everyone,

 

I am starting using CVI in my work. I have one source code whre it mentions the instruction "erpInfo". Could anyone explain me what exactly is? Thank you.

Serg

0 Kudos
Message 1 of 5
(4,007 Views)

I don't recognize this term as part of CVI: does the project  make use of third-party libraries for some special task?  Is this a function name,  a variable,  a macro or what?

If you can run the project then you can click on that name and press Ctrl+I to go to its definition (or right click on it and select `go to definition`) 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(3,999 Views)

Hi Roberto,

 

Thanks for your attention.

 

Let me attach the complete line of programming. The project has at least two .c files and also it manages three instruments. 

it seems that the code is reading a flash memory here is the line:

 

// get current firmware from NAV
status = iGetErpFirmwareInfo(msSqlHandle, uutInfo.partNumber, &erpInfo);

 

I have to go to the production floor until the line can be available due to now is busy producing. 

 

Thanks Robert

0 Kudos
Message 3 of 5
(3,995 Views)

Hello, as I told you this function is not part of CVI: it may pertain to one of the additonal libraries your project is using.

I can try guessing that the function retrieves informations about the unit under test stored in a database; erpInfo could be a structure that holds several informations about it. These details should be clarified in the documentation supplied by the library producer, if the variable is a structure it is probably defined in some file included somewhere in your project.

You do not need to access the production machine to try understanding the code: if you can compile and link the program on your machine, you should be able to understand where functions and variables are define the way I showed you before.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 5
(3,973 Views)

Hi Roberto,

 

I appreciate your time and experience in this matter. I will follow what you are mentioning here and also I will need to spend more time analizying the code.

Thank you

 

Sergio MR

0 Kudos
Message 5 of 5
(3,971 Views)