LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Run Time 5 + LV Application Support

Hi

 

I want to use the DAQmx RT 5 installer for a smaller foot print install.

The only other thing I need is support for LV 8.x

But I don't want to go to a bigger run time install if I can help it.

 

Is there any installer available that installs all the LabVIEW VIs needed for DAQmx?

If I had this, I can keep the size down on my installer.
I tried moving files manually but it didn't work, I am guessing that it registers it somewhere? 

 

Is there an installer avialable or does anyone have a work around?

 

Cheers

JG 

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 1 of 8
(3,231 Views)
You will need the LabVIEW Runtime Engine to run a LabVIEW Application. There is 'sized-down' LabVIEW runtime engine available. Hope I understood your question correctly; if not, please post back.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 8
(3,222 Views)
If you are creating an installer for an exe, why do you need application support for LabVIEW? You can't do anything with the VIs even if they were installed.
0 Kudos
Message 3 of 8
(3,219 Views)

Thanks guys for your posts, however I think you have misinterpreted my original post, so I will try again: 

 

Obivously I need the LabVIEW run time installed. But I am talking DAQmx - when you install DAQmx you need to install the main "Run Time", but you also need to install the VIs that you use in your application otherwise it will be broken. When you create an exe these are not included in the build. There are in VI.lib, but they are not in the LabVIEW 8.x Run Time they are in the DAQmx Run Time. I am trying to use the smallest Run Time possible to minimise it's footprint. However, you have to go to the big one to install ADE support. If I could use DAQmx RT 5 + get my hands on a seperate ADE installer for LabVIEW (I imagine this would not be large in size) it would be SWEET!

 

I am pretty sure the ADE DAQmx VIs get installed here - C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\DAQmx and that location is used for the Run Time as well. I am at work but I have been playing around at home so I can't check right now. I tried to copy and paste them, or include them in my installer, it does not work (I am thinking something is registered when using the NI installer or I am missing something)

 

 

E.g. The Run Time 5 does not include the following: 

  • NI LabVIEW SignalExpress
  • Application development environment (ADE) support for LabVIEW, LabWindows/CVI, and Measurement Studio
  • The DAQ Assistant
  • NI-DAQmx documentation
  • LabVIEW Real-Time support
  • Measurement & Automation Explorer (MAX)

 

Not having ADE support for LabVIEW means that your exe will be broken. I don't need all the other stuff just whatever is in DAQmx RT5 and ADE support!

 

I am looking for a small install (from NI?) that could do this. Is this available?

 

Cheers

 

JG 

 

Message Edited by jg-code on 07-01-2009 08:45 PM
Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 4 of 8
(3,206 Views)
You have a serious misunderstanding I think. When you build an exe, the DAQmx VIs are included in your exe and all that you need is the minimum runtime. The application will not be broken. I've had new builds created every month or so for the last year and a half and each gets installed on over a thousand different testers with just the minimum DAQmx runtime. If your builds are broken, then there is something else wrong.
0 Kudos
Message 5 of 8
(3,200 Views)

Thank you for your reply, Dennis.

 

Here is what i found out after playing some more:

When DAQmx Run Time is not installed on the system - an exe that contain calls to DAQmx VIs will in fact be broken (as per the attached pictures).

Therefore I was thinking that these VIs were not in the exe (this is wrong...).

It turns out you are correct they are in the build - however a missing DLL from when DAQmx is not installed causes an error that breaks the VIs - and before I knew this I interpreted it as missing VIs which makes my above posts incorrect (I was on a wild goose hunt).  

 

Anyways, my entire motivation for these posts was to create an application that will NOT be broken if DAQmx is NOT installed. The application has a few parts - analysis, database etc... and then an another section for DAQmx data collection. I wanted the applicaton to be used by everyone for analysis etc..., without the need to install DAQmx on their system. Those who want to collect data would have to install DAQmx and then I would enable the data aquisition function in the software (after checking it is installed).

 

So I don't want the exe to be broken for those that don't need to collect data, and I don't want them to have to install DAQmx due to the overhead, when they don't intend to use it. Therefore as I thought VIs were missing, I was looking for an installer for these - this is totally wrong (thanks for pointing it out).

 

However, I would like to be able to not have DAQmx installed and not have my exe broken. The only other way around this I can think of is to:

1) Dynamically launch the data aqusition VI inside my exe, so if that is broken and not called by the top level VI then it will not break the top level VI when DAQmx is not installed.

2) Create a second executable (but would rather not).

 

Does anyone have any suggestions, or can share what they have done?

 

Cheers

 

JG 

 

Broken VI.pngBroken VI.pngMissing dll.png

Message Edited by jg-code on 07-02-2009 08:06 PM
Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 6 of 8
(3,186 Views)
Now that you have finally posted the real question, you could have done a search for the answer. I think the most common response is to load the VIs dynamically. That's the approach I would take.
Message 7 of 8
(3,177 Views)

But I was confused thats why I posted, and it took me some playing time to get my question right. And I did do I search. 

But I happy coz I have learnt something.

 

Anyways, Kudos to you. 

 

 

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 8 of 8
(3,170 Views)