LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Measurement Data from Mikrocontroller via DLL Function

Hi All,

 

I am new in CVI and have not much experience in  programming.My situation is like this. Measurement data are saved in the memory of microcontroller.I want to read the data and display them in a cvi graph and update the data in the graph every second.There will be a DLL Function( example: readdata()) given to get the data from the microcontroller but I am not sure how to programmatically read them.Someone told me to get the data as a block of array. From this situation,what requirement do I have to consider? Anyone of you have any idea or best tips to this problem?Sorry if this question is not clear enough, because i myself is not good in this area

 

Thank you

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

CVI can interface with some third-party DLLs and use theis functions. As the first step I suggest you to read these documents:

FAQ: Using Dynamic Link Libraries with LabWindows/CVI

Linking to Functions Defined in a DLL From LabWindows/CVI

 

To be able to interface with the DLL you need the appropriate include file (it should be available together with the DLL) and the documentation on functions exported from the library. In case you do not have the include file this document can be useful:

How to Use an External DLL in LabWindows/CVI When Not Given a Header File



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 3
(2,931 Views)

As I read, you are able to receive data from a measurementinsrument to a microcontrolleR?

I am searching for help, how I can controll a measurement instrument through a microcontroller.

 

No I am using Visa library to communicate with ma scope via ethernet (sirecly). But I want to put a microcontroller between my scope and my PC. Is any help available how to do this?

 

greetings

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