-
Posts
108 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Karissap
-
-
I worked out a solution using the windows clipboard. I can now paste a windows file/folder selection to an array.
Here's the solution if anyone is interested.
The GetClipboardData.vi can get either text, a picture or a file selection from the clipboard.
http://forums.lavag.org/index.php?act=attach&type=post&id=6361
-
QUOTE(Nyang @ Jul 13 2007, 01:55 PM)
That propery is private and can only be accessed by enabling VI scripting in LabVIEW 7.1 using the ini file (a lot harder to enable scripting in newer versions). See the http://forums.lavag.org/VI-Scripting-Readme-First-t1207.html' target="_blank">VI Scripting Readme for how to enable it.
-
Here is an example of calling a vi by it's reference and changing the default value of a control when it stops running.
http://forums.lavag.org/index.php?act=attach&type=post&id=6345
-
There is a property node to change the default value but it is only writable when the vi is in edit mode, you could just pass the value to a second vi that references it when the vi has finished running.
-
If you are talking about changing the value of a button when another is pressed instead of enabling use the Value property. The Value property only works for buttons with a mechanical action other than latching.
http://forums.lavag.org/index.php?act=attach&type=post&id=6344
The enable property changes whether the user can interact with the second button.
-
If parts of your code will not work on your PC and need the real time target you can use the Conditional Disable Structure to disable parts of you block diagram using the TARGET_TYPE symbol.
See the "Conditional Disable Structure.lvproj" example in the NI example Finder.
-
QUOTE(VDB @ Jul 4 2007, 04:33 PM)
http://forums.lavag.org/index.php?act=attach&type=post&id=6304''>http://forums.lavag.org/index.php?act=attach&type=post&id=6304'>http://forums.lavag.org/index.php?act=attach&type=post&id=6304
The "File", "Folder" or "File or Folder" Options are greyed out.
I've tried using the File Dialog vi and can't select multiple folders, only files
-
I have a program which allows users to collect data from multiple folders. In the browse options there is an option to select multiple files by dragging over a selection but not multiple folders.
At the moment I'm using an array and a pop up that asks the user if they want to add another folder to the array but it's a bit slow and tedious for the user. Even typing the paths or dragging and dropping one folder at a time is slow.
Is there an easier way to select multiple folders even by using something like clipboard or drag and drop?
-
In the example "Dynamically Register for Events.vi" when the Register Event Callback node gets expanded different types of events were selected, eg Mouse Move, Mouse Down?, Mouse Up.
When you expanded the node all the event types were the same (Value Change). LabVIEW is probably just only taking the control refs to the first Value Change and ignoring the rest. I agree that this seems a bit counter intuitive and should probably be documented that you can't select the same event twice somewhere if that is the case.
If you want to register different types of events just expand it and select a different event type like in the example.
If you want to add more controls to detect a Value change for, I'd suggest instead of expanding the node to select Value Change again try adding control refs to the 1-d array going into the existing Value Change like this:
http://forums.lavag.org/index.php?act=attach&type=post&id=6300
(with build array in concatenate mode)
-
Here is a solution that I think does what your looking for and might be a bit easier to follow, I've just moved your case statement inside the event structure.
http://forums.lavag.org/index.php?act=attach&type=post&id=6295
http://forums.lavag.org/index.php?act=attach&type=post&id=6294
-
-
-
Hi, you only have your buttons connected to the stop terminal of the while loops. If you want to keep continuing until the password is correct use an "AND" Boolean operation with your password equals check to stop the loop.
-
Hi, to interface Labview and Matlab the easy way you could use the LabVIEW Maths Interface Toolkit (MIT)
Otherwise, you can build a dll from your LabVIEW code that you can use in MATLAB. Heres a link on MATLAB interfacing to generic dlls
Or vice versa, you could create a MATLAB dll to call in LabVIEW using the external node vi.
Have a look at external code interface section of the help files for each program.
-
I've used MagicISO before and it is pretty good, it is commercial software for Windows that has a command line interface.
For UNIX based systems you could just use mount -o loop -t iso9660 <isofilename> <mountpoint>
-
You could also set the vi property to floating. This will let you do things like minimise, use controls on another vi etc but the window will always be on top.
-
Hi, I use the parallel port in one of my projects and have had much more success using the "In Port.vi" and "Out Port.vi" to communicate using the parallel port. Using the VISA method to use the parallel port was even more difficult after compiling the executable.
Look at the example "Parallel Port Read and Write Loop.vi" in the NI Example Finder, I found it really helpful.
Also check that you have grounded pins 11 and 12 (busy and out of paper) and not left them floating.
-
Hi Sherif
The NI Modulation toolkit offers Rayleigh or Rician Distribution fading VIs.
Here is an extract from the NI modulation toolkit datasheet:
http://forums.lavag.org/index.php?act=attach&type=post&id=6123
Here is an example in MATLAB if you want to look at the algorithm and implement it yourself in LabVIEW, you might even be able use most of it in a math script node.
-
You must install the latest NI-IMAQ driver that is compatible with LabVIEW v8.2 to use NI-IMAQ for USB
If you don't have the NI-IMAQ driver installed you can use you LabVIEW instrument drivers cd or you can download it from here
-
Here is the example you gave which still uses an array of clusters. I have just changed the event case to use the y co-ordinates from the mouse up event to decide what button was pressed so that the button function and event return works better, you might want to change the event to mouse down though.
http://forums.lavag.org/index.php?act=attach&type=post&id=6090
-
Here's some tips from NI that might be helpful to improve the VI you found: improving VI execution speed
Otherwise, it is faster to write the algorithm in something like C, and call the dll in LabVIEW. See this thread
-
Hello, here is a NI site which might be helpful "How to choose the Right Relay"
For the application you have I would suggest something like these Omron PCB Signal Relays
Just make sure to provide protection against back EMF
-
Heres a VI that brings the cursor to the center when it is moved. I used the x scale and y scale minimum and maximum properties of the graph and an event stucture to get the x and y position of the cursor. Instead of using an event structure you could uses a property node to get the active cursor x and y position.
http://forums.lavag.org/index.php?act=attach&type=post&id=6030(LabVIEW v 8.20)
-
I've implemented changing the active cursor and getting the properties if you'd like an example.
Select Multiple Folders
in User Interface
Posted
QUOTE(crelf @ Jul 16 2007, 03:24 PM)
Hey thanks, I missed that, woops, I think I had paste on the brain. I think I will submit it to the LAVAcr.
QUOTE(yen @ Jul 17 2007, 02:53 AM)
Thanks, I love making icons, I use the tango icons a lot, I found out about them from http://forums.lavag.org/index.php?showtopic=8569&st=0&p=32514&' target="_blank">this thread, the icons score double points with me cause I use Ubuntu at home (so I am all for platform independence). The listbox browser is a really good idea, I didn't think about doing it that way.