LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data collecting in dll

Hello!

I need to make a dll (or maybe something other) that periodically recieves 64 byte data from a USB HID device, stores it in a buffer, which size is 200 or more bytes. When the buffer is full data is filtered, and then sent to a visual studio C# application. It seems i know already how to work with usb, arrays and filters in a standalone Labview application, but how to do it in a dll?. Is this possible?

Thanks all -))

0 Kudos
Message 1 of 2
(2,010 Views)

Hello abrakada,

 

You can make a dll from your LabVIEW code. There are some tutorials and examples that you could find very useful to accomplish what you want. For instructions on how to create a dll from your LabVIEW code go here. You can also check this link which contains instructions and a example about "Using Microsoft Visual C++ to Call LabVIEW DLLs That Pass Numeric Data Types". Finally, this tutorial talks about "Creating and Calling LabVIEW DLLs with Various Data Types from Microsoft Visual C++".

 

I would suggest you to check this material and see how it works for you.

 

Thanks,

 

Jorge

Applications Engineering

 

 

Jorge
Applications Engineer
National Instruments
________________________________________
Certified LabVIEW Associate Developer (CLAD)
0 Kudos
Message 2 of 2
(1,984 Views)