LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about Gige Camera and Sapera .dll

Where might I be able to find resources or information about connecting Teledyne Dalsa's Sapera LT software to my Genie Nano-10G C8200 camera through their .NET framework using their .dlls that were provided. I am very confused reading through all of their documents provided through the software documentation manuals including:

  • Genie Nano-10G Series Camera User’s Manual
  • Teledyne GigE Vision Interface User Manual and Optimization Guide (Edition 6.0)
  • Sapera LT .NET 9.0 Programmer's Manual
  • Sapera LT 9.0 User's Manual

Note: the last two are exclusively found by downloading and installing the software

 

I was wondering if there are any other resources on the LabVIEW side that might help me understand what is going on. Also, I previously used the Vision Acquisition Software (NI-VAS) to get the camera initially working but wanted to change it as I've heard NI-VAS doesn't support the entire 10 Gpbs upload speeds that I want. This statement is potentially wrong and could fix all my issues if I just have to re-install VAS. 

 

I have just started learning about C++,.NET,LabVIEW integration with .dll's, etc. So please let me know where I might be able to find information or how I might be able to go about getting 10 Gbps from the camera. Thanks!

0 Kudos
Message 1 of 12
(356 Views)

@ThomasdaTrain wrote:

Where might I be able to find resources or information about connecting Teledyne Dalsa's Sapera LT software to my Genie Nano-10G C8200 camera through their .NET framework using their .dlls that were provided. I am very confused reading through all of their documents provided through the software documentation manuals including:

  • Genie Nano-10G Series Camera User’s Manual
  • Teledyne GigE Vision Interface User Manual and Optimization Guide (Edition 6.0)
  • Sapera LT .NET 9.0 Programmer's Manual
  • Sapera LT 9.0 User's Manual

Note: the last two are exclusively found by downloading and installing the software

 

I was wondering if there are any other resources on the LabVIEW side that might help me understand what is going on. Also, I previously used the Vision Acquisition Software (NI-VAS) to get the camera initially working but wanted to change it as I've heard NI-VAS doesn't support the entire 10 Gpbs upload speeds that I want. This statement is potentially wrong and could fix all my issues if I just have to re-install VAS. 

 

I have just started learning about C++,.NET,LabVIEW integration with .dll's, etc. So please let me know where I might be able to find information or how I might be able to go about getting 10 Gbps from the camera. Thanks!



Teledyne probably uses propreitary udp packet design for high fps mode.

I've seen cameras switching to low fps mode on GigE standard.

 

 

Try to find a simple, working .net example and mimic it in LabVIEW using https://forums.ni.com/t5/Developer-Center-Resources/Calling-NET-Assemblies-from-LabVIEW/ta-p/3523180

 

If you upload your chosen  .cs example with your .vi, we could guide you.

Actor Framework
0 Kudos
Message 2 of 12
(291 Views)

Hello, Thomas.

 

     Are you a serious user of LabVIEW?  Do you want to participate in the Forum, where a bunch of LabVIEW experts "hang out" and try to help LabVIEW users (such as yourself) "solve your LabVIEW Programming Problems?

 

     You joined the Forum 3 days ago, made a single Post, had @Quiztus2 (who clearly has GigE experience) offer to help, and you've not been back.  Maybe you are not serious about learning LabVIEW and figuring out how to use Sapera software with your GigE camera.

 

     Please do us the courtesy of responding to your post and providing the information that will allow us to help you.

 

Bob Schor 

0 Kudos
Message 3 of 12
(248 Views)

My apologies everyone.

I didn’t realize what I was doing was considered rude. I’m a student and had homework consume my time. Anyways, I am hoping to fully read through and look through all of the documentation this weekend so that I can prepare a better example for you guys to look at. In my limited experience, I’ve found it often helps to make a mostly complete program that others can tweak and help me understand. 

Thanks again for helping me out. It’s much appreciated.

 

0 Kudos
Message 4 of 12
(240 Views)

Thanks for your courteous reply, Thomas.

 

Have you checked out How to Acquire from GigE Vision with Vision Acquisition Software ?  It sounds like if your camera really supports GigE Vision (the article spells this out), IMAQdx should work.

 

Bob Schor

0 Kudos
Message 5 of 12
(207 Views)

I was previously running my camera through VAS and IMAQdx, but the license expired as well as GigE not holding the 10 Gbps that I need. This is why I switched from it to trying to use the native camera software integrated with LabVIEW.

 

 

0 Kudos
Message 6 of 12
(146 Views)

I have my attempted LabVIEW basic structure below based on the documentation. According to what I've read it seems like this is the structure I use to create a buffer and device before transferring it to LabVIEW to be shown, downloaded, and filtered. From here, I don't know what needs to be done but I have attached screenshots with several folders of Csharp demo/example code that will be helpful.

 

Please let me know what you need because I have a feeling that this is not a good enough example to go off of.

 

Thanks!

0 Kudos
Message 7 of 12
(144 Views)

I would start by creating a class library project in VS with the Find Camera.cs' main function code. Call the main function (rename it to e.g. Find Camera) of your just created library. Call your Find Camera from LabVIEW. Hopefully a terminal pops next to LabVIEW. If this works, add your FInd Camera to a CSharp class, to which you now add your snap and close function. You get those from the other examples. This way you can hold any inter function data in your class's fields.

Actor Framework
0 Kudos
Message 8 of 12
(129 Views)

I may have misunderstood your statement, but I believe that Sapera already has a base .dll file that I can run out of. I just need helping put it in the correct order based on the Csharp examples with .NET. I'll show screenshots of it all and see if it's enough.

 

Also, I'm trying to avoid using VS software unless absolutely needed as I will need to offload all of the files onto a personal device to use it because IT makes it a huge pain (and takes months) to download any new software onto devices.

Download All
0 Kudos
Message 9 of 12
(120 Views)


@ThomasdaTrain wrote:

I may have misunderstood your statement, but I believe that Sapera already has a base .dll file that I can run out of. I just need helping put it in the correct order based on the Csharp examples with .NET. I'll show screenshots of it all and see if it's enough.

 

Also, I'm trying to avoid using VS software unless absolutely needed as I will need to offload all of the files onto a personal device to use it because IT makes it a huge pain (and takes months) to download any new software onto devices.


the find camera.cs adds callbacks to events. AFAIK You can't do this from LabVIEW that nicely. So I would recommend my previous mentioned approach.

 

During development an IDE like VS is highy recommended, since you can attach the debugger to LabVIEW and set breakpoints in your  c# code. After development you won't need it anymore.

Actor Framework
0 Kudos
Message 10 of 12
(105 Views)