09-26-2025 02:27 AM
Actually I have a Dalsa cam here. Next week I could find some time to create a simple demo.
09-26-2025 07:49 AM
Awesome. I'll look into it further and see what I can do in the meantime.
Thanks.
10-29-2025 01:52 PM
Alright, I got sidetracked for a little bit, but I'm back to focusing on this project. I would appreciate some guidance on a few things while I navigate this:
Now for the information update.
I have got the "findCamera.cs" working great in LabVIEW by copying over the code in VS studios. (This is what took me so long, I have never worked with C#/VS Studios before and didn't know if these problems came from my lack of understanding or the local permissions from the IT department slowing me down.) It works in a simple class I created called FindCamera and then another class called ConsoleHelper which allocates a console (command prompt) like in the .exe.
Now for the next project, I wanted to actually run the camera via one of the demos named "GigECameraDemo" which in the .exe, opens up a top-level window that can connect to a Gig-E camera (like mine), and then has several different options of running it. As seen in my solution or solution explorer image below, I uploaded/maneuvered the code from the original .SLN file into my own. This includes all files located in the "Common Folder" and "GigeCameraDemo" associated files.The only change made was "this.TopLevel = false;". I then built the solution and put it in the .Net container in labview where it proceeded to start spouting errors that made me believe I was going about this incorrectly. I have attached screenshots below of them all.
1. I insert a .NET control and try to add the associated .dll.
2. Once loading the highlighted one from 1, the above window pops up.
3. After clicking OK, this is what the front panel looks like (exactly like the .exe)
4. Clicking the LabVIEW start, it prompts me again exactly like in Step 2.
5. It throws this error because apparently it thinks that the camera is being used in two spots? But I'm only calling it once.
Please let me know what other information you might need or what comments you guys have. I realize I am in way over my head at this point so anything will help!
Thanks!
11-03-2025 05:09 AM
Vision Acquisition Software worked for me with Dalsa M2450 with full framerate for given exposure time.
I added a sample VS project with vi which shows how to start the console grab example.
11-03-2025 10:27 AM
Awesome! Unfortunately, I only have 2024 Q1 LabVIEW (24.1.1f1) if you could revert it to that version. In the meantime, I'll try to find someone that has the 2025 version.
Thanks again!
11-03-2025 10:38 AM
i think I also added a 2019 version. However, it is just a invoke node pointing to the static run method from the dll created via the vs project.
11-03-2025 12:03 PM
Aha. I found it. I'll do some looking and see if I can replicate it with my own camera!