RE: Generic UI question

2004-06-22 Thread Ed Dickens
Also don't forget that for each 'Obtain Queue' you use, you must use a 'Release Queue' function. The queue reference will remain open unless you release it as many times as you obtained it. Ed -Original Message- From: [EMAIL PROTECTED] on behalf of Dominic Lavoie Sent: Tue

RE: Upgrade from 7.0 to 7.1

2004-06-17 Thread Ed Dickens
I've had problems when installing NI driver discs on a PXI chassis (Win2K) using a USB cd drive. It seems the windows autoplay feature causes problems, though I've never been not able to open the drive. Usually after I swap CDs, the installation just hangs and I have to eject the CD, then close it

RE: SPAM - RE: Info-LabVIEW Digest - 06/16/04

2004-06-16 Thread Ed Dickens
You could try searching the Info-LabVIEW archives at http://www.searchview.net/ This site automatically archives the messages so they can searched. It has everything back to 1991. Ed Edwin O. Dickens - Certified LabVIEW Developer DISTek

Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Ed Dickens
As far as I know, making a subvi reentrant would have no performance difference over having multiple VIs with different names. Maybe an app eng could verify this. Each time a reentrant VI is called from a new location in the code, it creates a separate area for it in LabVIEWs dataspace, the same

Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-14 Thread Ed Dickens
Simple answer is yes, you would need copies of the subvis also. LabVIEW can only have one copy of a certain named VI in memory at a time. Unless... You make the VI Reentrant. Setting a VI to reentrant causes LabVIEW to open each instance of the VI in it's own data space, so it acts the same as

RE: Maximize screen for exe

2004-06-10 Thread Ed Dickens
In the Application Builder on the VI Settings tab, highlight your top level VI and click the 'Edit Build Settings' button. The last selection in this dialog will let you force the front panel to full screen when it's opened. You can also set this property in the VI Properties. In VI Properties,

RE: Password

2004-06-10 Thread Ed Dickens
I'm guessing you forgot what password you set when you turned it on. There is no way to just turn the password protection off without knowing the password to first unlock it. If you could do that, it would defeat the purpose of protecting it in the first place. The VI password protection seems to

Re: Is there an elegant way to paste data from a spreadsheet...

2004-06-09 Thread Ed Dickens
If you're OK with the copying and pasting, you could continue getting the data into LabVIEW that way, and after converting the data into an array, you can write it to a table through the 'Value' property of a property node. This takes a 2D array of strings. If you want to get away from the

Re: How do I programmatically determine what version a VI was saved in?

2004-06-09 Thread Ed Dickens
Good thinking. After a bit of experimenting, my best guess would be bits 4 and 5 of the number indicate a version change and recomile, and I think bit 4 is the one for a version change. Maybe somebody at NI could verify/correct this, or at least point to some documentation on the mod bitset

Alliance member seeking Test Engineer

2004-06-09 Thread Ed Dickens
DISTek Integration is currently seeking a Test Engineer. The Test Engineer is responsible for the design, development, deployment and support of test systems for electronic products. Position includes high-level functions such as test planning, detailed design and development of test software. The

Alliance member seeking Test Engineer

2004-06-09 Thread Ed Dickens
Hello list, excuse the slight intrusion, but I thought somebody might be interested in this. Our Test Systems and Software group is taking resumes for a Test Engineer with LabVIEW experience. For a full job description and to submit your resume, http://ww2.distek.com/MenuItems/Employment/TEL.asp

Re: How to lock the controls in front panel of LabVIEW?

2004-06-04 Thread Ed Dickens
If you use the Save with Options and remove the diagrams, make sure and do it to a BCOPY/B of your VIs as there is no way to get the diagrams back. They are actually deleted from the VI, not just hidden. Always keep a complete copy of your source code in a different location so you can always get

Re: How to reopen a same vi ?

2004-05-28 Thread Ed Dickens
I think the best way to do this would be to save the VI you want to open multiple time as a VI template (.vit). Then when you open a reference to the template and open the front panel, the template gets renamed with a sequencial number, and it changes to a .vi, just as if you had opened the

Re: How to reopen a same vi ?

2004-05-28 Thread Ed Dickens
Sure, just zip up all the VIs and templates and attach it to a message here. That way, more than just me can look at it.

Re: Labview 7.1 and Application builder 7.1

2004-05-28 Thread Ed Dickens
If you had LabVIEW open when you did the installation of the Application builder, it would not show up in the Tools menu until you restarted LabVIEW. It only populates the menus at startup. Ed

Re: where do you get ai0 channel from for 3 hr course

2004-05-27 Thread Ed Dickens
Sounds like you don't actually have a DAQ card installed in your PC. The DAQ assistant can't list any channels if there are none available. Unfortunatly, the exercises were written assuming you have a DAQ card. Ed

Re: Has anybody used LabVIEW 7.x on Windows XP Tablet PC Edition

2004-05-26 Thread Ed Dickens
Thanks Ryan, Somehow, my search through the exchange did not turn up any topics covering XP Tablet, or maybe I was just blind that day. Anyway, that's kind of what I figured, and hoped. I should have one my hands soon and will give it a try. Ed

Has anybody used LabVIEW 7.x on Windows XP Tablet PC Edition

2004-05-25 Thread Ed Dickens
I have a customer looking at the new Tablet PCs and they would like to use them for running some LabVIEW applications. In the end, these would be built executables, but it would be nice to install LabVIEW for debugging purposes. I'd apppreciate any comments on both the run-time and development

Re: I would like to attain sample Labview Developers exams.

2004-05-23 Thread Ed Dickens
There is not a sample test, but you can download a pdf of the Tasks and Objectives that might covered on the test a href=http://volt.ni.com/niwc/common.jsp?page=custed_cecp;here/a. Look for the Certified LabVIEW Developer heading, then click the Tasks and Objectives link. There is also other

Re: Programmatically Make Current Values Default of a Global Variable

2004-05-19 Thread Ed Dickens
The problem with the Make Current Values Default is that it cannot be used on a VI or Global that is currently running or in use. Using that method requires a re-compile, and that cannot be done while the VI is running. Reading and writing from a file is going to be your best option. Take a look

Re: Aborting a SubVI

2004-05-19 Thread Ed Dickens
You can use an Invoke node with the 'Abort VI' method and get a reference to your subVI and kill it that way, but it's not good practice to use Abort to stop a VI, it's really a developmet/debugging tool. Another problem is the Sequence structure, they cannot be broken out of before it's done

Re: Why does program work only when highlight execution is on?

2004-05-18 Thread Ed Dickens
When I've seen this happen, it usually turns out to be a timing issue. With Hilight Execution turned on, the program executes much slower than it does when running normally. Try putting some time delay between your steps, or Read/Write functions one at a time to see if that fixes your problem.

Re: Block diagram expansion criteria

2004-05-12 Thread Ed Dickens
I=92ve had this happen two times. Once turned out to be an intermittent Ctrl key. The other time I was using a Keyboard, Video Mouse switchbox to run two PC=92s with one keyboard, mouse and display. To switch between the two PCs, you could hit the Ctrl key three times quickly. Somehow that

Re: Is it possible to set the current value as default while VI is running?

2004-05-12 Thread Ed Dickens
You can use the 'Make Current Values Default' invoke node, but as the name implies (note =93Values=94), it will set the current values to default for Ball/B controls on the front panel. There is no way to use this on just a single control. There are other problems when using this property. The VI

Odd behavior in Build Text Express VI in 7.1

2004-05-12 Thread Ed Dickens
I ran across an odd behavior with the BBuild Text Express VI/B that wasn't there in 7.0. When configuring the VI, if you select either Number or Boolean in the Variable Properties before typing anything the Text with Variables box, the first character you type will switch the Variable Properties

Re: Has anyone installed LV 6.1 AND 6.02 in the same PC?

2004-05-12 Thread Ed Dickens
Different version of LabVIEW can peacefully co-exist on a PC. The different versions will get installed in their own directories under the main National Instruments directory. You should also uninstall old DAQ drivers and install the latest available for your newest version of LabVIEW. That will

Re: Is it possible to set the current value as default while VI is running?

2004-05-11 Thread Ed Dickens
You cannot set a controls default value wihle the VI is running. Doing this requires the VI to be recompiled, and that cannot be done while the VI is running. The easiest way to do what you want would be to read the controls value as the VI shuts down and write it to a config file. Then when the

Re: How do I get the version of labview a VI was saved in at runtime?

2004-05-06 Thread Ed Dickens
Although LabVIEW seems to know what version it was previously in, (it shows this information when you close a VI without saving and it promts you to save, you can click 'Explain' and it says it was in a previous version and what that version was) I don't think you can get that version number

Re: Why, when I try to load a specific VI that I've edited and...

2004-05-03 Thread Ed Dickens
I've seen a few others asking about this same problem with LabVIEW 7 lately. As far as I've been able to figure, the VI has been corrupted. It acts like it's searching for a sub-vi with the same name as the top level VI, which you cannot do. The other posts I've read about this have not found a

Re: Inherited reentrancy?

2004-04-24 Thread Ed Dickens
This could get confusing quick, but I think I understand how it all works. The reentrant property does not affect any callers or callees'. It strictly on a VI by VI basis. In your last example, there would be 4 values of 'V', since both C and S are reentrant, 'M' would call two instances of 'C',

Re: Inherited reentrancy?

2004-04-24 Thread Ed Dickens
The thing you have remember is that even though there are only two instances of =91S=92 in the code of =91C=92, there are two instances of =91= C=92 (if set to reentrant) in the code for =91M=92. So each instance of =91C=92 will have its own data space within =91M=92, and as it loads its subVIs,

Misubishi PLC control from LabVIEW via RS-232

2004-04-24 Thread Ed Dickens
I=92ve been tasked to build some VIs to control a Mitsubishi PLC that controls a Temp/Vibe chamber. The PLC series in question is on the OPC server support list, so that=92s not an issue. Since there are only a dozen items that I need to communicate with, I though I=92d try using Datasockets. The

Re: The names and values out of Cluster

2004-04-24 Thread Ed Dickens
Not real sure what you are trying to ask here. If you don't want to use the Unbundle functions, you can get to the cluster element values using a property node, but the Unbundle functions are far more efficient and using the property nodes would be just as annoying if not more so. I don't think

Re: Control a VI with Menu and Buttons

2004-04-24 Thread Ed Dickens
If you want the action to occur with either the button click or menu selection, configure the event case to watch for both events by selecting Edit Events handled by this case, then in the top portion where you select the 'Event Specifiers', click the plus sign to add another event for that case.

Re: Can I run Labview or CVI program withoug engine installed

2004-04-24 Thread Ed Dickens
1. Jack Hamilton wrote up a presentation on how to run a LabVIEW .exe without installing the runtime engine. This presentation works only on Windows and does not include NI-DAQ. You can read his presentation a href=http://forums.lavausergroup.org/index.php?showtopic=122;here/a. The basics of it is

Re: How do I get the tools palette to be visible in labview 7? It is not listed under windows

2004-04-18 Thread Ed Dickens
I'd turn this option off as the others pointed out. It is annoying. You can also get the Tools palette by holding the 'Shift' key down while right-clicking. This works on both front panel and block diagram. This is nice to know if you use the auto tool as it's a quick way to get to the tool

Re: how to implement only if statement using case structure

2004-04-18 Thread Ed Dickens
I think something strange is going on here. Placing the indicators in the True case and not writing to them when you do not have a match should leave the last value written displayed. I do this all the time and have never had this problem. I dropped a new meter and connected it to the same place

Re: How do I talk to my serial port using LabVIEW?

2004-04-15 Thread Ed Dickens
LabVIEW can communicate through the serial port using its VISA interface. LabVIEW comes with several example serial communication programs that should help you get started. Look in the Help menu and click Find Examples After the dialog opens and gets populated, double click Hardware Input and

Re: How to replace a VI's default menu with a custom menu?

2004-04-14 Thread Ed Dickens
The path the custom menu is saved in the VI relative to itself. If you move the VI, saving to an .llb or building an executable moves it since the path changes, the VI can no longer find its menu. You can dynamically build a path the menu by getting the current VI=92s path and checking to see if

Re: Express vi in Labview 7.0 missing in 6.1 package

2004-04-13 Thread Ed Dickens
Express VI's were introduced in LabVIEW 7.0. So they cannot be converted to 6.1 directly. You MIGHT be able to do it if you first convert the Express node to a subvi by right clicking and selecting Convert to SubVI, then try to save that back to 6.1. Depending on what the node does, this may or

Possible Bug or just weirdness in Build Text Express VI

2004-04-13 Thread Ed Dickens
I've just run across a possible bug in the Build Text Express VI. Drop the VI and at first configure an input to accept a numeric by selecting Number under the Variables Properties section, and check the =91Use Specified Precision=92 checkbox and set the precision to 4. Then create a variable

Re: Possible Bug or just weirdness in Build Text Express VI

2004-04-13 Thread Ed Dickens
Thanks Luca, I searched for about an hour last night before posting trying to see if this had already been reported, but couldn't find anything. Is there a list of known bugs we can browse? Ed

Re: what is the best way to handle input parameter

2004-04-13 Thread Ed Dickens
As you discovered, the Range and Coercion properties of controls do not work when used in sub-vis. Your best option is to go ahead and build your range checking into your sub-vis. If it=92s something you will be doing a lot, just make your range checking a sub-vi and drop it where needed. This

Re: Wlile loop that takes all the CPU time

2004-04-08 Thread Ed Dickens
Just a guess here, but it could be that your code is taking more than 500ms to execute. The 'Wait' would then have no effect. The 'Wait' functions start waiting as soon as they have thier value, not after all the code in the loop has finished executing. So unless there is data dependency between

Re: Wlile loop that takes all the CPU time

2004-04-08 Thread Ed Dickens
OK, so which way is it. I've read various things over the past couple hours and it seems nobody really knows or can agree what happens here. The KB artical a href=http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/12b2ea9ad5b265ad86256257004dd8e2?OpenDocument;here/a seems to agree

Re: break a for loop

2004-04-08 Thread Ed Dickens
Output values can be handled. If you're building an array on the For loop, also grab the iteration count into a shift register when you stop the loop, then you'll know where in the array it stopped. Otherwise you fill an array with NAN, empty string or some other known value so you can tell

Re: I can't open my VI

2004-04-08 Thread Ed Dickens
Something in the file must have gotten corrupted. It's searching for a sub vi named Test.vi, but since the top level is named Test.vi, LabVIEW would not have allowed you have a sub vi with the same name as the top level, even if they were in different folders and had different functionallity. Do

Re: How can I access a control's description and data range information from within LabVIEW 6.1 or 7.0?

2004-04-08 Thread Ed Dickens
Right click on the Control and navigate to CreateProperty Node. Now on the newly created node, right click on it where it says Visible and navigate to PropertiesDescription. This will output a string of the controls description. Now grow the node by right clicking and selecting Add Element. On on

Re: counting consecutive events

2004-04-08 Thread Ed Dickens
Sounds like your counter might be in a While Loop using an initialized shift register, probably in a sub-vi. If you have a 0 connected to the left side register outside the loop, everytime the loop runs, it will reset the register to 0. There are ways to initialize shift registers inside the loop

Re: break a for loop

2004-04-08 Thread Ed Dickens
It is actually somewhat possible. But not recommended. If you need to break out of a loop, use a While Loop. If you're dead set on using a For loop, put a Case structure in the For loop and put all your code in the False case and leave the True case empty. Put a shift register on the For loop and

Re: Controls[] question

2004-03-30 Thread Ed Dickens
And just to answer your question, the Controls[] property generates the references in the 'Z' order of the controls on the panel. So if you really wanted to, you could use the Move to Front, Move to Back feature and set the order the the references will be generated. Though I'm sure you'll find

Re: file name in different directory

2004-03-30 Thread Ed Dickens
This is an old problem with no easy solution as of now. For a better description of what is going on here, you can read a href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=137HOID=5065000500D3370100HTHREAD=79827UCATEGORY_0=_49_%24_6_UCATEGORY_S=0;this discussion/a

Re: How do I get an ActiveX Reference to sheet that is already open.

2004-03-21 Thread Ed Dickens
Never mind, I just figured it out. Ed

Re: Need procedure for loading earlier version of NI-DAQ

2004-03-08 Thread Ed Dickens
If you have not un-installed the newer version of NI-DAQ, you should do that first, then try installing the 6.9.1 version. If you continue to get errors, there's a utility available from NI that will clean up all references anywhere to NI software so you can do a clean install. During the

Re: Your pallot VI 'One Button Dialog' doesn't have a button.

2004-03-05 Thread Ed Dickens
Two things that I can think may be causing it. Old video drivers or something corrupted in LabVIEW. Try updating your video card drivers first, if that doesn't help, you might have to reinstall LabVIEW. Ed

Re: How can I read the file created date info for a file?

2004-03-05 Thread Ed Dickens
Grab the attached VI's from my answer on a href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=137HOID=506500050011450100HTHREAD=83217UCATEGORY_0=_49_%24_6_UCATEGORY_S=0;this/a discussion. It does what you want, but only works on Windows. Ed

Re: C like structures in Labview

2004-03-04 Thread Ed Dickens
You're correct that you can only have either Controls or Indicators in a cluster. You can operate on individual cluster elements regardless of which type (control or indicator) they are initially. Define your cluster with all the elements you need, pass this into your sub-vi and use either the

Re: Hilight Execution or won't work

2004-02-26 Thread Ed Dickens
When I've seen this happen, it usually turns out to be a timing issue. With Hilight Execution turned on, the program executes much slower than it does when running normally. Try putting some delay between your steps, one at a time to see if that fixes your problem. Your ActiveX calls may be

Re: can event structures be used w/o property nodes?

2004-02-26 Thread Ed Dickens
Property Nodes really have nothing to do with Event Structures. Property Nodes either Read from or Write to the various properties of the linked control/indicator. Event Structures react to an action from a control/indicator. Drop an event structure and a single boolean button inside of it,

Re: do all the sub VIs in a reentrant VI need to be reentrant?

2004-02-04 Thread Ed Dickens
It depends on how you want your sub-vis to behave. Any sub-vi will follow what is set in its execution properties. So if it=92s set for reentrant operation, it will run that way. If it=92s not set for reentrant operation, the same instance of the VI will be used regardless of what is calling it.

RE: empty files in executable

2004-01-20 Thread Ed Dickens
One option would be to create a small VI that would create the directories for you, build this into an executable and include it with your distribution. Then in the App builder dialog, on the Installer Settings tab, hit the Advanced button, check the Run Executable after installation box and

Re: Express 7 Student Edition Question

2004-01-13 Thread Ed Dickens
I believe the Student Edition of 7 is fully functional. It adds a tag in the lower left corner of the windows identifing it as the student edition. To be sure, you should call NI support and verify. Ed

Re: Open web page in Internet Explorer

2004-01-13 Thread Ed Dickens
Two things you could try. Drop a property node and set the VI Server Class to 'VI'. Then select as the property either Front Panel WindowIs Frontmost and create a false constant for the property or Front Panel WindowState and create a constant and set it to Minimized. Run this property node

Re: Why can't I open a VI that I created on another computer?

2004-01-13 Thread Ed Dickens
There are no hidden VI's, but there may be some sub-vi's on your laptop that are not on your desktop. These could include any sub-vis you created on you laptop and any extra LabVIEW toolkits or drivers (NI-DAQ) that you installed on the laptop. If it's toolkit or driver VIs that are missing,

RE: LabVIEW Wishlist - Last Used Functions and Controls

2004-01-13 Thread Ed Dickens
Or, if you use the Queue functions a lot, just customize your palette view to include the Queue menu on the top level of the palette. At least you'll have less digging to do. Ed Edwin O. Dickens - Certified LabVIEW Developer DISTek

Re: library sub vi's

2004-01-07 Thread Ed Dickens
These sub-vis are part of the NI-DAQ driver install. Either you have not yet installed NI-DAQ or they have been deleted. You can download the currnet NI-DAQ a href=http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C128D?opendocumentnode=132060_US;here/a for all OS's. Ed

NI-CAN PCMCIA in PCI adapter

2004-01-06 Thread Ed Dickens
Hello all, I was wondering if anybody has used a NI-CAN PCMCIA card in a PCMCIA to PCI adapter, and what brands would you recommend. Thanks Ed