ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create image buffer with dll function

Hi,

 

I have a usb barcode scanner which I control with a bunch of functions in a dll file. I used the wizard which was pretty straightforward. Now I can send most of the commands I want but have a slight problem when initializing image mode. There is a createimagebuffer function but it wants a string input, "a pointer to the destination buffer for image data returned from the scanner". What am I suppose to point at and how do I do it? Im new to this (first time experimenting with dll files) so I may have missed something important.

 

Regards

Andreas

0 Kudos
Message 1 of 2
(2,629 Views)
It should point to a string. The string should be large enough, e.g. it
should have a lot of characters in it. If the function also has a length
input, you can configure the dll so that the string length is automatically
linked to that input.

Regards,

Wiebe.


0 Kudos
Message 2 of 2
(2,618 Views)