LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Select.NET constructor assembly error

Hello,

I am trying to select a .dll to use in a >NET constructor.  I keep getting an error and i have no clue why this is happening.  I have tried labVIEW 2017 both 32 and 64 bit, but i am still unable to get the vi to work, the vi will print a label and i am using Seagull.Bartender.print dll.

Any suggestions to help me get this going is greatly appreciated. As a note, I am recently starting to use labVIEW.

0 Kudos
Message 1 of 6
(2,987 Views)

There are other posts on this forum about the same issue, you could try that nifty search function.

 

Possibly a CLR versioning issue. If you are running Windows 10, try to install the .NET Framework 3.5 as this is not installed by default (this will install CLR 2.0).

 

Another option is that the assembly is blocked. Make sure it is unblocked (check file properties) and that it is present in the same folder as your LabVIEW project (which of course you are using).

0 Kudos
Message 2 of 6
(2,963 Views)

Hello,

Tank you for replying.

I read in the forum about forcing assemblies form CRL 2.0 with CLR 4.3.

My question is if the information provided in the file is all that is needed or there is some configuration information that must be added to the file, please see capture.  I use win 7 so I guess I should not need to install .NET framework 3.5?

Regards

0 Kudos
Message 3 of 6
(2,946 Views)

Hello avega,

 

It is my understanding that the code mentioned in the LabVIEW 2017 Help documentation should work. Please let us know if you are continuing to have issues after implementing the configuration file.

 

Best regards,

Ryan B.
Technical Support Engineer
National Instruments
0 Kudos
Message 4 of 6
(2,933 Views)

Hello,

Before implementing the code I would like to know if I need to add extra information to the file labVIEW.exe.config or that it should work just the way it is.

Regards.

0 Kudos
Message 5 of 6
(2,929 Views)

Hello avega,

 

The LabVIEW.exe.config file should work the way it is provided in the help documentation. No extra information or revisions required. It is my understanding the since we are using a LabVIEW 2017 (a version after 2013) and a Windows 7 computer, the configuration file the documentation describes should work.

 

Best regards,

Ryan B.
Technical Support Engineer
National Instruments
0 Kudos
Message 6 of 6
(2,923 Views)