11-18-2011 01:51 AM
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 -))
11-22-2011 08:37 AM
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