RE: State machines and passing references
Scott Serlin [EMAIL PROTECTED] wrote: Let me try it. I've been trying to right-click the case statement and not the while loop. This appears to be an oops on my part. Cases don't have shift registers and so doesn't the event structure. You only get tunnels and they are created automatically when you route a wire through the border. If you need local storage in a state machine (classic with cases or modern with the event structure or a combination of the two) you need to create shift registers on the boundary of the loop you have to put around the case or event structure anyhow. Rolf Kalbermatter CIT Engineering Nederland BVtel: +31 (070) 415 9190 Treubstraat 7H fax: +31 (070) 415 9191 2288 EG Rijswijkhttp://www.citengineering.com Netherlands mailto:[EMAIL PROTECTED]
I can't read VI's that were writen in version 3.1
I have some VI's that were writen with an old version of LabView(ver. 3.1).when I try to open them I get an error message that the file is to old. How can I convert those file's for thay can be read with version 6.1 of LabView. Thank you and have a nice day
my parallel port cannot work on win2000 and new pc
I was troubled by the reading/writing from parallel port on win2000 for a long time. I had made my programs work on win2000/OLD PC, but i failed with the same programs on win2000/new PC. I tried with the method from the forum, that is, install accessHW and other method from my colleagues. Allways failed. I have to return to an old pc, it work! I think not only win2000/winxp will influence parallel port work, but also pc hardware. My new PC is Dell's GX260SMT with p4 2.4G. Dell's FAE told me that i can not install win98 on the pc due to some limitation of mainboard. Who met the smae issue as mine? How to fix it? Thanks for any help.
Like tools palette feature
Hi! I need to insert in a VI something like the Tools palette, that can be anabled or disabled via menu programmatically. The behavior should be the same as the Window--Show Tools palette option in LabVIEW front panel menu: the main VI continue running and performing his tasks, and when a menu item is selected, a sub VI that implements the floating palette is executed and stays always on top. The menu is controlled trough the event structure. The question is: i've tried to set the palette vi whit the option is modal enabled. The palette vi stays always on top (ok), but the main VI is frozen (stil running but when you press the mouse button it doesn't respond). The palette vi is called with the property wait until done=false. Any suggestion or workaround? Regards, Eugenio Navacchia, Università di Bologna.
Re: executable vi files in windows!
Thanks Greg! I have labview 7 express pro, but i dont find the application builder, in the custom install i dont see it neither. Is application builder into this cd?. thanks.
Re: Serial Compatibility VI's not working in Labview 7.0
The method you give us to make the serial working is fine , but when I try to build my VI with application builder and then try to run the exe it tells me that it cannot run the serial part ! so i cannot use it whith exe . Is there something to do before building the exe ?
Re: I can't read VI's that were writen in version 3.1
Hi Shai, Details of the conversion kit can be found here:- http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/429e45271cfd683786256d87006b1eef?OpenDocument Hope this helps, Nick
Re: How can I read the serial data from my mouse on com 1?
Hi, On NT/2000/XP, you will not be able to use the serial port, once it is assigned to a mouse. On 95/98/Me, you can do this, but you will lose the mouse for the remainder of your Windows session. Mouse output is not very useful for tests anyway. Get an (old) external modem for your first tests, the ATIx commands return a number of readible strings. Test your actual device with HyperTerminal first, before using LabView. HTH, regards, Matt
Re: Problems using LabVIEW-built dlls in LabVIEW
Hi Ben, thanks for your answer and the interesting link. But I think I have the direct inverted problem to yours: You had the problem that a dll called from VB runs in a different memory space than LV, so you have no direct access to your LV application. But my problem is that a dll called from LV runs in the same memory space so that subVIs are recognized where they were loaded first. But I would appreciate a behaviour that the dll only knows its own instances of subVIs and the top level application uses second instances. But obviously this is not so easy in this configuration. I will take a look, like you have done on SubVIs in Memory and First Call?. This is a good hint. Maybe this will help me to procced with the problem. I will keep you informed, but everyone feel free to post any other ideas... Michael
RE: ScrollBar
Subramanian, Shankar, K [EMAIL PROTECTED] wrote: Thanks for your reply. I think I will stack them avoiding the scrollbar as I would not need all the buttons to be visible. But just curious to know, is there any way of automating scrollbar depending on the window? You don't work with the scrollbar itself but rater change the FrontPanel.Origin property of your VI reference. Rolf Kalbermatter CIT Engineering Nederland BVtel: +31 (070) 415 9190 Treubstraat 7H fax: +31 (070) 415 9191 2288 EG Rijswijkhttp://www.citengineering.com Netherlands mailto:[EMAIL PROTECTED]
Re: Bug in Unflatten from String (LV7)
[EMAIL PROTECTED] wrote: when unflatting certain binary datas with Unflatten fromString (LV7) I get an error msg window Nicht genügend Speicher zum Abschließen dieser Operation (* not enough memory to close this operation). The error-output of the vi is incorrect. Does anybody know a workaround of that bug? I have binary files with different versions of a certain datatype. When loading a file, I try to unflatten the data using the newest dataversion. If I get an error, I try the 2nd newest dataversion and so on until I found the right datatype. This methode was ok up to LV6.01. In LV7.0 the bug appears when I try to unflatten to the wrong datatype. My datatype is an array of clusters of strings and numbers. NI knows the bug but has no patch or workaround. NI-service told me, to wait for LV7.1, maybe mid of 2004, --- very ´good´ service. This bug is a fatal problem for me, I cannot read many of my old measuring datas under LV7.0. If I dont find an solution, the consequence will be, I throw out LV7 and go back to LV6.01. I can only second Stephens message. The fact that it seems to work in LabVIEW 6 is pure incident for the datatypes you are using, as I know that trying to unflatten random (corrupted) data will often show the same symptoms in various versions of LabVIEW. The only thing I can think of what they might be trying to do is adding C++ exception handling to the internal implentation of the Unflatten function. This is a major modification of the code and not a bug fix at all, so expecting NI to release a 7.0.1 just for that is not really realistic. The correct action to do is of course to include a version number indicating both the your own and the LabVIEW version in front of your data so that you can use the correct unflatten type in the first place. Rolf Kalbermatter CIT Engineering Nederland BVtel: +31 (070) 415 9190 Treubstraat 7H fax: +31 (070) 415 9191 2288 EG Rijswijkhttp://www.citengineering.com Netherlands mailto:[EMAIL PROTECTED]
Re: Bug in Unflatten from String (LV7)
Albert, I'll stay with English so everyone on the list can follow... You aked on Mon, 12 Jan 2004 16:04:03 +0100: when unflatting certain binary datas with Unflatten fromString (LV7) I get an error msg window Nicht genügend Speicher zum Abschließen dieser Operation (* not enough memory to close this operation). The error-output of the vi is incorrect. Does anybody know a workaround of that bug? Steven M gave you the hint to include a file version info with your files. This would have helped a lot and is a good idea for the future, but will not help you out of your actual problems. What you can do however is writing a transformation VI that is capabel of detecting all former file formats and transforms them to a unique new format including the version info. I'd suggest a kind of chained list or array of strings, containing flattened data. How can this transformation be done without running into that error? Just don't use unflatten from string, at least not as the version detector. You should instead cut parts out of your string that correspond to simple data types and cast them for testing purposes. The problem is that arrays and strings have a size in their data structure (refer to the apropriate AppNote) that may cause the allocation of huge amounts of memory if the wrong number is at a size's position in the unflattened string. If you cut just that number out of the string and cast it to a numeric you'll find if this has an apropriate value _before_ that error happens. I have binary files with different versions of a certain datatype. When loading a file, I try to unflatten the data using the newest dataversion. If I get an error, I try the 2nd newest dataversion and so on until I found the right datatype. This methode was ok up to LV6.01. In LV7.0 the bug appears when I try to unflatten to the wrong datatype. My datatype is an array of clusters of strings and numbers. Your solution as used until now is a kind of weak. There may exist situations where unflattenfromstring is working OK, but does not provide the proper data. A unique version info as the start of a file is always more reliabel. NI knows the bug but has no patch or workaround. NI-service told me, to wait for LV7.1, maybe mid of 2004, --- very ´good´ service. This bug is a fatal problem for me, I cannot read many of my old measuring datas under LV7.0. If I dont find an solution, the consequence will be, I throw out LV7 and go back to LV6.01. You know that all Newbies at NI (at least in Germany) start in the support team, dont you? Thats OK, as this way they learn the real world problems. But don't take 'em too seriously when they propose something in new versions, as they don't do devellopment (of LV or other core products). Maybe they even did not really understand your problem (yet). Contact me directly if you need further assistance. Mit freundlichen Grüßen! Greetings from Germany! -- Uwe Frenz ~ Dr. Uwe Frenz Entwicklung getemed Medizin- und Informationtechnik AG Oderstr. 59 D-14513 Teltow Tel. +49 3328 39 42 0 Fax +49 3328 39 42 99 [EMAIL PROTECTED] WWW.Getemed.de
Bug in Unflatten from String (LV7)
Thank you for your comments to my problem. You are right, I better should ad a versionnumber to my binary datas, to read them back with correct type defininition. But nevertheless I think, the unflatten from string vi must react resonable when it gets a corrupted flattened string. Obviously LV7 detects the error in the corrupted string, it opens a message window and informs me about the error - and leaves the errour output to false. Why the output is not simply set true when the error is detected? You are also right, when you say, that unflatting corrupted datas can lead to an memory allocation error when for example the wrong array size is detected. I thought LV7 was intelligent enough, to check the data structure compatitibity between the flat string and the datatype before allocating memory. The size of the flat string is known. And with a few little checks before allocating memory LV could detect the corrupted datas very easy. For example LV could compare the size of the flattend string with the memory LV wants to allocate. If the memory is more than the size of the flattend string there is an error in the data. I´m sure there are some more checks LV could do before allocating memory and start unflatting. Maybe I will try the hard way and implement my own unflatten_compatibility_ checker before calling the LV-build-in unflatten from string. Albert Zeitlmeir ** Legal Disclaimer MAN BW Diesel AG ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager ( [EMAIL PROTECTED] ). No warranty is given that this correspondence or attachment is free from any virus. In keeping with good computer practice, you should ensure that any information received is actually virus free. Email messages may be subject to delays, non-delivery and unauthorised alterations. Information expressed in this message is not given or endorsed by MAN BW Diesel Aktiengesellschaft unless otherwise notified by our duly authorised representative independent of this message. ** Legal Disclaimer http://www.manbw.com **
First Randomizer on internet with MONEY BACK GUARANTEE ....only $2 TO JOIN
First Randomizer on internet with MONEY BACK GUARANTEE only $2 TO JOIN . Visit: http://www.rockmyway.com/[EMAIL PROTECTED] I've made $152.00 in 3 days so can you, Join me now and make some serious
Re: Can I use any acquistion card with Labview?
Now I feel the propositions are right and I get a clear idea. Thank you Nirmal Sharma, Dennis Knutson and Greg McKaskle.
Re: Spline Interpolation
HI... everybody,,, I'd like to answer my question. Can u believe that I play around this problem for 2 weeks. Then I design to use Matlab code in which it works. And at the end I realize that all of the problem only because of the data file that I load (I use German window which in Germany use (,) instead of (.)) used comma instead of point. e.g. 25.25 --25,25 So... I just change , to . and everything works fine. with spline function in Matlab and spline in Labview itself. Thanks for anyhelp.
Re: Problems using LabVIEW-built dlls in LabVIEW
I am interested in your final solution! Please keep us updated. Ben
Re: Can I use any acquistion card with Labview?
I think your propositions are right. Now, I get a clear idea of the qustion. Thank you.
Re: executable vi files in windows!
It's integrated with LabVIEW. On the menu, go to ToolsBuild Application or Shared Library
Re: Serveral questions about Labview programming
when I click it, the words (letters) on it can become bold, and when I click it again, the words (letters) on it can be changed to be not bold; There are two things to worry about here. How do you get the visual feedback you want, and how do you detect the action. Detecting the action is the same as before. You need to detect the button changes via value change events, mouse or key events, etc. Build small state machines to keep track of what you have seen and which transitions are valid. For the visual changes, most of them will be done via property nodes. Towards the bottom, the property node for a Boolean gives you access to the Boolean Text's font and to the properties like Bold that can be changed. Moreover, if I separate the panel into 3 parts by using 2 mark lines and hope to paint 3 different colors on the panel, every window having one color. If you just want three colored sections behind the controls in this panel, place three graphical decorations. LV has built in rectangular decorations, or you can import a bitmap if you like. Use the cycling arrows or Ctl-Shift-J to move the graphics to the back of the controls. If you want this color to change, use an indicator instead -- the color control works pretty well, but so does the ring, the Boolean, and the color ramp. If you want to have three panels displayed in one window, you need to look at using the subPanel feature in LV7. Greg McKaskle
Re: Problems using LabVIEW-built dlls in LabVIEW
I believe that the specifics are that a DLL of the exact same version of LV doesn't need to load the runtime into the LV dev environment. A DLL built with a different version of LV will load the appropriate runtime, since that is the version that the VIs must have. So this doesn't help much in controlling it, but I think it explains why sometimes they are in the same memory space and sometimes in different ones. We don't have any mechanism in current LV for making VIs private to a DLL or LLB. A quick and dirty fix is to change the name of your subVIs, giving them a suffix, to make them private. Greg McKaskle
Reverse of Format Date/Time String.VI
I'm looking for a VI that does the reverse job of the Format Date/Time String, i.e. converts a string with a date and a time, and with an time format-string input that describes the format of the string, and gives a time stamp as output. Anybody done this one ? Martin
bad news?
Here is an article from a recent Control Engineering newsletter... SoftWire's patent infringement lawsuit against NI to proceed Middleboro, MAMeasurement Computing Corp. and SoftWire Technology Inc. recently announced that the U.S. District Court in Boston granted on Nov. 5, 2003, the two firms' request to allow SoftWire to charge National Instruments (NI) in a pending lawsuit with infringing two patents owned by SoftWire. Judge Robert Keeton delivered the ruling over NI's objections. Subsequently, SoftWire filed an amended complaint accusing NI's LabView product of infringing two of SoftWire's patents. SoftWire alleges that LabView infringes on two virtual instrument technology patents that SoftWire originally acquired from Fluke Corp. These two patents reportedly predate the earliest of NI's patents. SoftWire is seeking unspecified damages for past sales of LabView. SoftWire is also seeking an order prohibiting NI from continuing to sell LabView.
Re: Change of VI Path Warning
Utilities is spelled differently.
Re: Database Connectivity Toolset
RL -- I will make a note of this to look into the next time we revise this manual. If you have feedback on any National Instruments documentation, you can send it to [EMAIL PROTECTED] Thank you, Kelly Holmes National Instruments
Re: my parallel port cannot work on win2000 and new pc
I typically stay away from Dell PC's. I always have problems with them.. I'm surprised to read that a new PC doesn't support Win-98. Have you / can you try Win-NT 4? I can't understand why Win2K would be different with a newer PC. The OS assigns the base address of the parallel port to a typical value of 0378h. This is for LPT1. My question would be: Are you having problems with LPT1 or do you have a PCI-based Parallel Port (to add ports)? If so, you cannot change the base address with Win-2K or Win-XP which assigns a PCI base address to the port. Can you provide more details as what exactly changes between the 2 PC's. Other than the motherboard and typical hardware (of course). How is the parallel port configured? What are you doing with it, etc? Any information that can help figure out a solution. Regards, JLV
Re: Spline Interpolation
So... I just change , to . and everything works fine. with spline function in Matlab and spline in Labview itself. Sorry it took so long to find the answer. For future reference, the Tools Options dialog has an option to use the localized decimal in the Front Panel page. This should make the default match the locale of your OS. This always gets more compolicated though since some engineering tools -- like instruments always use period, and never comma. For this reason, all of the format's in LV should support the %.; and %,; options tha you can place at the front of a string format to select what a given string operation uses. If using the Format String, the dialog will help you build it, but it should work for other formats too. Greg McKaskle
How could I copy an image under labview and to stick it right A side of old
copying shapes and stick them x times after knowing that one will differemment modify the color of each shape, I have Imaq Vision Builder
Re: how to hide mouse cursor for labview linux
Thank you for your replies. We have an embedded application with touch screen. The application is designed with LV5.1 and runs under WindowsNT. Currently we are porting the application to Linux. We want to hide the cursor, just like we did for WindowsNT. Is it also possible to change the cursor under LV5.1? Or is there another way to make the cursor invisible. Thanks in advance,
Re: my parallel port cannot work on win2000 and new pc
Some of the newer PCs (some DELLs included) have the parallel port disabled to free up some resources for other things in the system. Check in the BIOS (during boot) and ensure that the parallel port is enabled. Can you check the port with a parallel printer (or some other device)? Rob
Re: Reverse of Format Date/Time String.VI
Very simple; just wire the string to a scan from string function and extract the month, day, year, hours, minutes and seconds as separate numbers. Now the date/time to seconds function takes a cluster of these numbers and converts it to a timestamp so all you need is to bundle the numbers into that cluster and give it to the date to seconds function.
Re: Serial Compatibility VI's not working in Labview 7.0
If you use the serpdrv driver you must copy this file into the same folder where your exe is located. This is and was neccessary with all LV versions. Waldemar
Re: Spline Interpolation
Thanks for ur good solution for my OS.., Greg McKaskle
1 dimensional array in CIN
Under labview, i read a file which contains to columns of data (float64) and generate two 1 dimensional array which i want to add. I want to add these two arrays in a CIN. I have no problem to compile the CIN DLL. But i problem to work with array in a CIN. What is the structure which is correspond to the labview array of float64 ? Someone can give me a simple example which is doing the addition a the two array in the first array. Many thanks
Re: Newbie: Communicator and IBIC
Hey Nick, Please check out my response to your message in the Instrument Connectivity/GPIB forum. Scott
Re: How do I detect number of transitions in my acquired data?
I tried your second suggestion, with setting threshold and then inverting the array. It worked great, thanks for the help!
Using OpenG Toolkit with base version of LV
Hi I tried to install the OpenG toolkit. But when i start it, it is missing the Read BMP File.vi and some other vi's from the Graphics Sound palette which is not included in the Base Version of LV 6.1. Has anyone tried to fix and use it with the base version? Frank
Express 7 Student Edition Question
Hello: I'm playing around and learning LabView. I bought a copy of LabView 6i Student Edition and found that it didn't support the advanced data acquisition instruments (I wanted to used the continuous data acquisition example and it wouldn't work). Does anyone out there know if the new Labview 7 Express Student Edition supports all of the features or if it's somewhat crippled like 6i? Any info would be greatly appreciated, as I'd like to avoid spending another $70 if it doesn't. Thanks! Dan
Re: Looking for Labview Examples for At-MIO-16DE-10 and AMUX-64T
Greetings, There are a variety of documents on our website that contain information about using the AMUX-64T with an MIO device. There are also example programs that show how to acquire readings using an MIO device with the AMUX-64T. I have linked to some of better documents below as well as the AT-MIO-16DE-10 and AMUX-64T User Manuals. AT E Series User Manual http://digital.ni.com/manuals.nsf/webAdvsearch/6FB4341E8E3080F086256BD000550261?OpenDocumentvid=niwcnode=132100_US AMUX-64T User Manual http://digital.ni.com/manuals.nsf/webAdvsearch/AF2CEB4411E9D3DE862567130055EAAC?OpenDocumentvid=niwcnode=132100_US How do I Address an AMUX-64T with an MIO Board? http://digital.ni.com/public.nsf/websearch/C6D362737414AD6D862562A80070E694?OpenDocument Taking Thermocouple Measurements Using the AMUX-64T http://digital.ni.com/public.nsf/websearch/9D8232DFFE50108F86256DCD005A319B?OpenDocument I would start with making sure the AT-MIO-16DE-10 is installed and configured correctly. You can used Measurement and Automation Explorer (MAX), which is software that is installed with NI-DAQ, to configure and test the AT-MIO-16DE-10. The AT-MIO-16DE-10 user manual goes through the installation and configuration steps for the device. Then I would attach the AMUX-64T and try to acquire signals. You can use the AMUX-64T user manual and the other linked documents to help you determine how to acquire signals when the AMUX-64T is connected to the AT-MIO-16DE-10. I hope this helps. Regards, Todd D. NI Applications Engineer
Re: Problems using LabVIEW-built dlls in LabVIEW
OK, After reading Greg's response and thinking a bit, I do have a (rather cumbersome) work-around. Here goes; LV does a wonderful job of keeping tarck of all those nasty little details like what VI is really being called and are buffers allocatoed correctly, etc, etc. In your case, this is complicating yur life. You may be able to get around the issue you are facing by writting a wrapper VI that calls the DLL that has the VI you need shared. Use the wrapper VI instead of the orignal VI anyplace the original would have appeared in your code. This just might do the trick! Ben
toggle between subVI's
Hello all, I need your help! I'm adjusting, for someone else, a program built by someone else! :-S, first let me discribe the problem: I have a Main VI with 5 subVI's in the Main menu (Main VI) a Bolean turns a Case structure False or True(5 times for the 5 subVI's), in this Case structure there's a sequence struct with in there a sub VI. Two subVI's are used most frequently and I need one button or switch to toggle between them, without going back to the Main VI. what do I have to do? Both SubVI are quite large programs in an 'eternal' While Loop only to return with 'Back to Main Menu' button, constructed in the most common way (button via a 'not' to the while condition of the while loop) Thanks in advance!! Michel
Is there a Color-coding Convention for ICONs in LabView?
Some times I am puzzled with 16Million color to code my subvi's ICONs. I wonder if there is a Color-coding convention that I could use to specify the right color for my subvi's. If someone has figured out a way to do that please let me know.
Re: Bug in Unflatten from String (LV7)
Hello Albertz, This definitely looks interesting. As with any potential bug, I would recommend contacting National Instruments tech support directly via email or phone (www.ni.com/ask) so that they can document and take action on the problem. Liz F
Re: Why is my GPIB interface dead after installing LabView 6.1 when upgrading from LabView 6.0.2
Yes, I used MAX. The GPIB card shows up there. So does the GPIB instrument. I tried to test the interface with the communicate with device button. The query just timed out. We un-installed the GPIB card and then re-installed it. We un-installed all LV programs and then re-installed LV6.1. Didn't work. The next morning I tried the run NI 488.2 Troubleshooting Wizard that you mentioned above. The Card the interface tested out OK. So I tested our program again. Now it works. Hmmm. They didn't tell me it would be like this in school. I should have become an orthodontist. Everybody wants nice teeth...
Re: Tetrapolar Impedance Measurement with NI ELVIS
Greetings, I am not that familiar with bioimpedance and tetrapolar probes, but I do have experience with NI ELVIS. To me, it seems as if you are looking for something with two current outputs and two voltage inputs. If you have two constant current outputs to excite something (in your case tissue or some other biological agent) and measure the voltage across the resistance in question, you will be able to determin the resistance of the material (using Ohm's Law; V = I*R). NI ELVIS can definitely measure the two voltages using its analog inputs or the DMM. Unfortunately, NI ELVIS does not have the capability to act as a constant current source, but if you have power supply or another device to supply the current, you could definitely use NI ELVIS and LabVIEW to acquire the voltage and compute the resistance of the material in question (if you are not interested in the phase angle, it seems as if you are only interested in the real component of imedance which is resistance). We do have devices that are capable of supplying a constant current. For example, the PCI-6704 (linked below) has the ability to generate currents between 0 and 20 mA. NI PCI-6704 http://sine.ni.com/apps/we/nioc.vp?cid=10705lang=US Let me know if you have any additional questions or if I am not making any sense. Have a great day. Regards, Todd D. NI Applications Engineer
Re: Express 7 Student Edition Question
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
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 after you open the browser window and your VI should either remove itself from the front position or minimize itself. Ed
Re: Is there a Color-coding Convention for ICONs in LabView?
Actually, the colors for icons are quite limited, the max. is 256 colors. If you move around the color bars, watch the RGB indicator in the palette. It is quite quantized. Typically, I stay with a few simple colors. To make sure they are exact, I do the 16 color icon (middle) first, then convert it to 256 colors.
RE: ScrollBar
I really like the idea of the tab indicator instead of stacking invisible controls. Great idea! I learn something new everyday. Kelly Bersch Senior Technician Anadigm Telephone:480-344-5262 Email: [EMAIL PROTECTED] http://www.Anadigm.com Anadigm - The Programmable Analog Company -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, 13 January, 2004 3:31 AM To: [EMAIL PROTECTED] Subject: RE: ScrollBar I like to use a tab indicator for this type of thing. Make a small tab control, change it to an indicator. Put each of your controls on a separate page of the tab indicator then switch pages with your code as you like. Usually I set the tabs to invisible in the code when it starts to run and then visible again when it's shutting down. This way each of your controls is easily accessible during design. Often I set the color of the tab control to transparent and it looks like each control is right on the panel by itself. I just don't like having invisible controls on a panel if I can help it -- especially stacked. Roy Kniskern, Sr. Product Dev. Engineer MOOG Components Group Inc. 1213 N. Main St. Blacksburg, VA 24060 http://www.polysci.com/ (Formerly Northrop Grumman Poly-Scientific) mailto:[EMAIL PROTECTED]
RE: ScrollBar
Shankar, You wrote: ... Is there a way I can open a subVI FP, at particular coordinates or something similar to that such that it always shows Start and does an automatic scrolling? And Kelly responded: It looks like you can use a property node for the VI and select the property Front Panel Window:Origin. I haven't tried this but you should be able to make the panel scroll by changing the values in the cluster... I had a lot of trouble figuring out just what properties had to to set to what. Resize Front Panel Elements, just posted to my site, sizes it's own window to show different buttons under different circumstances. The code in the Initialize and Resize window states should show you how to do it very explicitly. Resize.vi runs when opened, so you'll have to halt it first with a CTRL-. (or CMD-.) to be able to open the diagram. And for those of you who would like to make selected front panel elements match in width or height and don't have LabVIEW 7 yet, try this utility. -- EnWirementally, Paul F. Sullivan SULLutions (781)769-6869 when a single discipline is not enough visit http://www.SULLutions.com
Re: bad news?
I should have included the link to the original article. Here it is: http://email.controleng.com/cgi-bin2/DM/y/efVG0GDREC0GXT0B6Ni0An John Howard [EMAIL PROTECTED] 01/13/04 09:00AM Here is an article from a recent Control Engineering newsletter... SoftWire's patent infringement lawsuit against NI to proceed Middleboro, MA?Measurement Computing Corp. and SoftWire Technology Inc. recently announced that the U.S. District Court in Boston granted on Nov. 5, 2003, the two firms' request to allow SoftWire to charge National Instruments (NI) in a pending lawsuit with infringing two patents owned by SoftWire. Judge Robert Keeton delivered the ruling over NI's objections. Subsequently, SoftWire filed an amended complaint accusing NI's LabView product of infringing two of SoftWire's patents. SoftWire alleges that LabView infringes on two virtual instrument technology patents that SoftWire originally acquired from Fluke Corp. These two patents reportedly predate the earliest of NI's patents. SoftWire is seeking unspecified damages for past sales of LabView. SoftWire is also seeking an order prohibiting NI from continuing to sell LabView.
Why can't I open a VI that I created on another computer?
I created my VI on my laptop, and when I transfered and tried to open the VI file from my local PC, it keeps giving me a dialog box asking me to select the fileover and over and over again. Are there some other hidden files that are associated w/ the VI? Or is it all rolled into one?
Re: Using OpenG Toolkit with base version of LV
Thanx for the answer. I don't know the lib neither the stuctures of the user.lib directory. I unpacked like this: user.lib/ oglib_appcontrol-2.1-1/ oblib_array-2.0-1/... In the toolspalette there are many question marks. Now I downloaded OpenGoop. But the examples doesn't load. MyComponent looks for Get String from Enum.vi. I located a file Get String from Enum__ogtk.vi and so on. Do I have to rename all theses Files, so they don't have the __ogtk? Frank
LabVIEW Wishlist - Last Used Functions and Controls
I would like to see a dynamic controls palette that accumulates the Last Used controls and functions. This is similar to Excels formula browser interface which shows a list of the Last Used functions at the top. I would be nice to make this somewhat customizable so I can load things into by default. This would be great as I get irritable when I have to dig down into the Queue palette every time when working with building queue code. Jack Hamilton Hamilton Design [EMAIL PROTECTED] www.Labuseful.com 714-839-6375 Office
Re: Why can't I open a VI that I created on another computer?
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, you'll need to install the toolkit or driver on your desktop also. If it's sub-vis you created, they will need to be transfered to your desktop as well. One way to this is to save the VI as a library. From the top level VI, go to the File menu and select Save with Options... In the dialog that opens, select the Development Distribution option on the left side of the dialog and hit Save. This will create a file with an .llb extension instead of .vi. This single file will contain your top level VI, as well as any custom sub-vi's that are needed. You can also include the vi.lib files (these are standard sub-vis that come with LabVIEW) if you choose, but this can make the .llb very large. Since they are included in the LabVIEW installation, you shouldn't need to this. A better way would be to keep all your custom sub-vis in the 'user.lib' directory in the LabVIEW directory and keep this directory sycronized between your computers. I use a program called TreeComp to sync them. (Freeware:-) Put VIs in your user.lib that you can reuse in other applications and put application specific sub-vis in directories under you top levels directory. If this doesn't work, provide us with more specific details of what the dialog says. Ed
Easy text Report.VI...not so easy
I'm using LV 7.0 and when I try to use the 'Easy Text Report.VI' I get this: Error -2147319779 occurred at library not registered. in font styoe.vi-set report font.vi-easy text report.vi-untitled 1. This error code is undefined. No one has provided a description for this code, or you migh have wired a number that is not an erro code to the error code input. I would appreciate any help on thistks
Re: Generating BCH Codes for Forward Error Correction
I am not familiar with BCH, however you can call C DLLs in LabVIEW as well as Matlab. So you could compile thier C code into a DLL and call it using the Call Library Function Node. For more information on that refer to a href=http://digital.ni.com/manuals.nsf/webAdvsearch/8D930295FFBF9F7686256D2C00624728?OpenDocumentvid=niwcnode=132100_US;Using External Code in LabVIEW/a Or you can call the Matlab code using the Matlab Script structure. For more information refer to the LabVIEW User Manual.
Re: Using OpenG Toolkit with base version of LV
Ok, than I will try this. Thx for the help
Re: Using OpenG Toolkit with base version of LV
Frank, I would recommend modifying your OpenG Package Installer. Simply remove the missing VIs and output default values (null pictures). Then you can use the package installer. -Jim
Re: Problems using LabVIEW-built dlls in LabVIEW
Thank you, Ben and Greg, for your effort. But my solution for now is not to use DLLs. I have only little time left for my project, so I can't spend any time in this problem. But to the idea with the wrapper VI: I don't believe that this would help, because even the wrapper VI will run in the same name/memory space. And the problem would only be moved one level down, but is not really solved. But I will come back to this problem, when I have more time and I will post it. I think there must be a solution... Thanx again, Michael
Re: Generating BCH Codes for Forward Error Correction
I should have mentioned in my post that I don't have easy access to a C compliler. That's really where my problem lies. thanks, -dave
Getting data from an XY Graph curve
I have a XY graph with the X data spaced every 0.2 (0.00, 0.20, 0.40, etc.). After I display the graph I use the curser to manually (by eye) find the inflection point in the curve (ex. 1.46). I would like the software to determine the inflection point on its own, but LabView only sees the array of points (spaced every 0.20) not in-between. Is there any way for LabView to get data directly from the curve? ( I have the Base package by the way - so no Curve fitting VIs)
Re: Problems using LabVIEW-built dlls in LabVIEW
I understand time limits! I was not clear. I meant wrap a call libray function configure to use the VI in the DLL. My fault, please forgive. Ben
Re: Problem with HP53131A Universal Counter and GPIB
How many digit precision do you get when running your vi? The asterisks may only appear to indicate that you are in remote mode. The precision shouldn't change. Have you tried displaying a reading from a vi? Then press the Local button on the instrument (actually the other feature of the Save Print button), and compare the readings. Unfortunately, my frequency counter is not yet hooked up to the GPIB card, so I cannot test out a vi. -JLV-
Re: Can i communicate with labview, using ethernet or seriel modbus.
br Hello, To communicate with a CAN/DeviceNET bus you will need an interface card in your PC. NI has such cards along with LabVIEW VIs: http://sine.ni.com/apps/we/nioc.vp?cid=1329lang=US http://sine.ni.com/apps/we/nioc.vp?cid=1311lang=US To communicate with Modbus, you will NOT need any special cards but you do need software drivers for it (you'll obviously need an Ethernet card for TCP/IP and Serial port for RS232). There are several options for these drivers, however: 1. Write your own driver VIs. You'll basically implement the Modbus protocol in LabVIEW. Modbus is a simple and open protocol. 2. Try to search the Net for such existing VIs. I believe someone has already written such Modbus VIs. 3. Use the Industrial Automation OPC Servers suite from NI: http://sine.ni.com/apps/we/nioc.vp?cid=4584lang=US 4. Use any third-party OPC Server for Modbus. NOTE: in case you opt 3 or 4 above: though you may use DataSocket in LabVIEW as an OPC Client, you may want to consider LabVIEW-DSC which has a built-in OPC Client, and hence better support for OPC. Hope this gives you some options. Regards, iKhalid /i br
Re: Getting data from an XY Graph curve
Sorry, I meant bthreshold array.vi/b also from the array palette. You migh need to multiply the array with (-1), depending on the sign of the slope in the region of interest.
Re: toggle between subVI's
Michel (spelled like a French name, n'est pas): I am not sure what you are trying to do. Perhaps an example would make it more clear. Are you trying to jump to vi2 while inside vi1, and then jump to vi1 while in vi2? If so, you would need buttons in each vi to run the next vi. Or maybe you are trying to start one of two vi's from the main loop, with the vi being chosen by some button or condition. You could put a Message Dialog Box vi inside your Case structure, asking the operator which vi to run. Does this help? If not, please include an example of what you are trying to do.
how much time do I need to process the data
Re. my previous question. I will be scanning 26 analogue channels at 7 khz into the PCI 6024E using a SCXI 1000 with an 1100 temperature module and the voltage signals going into the 1180 direct feedthrough. I would like to acquire up to 3 seconds of data at 7 khz on all 26 channels. I then would 'decimate' the 20 thermocouple channels down to a sample rate of about 700 hz from 7 khz and then display the temperature profiles on a chart and then write the data to disk for all 20 channels writing only the reduced number of samples for each channel. Two of the 7 khz inputs I would do an RMS calculation on and then display the results and also write the results of the RMS to a different file. The program then needs to be ready to sample new data again for three seconds. The computer is a P3 500 MHz with 327 MB ram. Another part of the question would be suggestions about how to write the program so that we could be sampling new data while the program is processing the old data and writing to disk.
RE: bad news?
Looks like Microsoft is trying to get into NI's space here. SoftWire is a graphical programming extension for Microsoft Visual Studio .NET Maybe NI should got after MS and Softwire on antitrust as well. Let's hope they all settle out of court. I'm just starting to get comfortable with NI. I don't want to add Softwire to the mix. Besides, [EMAIL PROTECTED] would have to be set up. 8-( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Howard Sent: Tuesday, January 13, 2004 8:16 AM To: [EMAIL PROTECTED] Subject: Re: bad news? I should have included the link to the original article. Here it is: http://email.controleng.com/cgi-bin2/DM/y/efVG0GDREC0GXT0B6Ni0An John Howard [EMAIL PROTECTED] 01/13/04 09:00AM Here is an article from a recent Control Engineering newsletter... SoftWire's patent infringement lawsuit against NI to proceed Middleboro, MA?Measurement Computing Corp. and SoftWire Technology Inc. recently announced that the U.S. District Court in Boston granted on Nov. 5, 2003, the two firms' request to allow SoftWire to charge National Instruments (NI) in a pending lawsuit with infringing two patents owned by SoftWire. Judge Robert Keeton delivered the ruling over NI's objections. Subsequently, SoftWire filed an amended complaint accusing NI's LabView product of infringing two of SoftWire's patents. SoftWire alleges that LabView infringes on two virtual instrument technology patents that SoftWire originally acquired from Fluke Corp. These two patents reportedly predate the earliest of NI's patents. SoftWire is seeking unspecified damages for past sales of LabView. SoftWire is also seeking an order prohibiting NI from continuing to sell LabView.
Re: Use of In Range and Coerce with only floor value.
For your ceiling value wire a DBL (or SGL) and enter Inf for the value (without the quotes). Tim
Re: Problem with HP53131A Universal Counter and GPIB
There is a DIGITs command that sets the resolution. After a reset, the instrument is set for 4 digits I believe. You should be able to find the command in the manual in the :Sense subsystem. I use :SENS:FREQ:ARM:STOP:DIG 6 to set my counter for 6 digit resolution on frequency measurements.
Re: Visual Calendar
LabVIEW 7 has a calander control - drop a time stamp control on your front panel (control palettenumerictime stamp), and then click the button next to the control.
Re: Use of In Range and Coerce with only floor value.
Thanks! I see, the include option is for the true/false output. I didn't think about using infinity...that's elegant enough for me. - John
Re: Labview 6.1i evaluation only good for 1 day?
No, the LabVIEW Software was never installed on this PC before. This is a Laptop PC, my own personal machine. The book lists that it is in its 5th Printing with a date of October 2002. I saw in some other threads, that this appears to be a somewhat common problem. One of the Support Personnel stated that there might be a problem with the Date/Time on the computer, but that is not the problem here. What is interesting is that I uninstalled the software, then deleted some Registry settings, and reloaded the software and got it to work, but only for another day. Might there be a problem that either the Eval software is configured to not work after a certain date, like the Eval. Version 5.0 problem I read about? Or is the Software polling a NI server somewhere, and disabling itself because a newer version (LV 7 Express) is available? Anybody have any ideas?
Re: executable vi files in windows!
That looks like the menu for LabVIEW Full version and not Professional. You're also missing the Compare and Source Code Controls items. You might want to double check your license. Does your LV install CD state Professional Development System? When you did the install, did you choose a custom installation?
RE: ScrollBar
This is an excellent suggestion. I've never been happy with making controls invisible or hiding them off-screen. That strategy seems to violate the whole point of data flow. Johann Junginger. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 05:31 To: [EMAIL PROTECTED] Subject: RE: ScrollBar I like to use a tab indicator for this type of thing. Make a small tab control, change it to an indicator. Put each of your controls on a separate page of the tab indicator then switch pages with your code as you like. Usually I set the tabs to invisible in the code when it starts to run and then visible again when it's shutting down. This way each of your controls is easily accessible during design. Often I set the color of the tab control to transparent and it looks like each control is right on the panel by itself. I just don't like having invisible controls on a panel if I can help it -- especially stacked. Roy Kniskern, Sr. Product Dev. Engineer MOOG Components Group Inc. 1213 N. Main St. Blacksburg, VA 24060 http://www.polysci.com/ (Formerly Northrop Grumman Poly-Scientific) mailto:[EMAIL PROTECTED] Original Messages: == Are all of the buttons ever visible at one time? Could you stack the buttons and only have the one you need visible so scrolling isn't necessary? I have a subVI(X) that takes in inputs from the user in a particular order. I have buttons and controls hidden which become visible as and when the user has to enter the data. As this happens, certain buttons that appear are beyond the window size and user needs to press the scroll bar as he proceeds with the experiment. Is there any way I could automate the movement of the ... Roy Kniskern, Sr. Product Dev. Engineer MOOG Components Group Inc. 1213 N. Main St. Blacksburg, VA 24060 http://www.polysci.com/ (Formerly Northrop Grumman Poly-Scientific) mailto:[EMAIL PROTECTED]
Re: LabVIEW Wishlist - Last Used Functions and Controls
Jack Hamilton [EMAIL PROTECTED] wrote: I would like to see a dynamic controls palette that accumulates the Last Used controls and functions. This is similar to Excels formula browser interface which shows a list of the Last Used' functions at the top. I would be nice to make this somewhat customizable so ? I can load things into by default. This would be great as I get irritable when I have to dig down into the Queue palette every time when working with building queue code. Just curious, what is wrong with: Right click and nail the function palette Open it for the functions you want Right click and nail another function palette Open it for the functions you want Right click and nail yeat another function palette Open it for the functions you want Except for: - It is not dynamic (but it is customizable) - It takes some place on the screen Work for controls also. -- Rolf
RE: LabVIEW Wishlist - Last Used Functions and Controls
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 Integration, Inc. - NI Alliance Member Cedar Falls, Ia. DISTek Phone: (319) 266-7333 x115 DISTek Email: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 11:45 AM To: [EMAIL PROTECTED] Subject: Re: LabVIEW Wishlist - Last Used Functions and Controls Jack Hamilton [EMAIL PROTECTED] wrote: I would like to see a dynamic controls palette that accumulates the Last Used controls and functions. This is similar to Excels formula browser interface which shows a list of the Last Used' functions at the top. I would be nice to make this somewhat customizable so ? I can load things into by default. This would be great as I get irritable when I have to dig down into the Queue palette every time when working with building queue code. Just curious, what is wrong with: Right click and nail the function palette Open it for the functions you want Right click and nail another function palette Open it for the functions you want Right click and nail yeat another function palette Open it for the functions you want Except for: - It is not dynamic (but it is customizable) - It takes some place on the screen Work for controls also. -- Rolf
Does anyone know how to detect plateaus in signals
I need to detect a plteau (or multiple plateaus) and output the index of the first and last numbers of that plateau (similar to peak detect program, except a plateau).
RE: LabVIEW Wishlist - Last Used Functions and Controls
The issue is those little palettes clutter up the screen. I find myself leaving the queue palette on screen, using it 2 or 3 times, then after 20 minutes I get sick of it being in the way and I close it. Invariably, I seem need it again right after that! Jason Dunham SF Industrial Software, Inc. [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 9:45 AM To: [EMAIL PROTECTED] Subject: Re: LabVIEW Wishlist - Last Used Functions and Controls Jack Hamilton [EMAIL PROTECTED] wrote: I would like to see a dynamic controls palette that accumulates the Last Used controls and functions. This is similar to Excels formula browser interface which shows a list of the Last Used' functions at the top. I would be nice to make this somewhat customizable so ? I can load things into by default. This would be great as I get irritable when I have to dig down into the Queue palette every time when working with building queue code. Just curious, what is wrong with: Right click and nail the function palette Open it for the functions you want Right click and nail another function palette Open it for the functions you want Right click and nail yeat another function palette Open it for the functions you want Except for: - It is not dynamic (but it is customizable) - It takes some place on the screen Work for controls also. -- Rolf
Out of memory error
I'm trying to run a perl script from the System Exec VI and keep getting an error code of 2 (Out of memory). I can run the script just fine from a command prompt window. I can start other things like Notepad from the System Exec VI without any errors. Any ideas? George
PLEASE HELP
Dear, I am Hajia Mariam Abacha, the widow of the late Gen. Sani Abacha, former Nigerian Military Head of State who died mysteriously as a result of Cardiac Arrest. Since my husband's death, my family is under restriction of movement and that notwithstanding, we are being molested; policed and our Bank Accounts both here and abroad frozen by the Nigerian Government. Furthermore, my eldestr son was in detention by the Nigerian Government; released and subjected to all kinds of letigation demanding refund of money perceived to be my late husband's. Following the recent discovery of my husband's Bank Accounts by the Nigerians Government with Swiss Bank in which the huge sum of US$700 Million and Dutch 450 Million was logged. I therefore decided to contact you in confidence that I was able to move out the sum of US$23.5 Million Dollars, which was secret and is sealed in two Metal Boxes for security reasons. I personally therefore appeal to you seriously and religiously for your urgent assistant to move this money into your country where I believe it will be safe since I cannot leave the country due to the restriction movement imposed on members of my family by the Nigerian Government. Once you indicate your interest to assist me in this transaction I will give you my family Lawyer's contact phone and fax numbers with the Chambers address. He will arrange with you for face to face meeting outside Nigerian in order to liaise with you toward effective completion of this transaction since my movement is restricted and my telephone conversation is bugged/ monitored. However, arrangements have been put in place to move this money out of the country in the secret vault through a security company abroad and as soon as you indicate interest, my Lawyer shall send you relevant documents and other related materials so that you can help to claim the Luggage/consignment. Conclusively, we have agreed to offer you 30% of the total sum, while 60% is to be held on trust by you until we decide on a suitable time to meet and the type business investment to put on my share of money in your country. 10% is mapped out for internal and external expenses. This might sound a bit confusing to you but I assure you that my lawyer will put things in perspective such that you will have nothing to worry about. I hope my humble appeal will meet with your kind consideration. Please direct your urgent reply to my E-MAIL: Treat with absolute confidentiality and sincerity. Best regards, Hajia Mariam Abacha.
RE: Out of memory error
I figured out what was wrong. I was calling perl incorrectly. Oops. It's still curious that I got and Out of memory error. I guess LV couldn't figure out what else to call it. George -Original Message- From: Seifert, George Sent: Tuesday, January 13, 2004 1:53 PM To: Info-labview (E-mail) Subject: Out of memory error I'm trying to run a perl script from the System Exec VI and keep getting an error code of 2 (Out of memory). I can run the script just fine from a command prompt window. I can start other things like Notepad from the System Exec VI without any errors. Any ideas? George
Re: Last Used Functions and Controls -- have you used LV7.0?
And the ability to get multiple functions at once! shift-click and get the create, enqueue, dequeue, and destroy. There's a feature in LV7.0 for the diagram (doesn't work on controls) that you right click and you'll get the palette that the object came from. So if you drop Enqueue from the palettes, right click on Enqueue and the Queue palette will be in your popup list. Saves having to pin and puts deep palettes fairly close at hand. In general, our observation is that you don't really want the same icon you've used most recently -- people who want that tend to copy/paste -- but rather other things associated with your most recently used. We've got some ideas for continuing along this line of palette development, but I thought I'd point out one that's available today. Pojundery, Stephen R. Mercer -= LabVIEW RD =-
Re: 1 dimensional array in CIN
Under labview, i read a file which contains to columns of data (float64) and generate two 1 dimensional array which i want to add. I want to add these two arrays in a CIN. I have no problem to compile the CIN DLL. But i problem to work with array in a CIN. What is the structure which is correspond to the labview array of float64 ? Someone can give me a simple example which is doing the addition a the two array in the first array. The manual for External Code should have examples and documentation about arrays. Another way to learn about this is to use the Create .c file option at the bottom of the popup menu. To use this, wire things up, then popup and create .c file. Don't save over your existing file, just put it in a temporary to read or copy from. Greg McKaskle
Re: Changing data point on Graph using a mouse to select pts
I would like to be able to add a point to a (overlayed multiplot) graph using the mouse cursor to select a point. Additionally it would be most useful to be able to select a data point in order to delete it and/or replace witha new poistion by enterering x,y values or clicking on the graph. This is a last minute VI I try to get running for data cleaning/reviewing on garph (in my case EKGs). You will need to have some buttons to do the add and delete, and the easiest way to point to something on a graph is to use a graph cursor. Rather than just clicking on the graph, you grab the cursor and drop it on the graph where you want to affect. You can have the cursor free, snapping to any plot, or locked to a single plot. The cursor display also has numeric displays you can type into. I believe some VIs were written to map between a pixel point and the graph scales values, but I'm not sure how thorough this VI is or where it it located. Greg McKaskle
Re: NImax.exe has generated errors. You must restart the program, a log file is being created.
There are times when your max or labview gets corrupted Format your PC and start installing windows/OS,and install labview All the best