LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How DAQmx controls can be customized

Is there any way to customize DAQmx controls because "Customize Control" option is disabled and greyed when a DAQmx control is selected.
Just like dialog Controls, can we customize DAQmx controls in such a way that they are shown according to the Windows theme.
0 Kudos
Message 1 of 7
(3,857 Views)
Hi Anderomeda,

You should be able to just right-click on the control and follow the tree as you can see below:


If this isn't available for you, then could you tell us what version of DAQmx and LabVIEW you have?

Thanks,

Message Edited by Otis on 10-24-2005 03:11 PM

0 Kudos
Message 2 of 7
(3,843 Views)
Thanks Otis,  its working now but I used the same method previously but CUSTOMIZE option was grey in both edit menu and in advance short cut menu. I'm using LabView 7.1 and NI-DAQmx Version 7.4. But now it is customizeable.
 
Ok, can u tell me how can I customize I/O controls (lets say DAQmx controls) to the same theme or color scheme which 'Dialog Controls' follow (they infact follows the current appearance scheme of Windows). I'm actually using all Dialog Controls or Indicator on my GUI but this DAQmx Physical Channel looks awkward due to out of rythm color scheme.
 
Thanks and bye
0 Kudos
Message 3 of 7
(3,827 Views)

Anderomeda,

Unfortunately there is no easy way to convert the DAQmx controls to the Dialog controls.  There is some code behind these controls that is run when you put them down (thus why they take a little bit of time to be placed).  However, there are several solutions that I might suggest.  The first and easiest would be to use a dialog string control instead of the DAQmx control.  The DAQmx VIs will treat these exactly as if you were wiring a selected task constant (or the like), but everything must be spelled correctly.  This obviously not the best solution.  The other would be to use the dialog ring control and populate the string list using the appropriate property nodes (see below for the physical channels).

This is a fairly dirty solution and some formatting will probably need to be done, but this should give a good idea of how to do this. 

Hope this helps!
Andy F.

Message Edited by Andy F. on 10-26-2005 01:15 PM

-----------------------------------------------------------------
National Instruments
0 Kudos
Message 4 of 7
(3,813 Views)
Thanks Andy, I have used the same dirty technique to implement that idea.
0 Kudos
Message 5 of 7
(3,796 Views)
Nice idea, using the property node to get the list of physical channels.  Just what I need but for one thing... I'm on LV 7.1 w DAQmx 7.5 and my DAQmx Device property node doesn't have the physical channels as a property.  Is this an LV8 thing?  Is there some way to do this in LV7?

- Jim
0 Kudos
Message 6 of 7
(3,738 Views)
 

Hi Jim-

You need NI-DAQmx 8.0.  It supports both LabVIEW 7.1 and the more extensive device reflection properties.

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 7 of 7
(3,733 Views)