LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET picturebox convert to LabView image

Solved!
Go to solution

Thanks but no. It is not related to the 32/64 issue. So that was not helpful.

0 Kudos
Message 21 of 27
(2,460 Views)

Good to know that you still have not bothered to post a real VI.

So that was not helpful.

 

And if you code only works if we have to install other software, then I suggest that you make it easy for people by including it. I won't spend time searching for it.

 

.

0 Kudos
Message 22 of 27
(2,453 Views)

Pseudonym,

You are not adding anything to this discussion. The code needs hardware attached. I tried integrating Hoovah's code and am still trying to get it to work. The 32 bit 64 bit issue you reference is no longer an issue. Your just being an **bleep** to hear yourself talk. I wish this forum has a block option.

0 Kudos
Message 23 of 27
(2,446 Views)

1.  I actually have a lot of experience with .NET not as much as with others here but more than you.

2.  I have just recently integrated memory mapped files from .NET Framework into an older LabVIEW program.

3.  In your situation, without a VI, everybody else will be guessing. And if you enjoy wasting time, that is a bonus.

 

 

.

0 Kudos
Message 24 of 27
(2,435 Views)

For those not having the needed Lavbiew Version and so can't open the net-picturebox.vi:

 

An "Invoke node" is used. The "invoke node" needs to be "linked" to "picture box"

GybrushThreepwood_0-1579508492890.png

Then the Method "Get image" is available:

GybrushThreepwood_1-1579508547352.png

Hope it helps sombody..

Thanks for the original post! 🙂

Best regards

0 Kudos
Message 25 of 27
(2,363 Views)

For the first question in this thread the solution is also provided by the IDS ueye .NET driver:

use: Camera .Net handle --> Memory invoke node--> get active memory --> Memory invoke node-->  copy Memory from reserved meory ID to array --> close invoke

GybrushThreepwood_0-1579519652752.png

This is an alternative to copying it from the picture box.

You need to set the color mode and then shape the array based on the known size to your needs e.g. 2D array or picture etc..

 

Hope it helps..

Regards

0 Kudos
Message 26 of 27
(2,352 Views)

Thanks, that looks basically like what I ended up doing. I come across several things that weren't clearly documented by Thorlabs. I am thinking I should post the specific answers here. When I get a chance to get back on that computer I will update this. 

0 Kudos
Message 27 of 27
(2,339 Views)