Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to retrieve DaqComponent type from the current project.

Hi Everyone, 

 

As I cannot seem to install correctly NIDevice Drivers Feb 2014 so that DAQ Assistant would be integrated to Visual studio 2012 I did it in Visual Studio 2010 and it seems to work, 

 

Although when I try to create the task with the daq assitant most of the time I get the following error:

 

Failed to retrieve DaqComponent type from the current project.

 

When it works(create the task & build without errors) it does not show anything in NI IO trace, as it is a simulated DigitalOutput controller and I don't have the device, I though that was the only way to make sure it was working.

 

I must say I started to work with Measurement Studio to port a Daqmx USB6501 controller LabVIEW application, because my customer wants it to be published on his web page, and LabVIEW's Web publishing tool is not working for the user to control the interface unless he installs the LabVIEW 2013 runtime engine which is more than 230MB, but from the begining I am struggling to build a simple Daqmx application under measurement studio, I find it extremely anoying to configure and have a simple environement that works, every step is a struggle.

 

So if anyone has an easier solution to achieve that without forcing user to download and install a 230MB file, after which he'll need to reboot by the way, I would be very grateful.

 

For example a lighter version of LabVIEW 2013 runtime engine would work...but it does not seem to exist...

 

Thanks, 

 

Best Regards,

0 Kudos
Message 1 of 3
(5,737 Views)

Hi Olivoloyer.

 

Regarding the Visual Studio error, there's a known issue ( CAR 405547) that sounds really similar to the issue you're experiencing. It cites that a work-around is to install DAQmx 9.8 or later, or to generate code for an analog task and then manually change the task to a digital one (this particular error seems to happen only for digital tasks). If you already have DAQmx 9.8, and the issue presents itself on analog tasks as well we might be having a corrupt installation issue, or a different bug from the one reported.

 

Regarding the LabVIEW alternative, you don't need the full run-time engine to run remote front panels (Web publishing tool) from the client side. This web-plugin should be enough to be able to see the embedded VIs.

 

I'm sorry for the inconvenience you've had so far, hopefully one of these two solutions will work for you. If you're having a different bug from the one described in the CAR please let me know.

Aldo H
Ingenieria de Aplicaciones
0 Kudos
Message 2 of 3
(5,598 Views)

Hi Aldo, 

 

Thanks for your answer, 

 

I don't remember how but I did fix the issue, regarding runtime engine, I did exactly that by myself break it down to the smallest piece of RTE needed, and it worked, I did not know that NI was providing that, thanks anyway, I'll download it to make things cleaner.

 

So I got back to use the LabVIEW solution, as I had to much trouble make it work under Measurement Studio.

 

The configuration is the following:

 

The application is runing on a remote Windows7 machine, and users connect to it through a website, a link will be provided to the runtime engine they install and control the application.

Now it works under Windows, under OSX it only works with Chrome, under Linux it does not work.

How can I make it work for OSX and Linux for all browsers?

Is there a known procedure? why does it does not work out of the box like under windows?

 

Thanks again for your help.

 

Best Regards,

 

 

 

 

0 Kudos
Message 3 of 3
(5,594 Views)