LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AI Channels ON TO A USER DEFINED GRID

I want to drag and drop DAQ AI channels interactively on to this grid (see image). Only the selected channels on the grid are used for DAQ acquisition. I need some pointers/examples to implement this routine????? Help please

RY
0 Kudos
Message 1 of 3
(3,201 Views)

You will need to learn how to use Drag & Drop features: 

http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/drag_and_drop_programmatic/

 

which means understanding Event Structures: 

http://zone.ni.com/reference/en-XX/help/371361K-01/glang/event_structure/

 

And then you'll need to craft some code that visually represents which AI Channels are on each designated zone in your image. That can be as simple as a bunch of string indicators (use classic string indicators with most of the control components coloured transparent) placed on top of your image on a Front Panel. You'll register each string indicator for a drag and drop Drag Enter and Drop events to acknowledge and accept each drag and drop motion respectively.

 

Best of luck!

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 3
(3,159 Views)

I was thinking exactly on those lines. But was not aware of drag and drop features. Thanks again.

RY
0 Kudos
Message 3 of 3
(3,150 Views)