08-14-2013 05:06 AM - edited 08-14-2013 05:06 AM
Hi to all, I want to create a SubVI which enables the user to configure channels for a task. When the user finished adding channels to the task, the task should be returned to my main VI. I attached an image of the SubVi (I use the German version, but there should be no problem; if someone has a question, I'll try to translate).
Currently, I have to questions/problems which are connected to each other (in my view):
How can I find out and display the channels the user added to the task? I want to test whether everything works fine or not.
Even more important, the user should have the possibility to view which channels have been added and to rename them (and to change the scaling after I finished this feature).
Using Google, the forum search and the Labview Help did not help me to find a possibility to view which channels belong to a given task and edit them. Maybe someone of you knows something? By the way, if I have a mistake/something very ugly in my code, please tell me about it. I'm still learning LabView.
Thanks in advance.
08-16-2013 06:26 AM - edited 08-16-2013 06:28 AM
Hey daxel,
you can determine the channels in a task with a property node. Take a look at the attached VI, this will show you how.
If you want to know which channels are added by the user, you must know the channels before and after the edit. Than you can compare the information and find out the added channels.
I don't know if its possible to change the name of a task after you created it. If it's possible, than with a DAQmx property node like in the example.
Regards, Stephan
08-16-2013 07:12 AM
Hi,
the problem was also discussed in the German LV forum with several messages marked as (possible) solution…