Go to Post Meh, wear safety glasses. - Mike Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 26-10-2008, 20:02
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Drag and drop (labview)

I know Labview offers a method of dragging data from one control/indicator and dropping it in another, but is there a way to drag external data (say, a .png from your desktop) into a Labview control? Does it allow dragging of multiple files?

Thanks!
__________________
-- Marshal Horn
Reply With Quote
  #2   Spotlight this post!  
Unread 26-10-2008, 20:54
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,576
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Drag and drop (labview)

well, pictures are a little odd. There isn't an easy way (that I know of) by just dragging and dropping like that. believe me, I've tried. One way you CAN get an image in Labview is by copying all the image data (like in paint), and inserting from clipboard (or some other wording). There may be another way with image controls, but I haven't really cared too much to look into doing that.
Reply With Quote
  #3   Spotlight this post!  
Unread 26-10-2008, 21:04
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Drag and drop (labview)

Is there a way to just get the name or filepath of the image?
__________________
-- Marshal Horn
Reply With Quote
  #4   Spotlight this post!  
Unread 26-10-2008, 21:35
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Drag and drop (labview)

Drag and drop from OS clipboard works well to the path control. Drop a path control and hook it to the picture control VI for loading PNGs or JPGs, then to the Draw Flattened Pixmap.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 26-10-2008, 21:54
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Drag and drop (labview)

Ah, that would make sense, wouldn't it?
Is there a way to do the multiple-item drop?
__________________
-- Marshal Horn
Reply With Quote
  #6   Spotlight this post!  
Unread 27-10-2008, 08:09
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Drag and drop (labview)

I don't know of a simple way to do the multi-item drop. There are more complex events and stuff for drag-n-drop, but I haven't used them. You might look at the examples for drag drop and see if it is one of the things shown.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 27-10-2008, 21:16
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Drag and drop (labview)

Is there a way to get the file paths of a folder's contents?
__________________
-- Marshal Horn
Reply With Quote
  #8   Spotlight this post!  
Unread 28-10-2008, 08:05
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Drag and drop (labview)

Yes. It is in the Advanced File palette. One is called List Folder. There is another for recursive file listing.

I don't know if you have ever used the palette search. It isn't great at keywords, but if you click on the search and try a few alternate names for the operation, it usually shows you where it is.

Greg McKaskle
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview CMUCam2 GUI Serial Drop Out Problems Chris_Elston National Instruments LabVIEW and Data Acquisition 2 29-01-2008 06:53
White Paper Discuss: 2003 Drag-Drop Scoring Program (Flash, HTML version) *UPDATE* Suneet Extra Discussion 0 12-01-2006 16:50
pic: Center Player Station and Ball Drop Wetzel Extra Discussion 2 08-01-2006 17:40
Visual Basic - Drag and Drop Gope Programming 11 06-01-2003 09:42
Sensing current and/or voltage drop??? archiver 2001 3 23-06-2002 23:21


All times are GMT -5. The time now is 21:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi