LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can a DAQmx Task generated in LabVIEW be referenced by VB.NET?

Hi,

My question is simple (I think), but I thought it may be worth giving some background to why I am asking the question.

I have a LabVIEW code module I call in the setup group of teststand that generates a whole range of measurement tasks for a given sequence. Scattered throughout that sequence I have further LabVIEW modules that use those tasks to make measurements (according to the application requirements of the test package). The tasks are cleared at the end of the sequence with another labVIEW code module.

My question is based around what software can use these labVIEW generated tasks to start/stop/read/write measurements. Specifically I am interested in knowing whether .NET apps can use these tasks. This is necessary because an increasing number of developers that are starting to use my test development stations only have experience with .NET tools. My thought is that if they can still use the standard LabVIEW code modules to generate and clear the tasks (these are implemented as well proven custom step types in TS), they can implement the business logic of the test package with the tool they are familiar with.

I know using MAX to manage the DAQmx tasks would allow any app to use them, but there are some very specific reasons for not using MAX in this way (mostly logistical). Ultimately I need to know whether the tasks generated with 'DAQmx Create Task.vi' and 'DAQmx Create Channel.vi' have the same global scope as they do when generated in MAX.

Any help with this would be greatly appreciated - just hope I havnt clouded the question with all my guff!

Also, I have cross posted this message to the LabVIEW board....

Thanks

Bazza
0 Kudos
Message 1 of 3
(2,758 Views)
Hi Bazza,

I presume you have seen the answer on your other copy of this question, but just in case you haven't, one of the engineers from the states has written in to say that you can't really use tasks created in LabVIEW, in VB.NET.

You need to create them in MAX if you want them to be global across all applications.

Hope this helps,

Best regards,

Peter H.
Applications Engineer.
NIUK.
0 Kudos
Message 2 of 3
(2,739 Views)
Yes I have seen the reply thankyou Peter - and have now replied with more info.

Bazza
0 Kudos
Message 3 of 3
(2,731 Views)