Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Form that doesn't appears vb.net

I am trying to use the examples made by National Instruments to acquire one sample voltage with an acquisition card but the form does not appear when I use the solution. It seems to be working on another computer. Do you know what can do this?

 

I tried to recreate a project but without using the part with initializing components by code but I did it manually. The form appears but when I click on the button to acquire, I have this message:

Managed Debugging Wizard 'LoaderLock': 'DLL' C: \ Windows \ Microsoft.Net \ assembly \ GAC_32 \ NationalInstruments.DAQmx \ v4.0_21.0.45.49311__4febd62461bf11a4 \ NationalInstruments.DAQmx.dll 'attempts to run the managed in loader operating system. Do not try to run managed code in an image or DllMain initialization function, as this may cause the application to crash. '

 

By deactivating the Managed debuggin wizard's messages, the form closes by itself and nothing happens.


What is weird is that it works on another computer and not on mine...

 

Thanks in advance for your help,

Zeylo

0 Kudos
Message 1 of 2
(404 Views)

Hello

 

Can  you try installing DAQmx 19 or lower version instead of 21?

0 Kudos
Message 2 of 2
(313 Views)