Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Create a Task in VB.NET

Hello there,

 

I was wondering if it is possible to create a task in VB.NET 2008. By this I mean I want to actually program my application to create a Task that when I open up MAX I can see the Task that I created. If anyone knows how or can direct me to an example or guide please let me know.

 

Thank you

0 Kudos
Message 1 of 3
(3,760 Views)

Hello Tweed,

 

Thank you for using the forums.  Unfortunately there doesn't seem to be a way to create a tast in VB.NET 2008 and have it go to Measurement and Automation Explorer (MAX).  You can however create a task in MAX and then use it in your VB programming.  Here is a link on how to do that.

 

One quick question though, what is your application for needing to this?

 

I hope this helps,

 

Brian P.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,727 Views)

I may be going above and beyond my own programming skills, but we want to be able to do this because we have an application that we only want to expose basics to the users (Note: this program is for internal use only). So for instance, we don't want the user to be allowed to select the Sample Rate, Number of Samples, etc. Instead we want the user to select the type of task they want to do (i.e. Internal Task Type 1, Internal Task Type 2). Then this would connect to a database that would have all the information ready to be accessed in order to dynamically create a task.

 

I just thought I'd ask because it would sure be easier to create these tasks using code and values from a database rather than creating all the Task's myself in MAX and having our application select one from there. I can't have a user adjust the Task properties - even through my application. I have work-arounds, but thought I'd ask anyway!

 

Thank you though

0 Kudos
Message 3 of 3
(3,725 Views)