Re: Application Builder for Labview 7.1
On my machine, LV7 does not load LV7.1 build file correctly. An errors pops up everytime it finds a chance. -Joe p.s. It is frustrating to keep multiple versions of LVs on a single computer. NI should at least consider to make the file format consistent among the minor versions of the same major version. p.p.s LV 7.1 does not work on Windows Me and 9x.
Re: Beep in labview.
Try to put the beep code into a separate loop. -Joe
Re: Save path of options
Don't know if such property exists, but there are INI VIs under FileIO Configuration File VIs. Just read the key and you are all set. -Joe
Re: memory allocation
Here are several tips I learned from experience, hope you find it usefull: A. Check if Array/String inputs are empty, if they are, skip the step (for example, concatenate string vi and build array vi). B. Use concatenate string and build array VIs sparsingly. C. Close unused references. D. when reading large files, read small chunk at a time. Other people may have additional tips. At the mean time, check the Application notes from Labview Help Search Labview Bookshelf Application notes and white papers Labview performances and memory management -Joe
Re: I am using the Menu Selection With Events.vi example...
If your menu tag Exit case, assign True to your Stop variable. -Joe
Re: In my table i want to make one column act as toggle button on double click event in Labview
It is quite easy, use the combination of Mouse Up event and Edit Position property. The Edit Position property returns the cell position where the mouse is clicked. -Joe
Re: Calling C++ DLL function in labview
Rolf, I have hard time to find the LabVIEW library. What's the exact name? Thanks. -Joe
Re: Calling C++ DLL function in labview
I found it. It's in Labview.exe . Thanks, Rolf. -Joe
Re: Remote Access
I would use datasocket in this case. -Joe
Re: How to add plot areas?
No, you can not add / remove plots on a Chart during runtime. You need to create multiple charts, each with desired # of plots. -Joe
Re: Save path of options
... \National Instruments\Labview 7\Labview.ini Same directory as labview.exe -Joe
Re: Remote Access
Well, It hides you from the lower level TCP/IP work, data integrety is ensured, and it is easier to upgrade your software in the future. You application can run on multiple clients without code change. -Joe
Re: Save path of options
Can you try to change it, save the option, and see if it's in labview.ini? The default options are not shown in the ini file, however, once it is changed, you can see it. -Joe
Re: Calling C++ DLL function in labview
Thanks for the info, Evan. -Joe
Re: Calling C++ DLL function in labview
Thanks for everyone's help. Here is another question. The functions in the DLL returns a pointer to an error type-def. However, labview has only limited options for the return value. Is it possible to de-reference the pointer? or is it too late once the call library function finishes? Thanks, -Joe
Re: make the DB Connectivity TS much faster!
hmm, haven't received the files yet. Maybe I forgot attach my email, here it is: [EMAIL PROTECTED] Thanks again. -Joe
Re: Calling C++ DLL function in labview
Rolf, the error type def is a record/cluster, consists of an integer and a fix length char array. -Joe
Re: remote control
It all depends on what your needs are. To remotely access / controll a VI from outside your company, you need port forward, so the server is visible on the internet. Normally your IT needs to be involved. If you want to publish / control the vi through webpage, then the labview webserver must be running, you might need the internet toolkit as well. If you want to control the remote computer in addition to controlling the VI, you can try some remote control software, such as UltraVNC (free but less secure) or Radmin (secure but not accessible through browser). You might also try out the remote panel in Labview, which also allows your to control a remote vi. Hope this helps. -Joe
Re: I want to remove buttons in favour of a Windows menu...
whater version of LV are you using? From v6 there is event structure, which allow you to track menu selection easily. You can still use the menu VIs with LV v5 and below. -Joe
Re: make the DB Connectivity TS much faster!
Thank you, Robert. I would like to have a copy as well. -Joe
Re: resize controls proportionally
Tab control is also painful to resize. I basically gave up on resizing my VIs when Tab control is used. NI said it has been fixed in LV7 but obviously they didn't do enough test. -Joe
Re: Customized button changes size on win98
Rolf, I used the dialog button. I might try using a different type when I have time. The win98 machine uses normal font size (96 pixles), same as the XP machine. Thanks, -Joe
Re: How do I get a print dialog window ?
Someone might have better answers, however, here is my 2c. To Q1, I use an application called fine print, when it set as default, it will popup everytime when there is a print opeartion and you can choose what printer to print to and set other settings as well. You can preview the print content as well. It is not free, but a very good tool. If the report generated is a word or Excel file, I believe you can use print function in either word or Excel to print. You will have more options as well. To Q2: Programetically it is not possible to directly print a graph to printer in Labview, but there are other ways. Whenever we want print lots of graphs or plots, we use a very powerful graph tool called ProEssencials. You can select which printer to use, you can export the graph to different images (jpg, bmp and emf). When plot is sent directly to a printer, you can maximize the plot without loosing details (unlike labview graph, which you capture a piture of the graph but the picture is not scalable) Hope this helps, -Joe
Re: How do I get a print dialog window ?
both tools are external applications. -Joe
Re: How do I get a print dialog window ?
Unfortunently there aren't many options except using windows API. -Joe
Re: Modifying cluster values via refnum/property node freezes VI on quit
You can create reference for individual element in the cluster explicitly. To do so, right click on an element inside the cluster, goto Create Reference. See if this helps. -Joe
Re: How to determin wich control has focus
Sometimes when you dialog controls, the last OK button added to the front panel has the focus turned on by default. You can right click on the control and select Customize Key Navigation and select None in the list. It seems you have a different problem and are using event structure. Nomally we use the Value Change as event condition. Is it possible that you may choose a different condition, such as Key Down, Key up, etc? -Joe
Re: saving excel files using report generation toolkit
It seems like you already doing it, but not complete, you need to close the report reference by using Dispose Report, one of the input for this VI is Save Change?. -Joe
Re: How accurate is the wait function when using really long waits?
You can always use a smaller wait (either wait or Wait Until Next ms Multiple) in a loop so your VI does not lock up (no response from clicks), and count how long the vi is in idle. It should be acurate enough (within 30 seoncds out of 19 minutes). If you use event in your VI, then simply wire 19 minutes to the Time Out input of the event structure. The VI only executes when either some monitored events happened or timed out. In your case, when it times out, just exit the loop. -Joe
Re: Modifying cluster values via refnum/property node freezes VI on quit
It might worth to try to close the reference after each loop. Creating a reference is an expensive (CPU cycles) operation. If the reference is closed, labview will close them when closing the VI, so, the longer it runs, the longer it takes to clean the memory. -Joe
Re: Modifying cluster values via refnum/property node freezes VI on quit
sorry, only after posting my comment did I noticed your own response. You got it! -Joe
Re: I'm haveing a problem saving my test results to excel using the report generation toolkit.
After the Save Report to File vi, dispose the file reference by using Dispose Report VI and wire True to Save Changes? input. -Joe
Re: custamizing controls
First of all, you need to right click on the control you want to customize and select Advanced - Customize from the popup menu, this brings up a frontpanel from which you can import picutres into the control (Edit - Import Picture from file). Once the picture is imported, right click on the control and select Import Picture, different control has different selection, for example, if the control is a boolean type, then you need choose a state for the picture (True, False and Decal). Import more pictures for all the states. When finished, save the control so it can be used later. Search for the application note: LabVIEW Custom Controls, Indicators, and Type Definitions, for more detailed help. -Joe
Re: Can we run two while loops independently in one application?
You could sample both channels at higher rate (4K/s), then downsample for each channel. -Joe
Re: How to determin wich control has focus
For each control and indicator there is a property, Focus. When it is True, the control / indicator has the key focus. -Joe
Re: if no screen activity happens for a predefined time show dialog
When using events in labview, only the labview application is monitored for any sort of activity. Which means if the labview application window is not in focus there will be no effect. There is a Windows API Toolkit (written in LabView) you can use to monitor any keyboard activity (regardless what application), ther is also a Mouse VI Library which monitors any mouse movement and clicks for any application. Search these two files in the Developer Exchange at NI's site. -Joe
Re: stand alone exe errors using report generation vi's
It really depends on what version of office you are using. Some methods have different set of parameters or even different names, labview does not adjust them accordingly, even though the code might execute but it will fail during build process. You must reselect the methods manually in order to build the executable. Most time you need to build different executables for each office version. -Joe
Re: How can I show every x-th point of my data measured?
Another way is to use the Decimate 1D Array. -Joe
Re: accessing parameters from activex server while running
If you can change both application, consider using datasocket. It is much easier and very reliable as well. In the VB application, add datasocket activeX control to use it, not only you can read data in labview application, you can update data as well. -Joe
Re: *.gif in Labview
You can import gif image into labview, however, there are no VIs provided by NI to read GIF files because of patent. If you want to display gifs in picture control then you can find some comercial VIs. To import it, goto Edit - Import Image from File and select a Gif file, then use Paste to display the image on the front panel. -Joe
Re: accessing parameters from activex server while running
In Labview, it is under Communication - Datasocket. In VB, I believe it is called something like Datasocket . In Labview, goto Help - Find Examples and search for datasocket, there should be some examples. -Joe
Re: How can I open a VI as an independent program out of an other program?
User VI server, under Application Control, to load and run the second VI. This way the original VI can exit after the second VI is running. For examples, goto Help - Find examples and search for VI server. -Joe
Re: I get the error code -2146827284 when trying to run an Ecxel macro from LabVIEW.
In Excel, goto Tools - Macro - Security, check all the boxes so it trust all macro source (you can test to find out which one works, or check all of them), also try to lower the security setting from highest to medium or even lowest. -Joe
Re: *.gif in Labview
There are some free graphics, irfanview like m3nth mentioned above, that you can call externally to convert a gif file to jpg or bmp so it can be loaded into labview. -Joe
Re: MSWord ActiveX
It is possible to record a macro that corrects the alignment, and call the code inside the labview. -Joe
Re: excel version at VI start
there should be some examples of using registry keys. Help - Find Example. -Joe
Re: ploting new plot in xy graph on button click
You need use the build array function to append the new plot to the previous plots. Help - Find examples has some good examples. -Joe
Re: To associate the value of a control like a value of a selector of a CASE Structure
The Case selector value can only be decided during edit mode. It can not be dynamic in execution. Joe
Re: how do I run a labview application as a server service?
Hope this link is what you are looking for: http://zone.ni.com/devzone/conceptd.nsf/webmain/A9B2FA96B851394586256B26006ECB98?opendocument Joe
Re: Black menu with Labview 7 on Win2K
In Labview 7, Tools - Options - colors, what does it show for menu background? the default should be grey. -Joe
Re: Need help trying to create a ActiveX registered event
Using the To Variant (communication - ActiveX) VI to wrap the control reference. or just use a global variable. -Joe
Re: Serial communication to read single character
Rolf is right. If you want to read a single character just wire 1 to the byte count of the serial read. But I guess you meant differently. According to the code, data loss is inevitable. Scan string for tokens returns the first token, in your case, seperated by \s \t \r \n even if multiple tokens are available. -Joe
Re: Serial communication using serial compatibility VIs does not return correct bytes at Bytes at Serial Port vi
Most likely it is because the Termination Character, if it is enabled, by default it has hex value 0x10 . If this character is presented then a single serial read only returns everything before the termination character, regardless the number of bytes available at the port. You will need to put the Bytes at port and serial read in a loop. -Joe
Re: Serial port Write then Read issue
It is device dependent. It may be turned off but may not. Some devices will return the user input as part of the output, for example, cell phones. If it can be turned off, the manual should tell you. If not, most likely it won't be mentioned. Of couse, you can always deal with it in your software (strip off the typed commands). -Joe
Re: How can I get command values from a VI executed by reference ? NEWBIE
If you have access (can open and edit the subvi called by reference), you can use either global variable, or pass the value as output (use strict VI ref when calling the subVI). -Joe
Re: Problem loading VI's on a different laptop
I think the drop shifted the arguments to the wrong places :) . Do all the old VIs experience the same problem? When you check the propery of the files, what do they show? Can you upload one small vi that we can try it out? Maybe someone has the system than can open your file. -Joe
Re: Closing excel
I believe the method to use is application.exit. You need use the Excel.application reference. If you use report generation VIs, then use Dispose Report.vi. Joe
Re: second scale on xy graph not showing up
check if this entry, EnableAutoscales=False, is present in labview.ini (in labview directory). Change the False to True if it is there. Joe
Re: Closing excel
Yes, you indeed used the Report generation toolkit. :)
Re: How to control the size/position of LabVIEW DLL front panel in MFC application?
One way is to pass the size and position as parameters to the DLL function, so when the DLL front panel lunches it changes the size and position. Also create another function (VI) in the DLL that accepts the size and position as parameters and adjust the window accordingly. Another possible way is to get a windows handle to the panel (WinAPI - FindWindowA) and then change the size and positions. I am not familiar with MFC so I am not exactly sure how to accomplish this. Joe
Re: Cutom Multicolumn list box or table
Another approach would be keep a fixed # of buttons. For example, if the list or table has 5 visible entries at a time, then just use 5 buttons, line them up with each entry in the list or table. When the list is scrolled up or down, you always know which entry is at the topmost entry, adjust your button actions accordingly. This way, you avoid maintaining an array of buttons and adjust the buttons positions due to list scroll. Joe
Re: Cutom Multicolumn list box or table
For the single column list, it is TopRow. For a multicolumn list, it is Top Left Visible Cell. Joe
Re: How to control the size/position of LabVIEW DLL front panel in MFC application?
Did you build the DLL from Labview yourself? If so, you just add another VI to the list. This VI accepts the Title of a front panel and top,left,right,bottom value of the front panel (VI property WindowBond). I'm not familiar with building DLLs using Labview so I really could not help you on how to build the DLL, but I believe it can be done (multiple VIs as multiple functions in a single DLL). To get the windows bonds for a vi, you need to use VI server property. Check out the examples under labview directory. There are plenty of them to demostrate how to use this feature. Joe
Re: Strange error with Save Report to File (html)
According to your code, the operation should work. Can you post either your vi or a picture of it so we can see what exactly are wired? Joe
Re: how to add new entry, in table on button click.
When you want to preserve the existing values in a table or array, you need to use Array - Build Array. Wire the local variable of the table or array to top entry, and wire your new entry to the bottom. Depends on the dimension of the array and the postion you want to add. You might need to some array manupilations. Try out some of the array VIs to see how they work. Joe
Re: How to import .C code to Labveiw 7 ?
You might study the c code and port the code to LabVIEW, without using DLL or CIN nodes. Check out the serial port or VISA functions from the Instrument I/O part. The output command won't work in LabVIEW, you will have to display the output yourself to an indicator. -Joe
Re: Controlling VI or front panel size when published to a web page
If you have 10 controls and 5 indicator on your front panel. Group your controls close together, group your indicators together and move them beside the control group. Now, resize your front panel so that it is large enough just to display all the elements. (To resize the panel, move your mouse to one of the corner of the window, the mouse shape will change, click and hold the left mouse button, drag mouse.) Finally, save your vi. Joe
Re: Pasting an Excel 2000 Chart into Word 2000 using ActiveX
Excel 2002 Power Programming and Excel 200 VBA are two of the books I use from time to time. The VBA Editor help file in Excel is also an excellent soure. You may need to write some VBA code yourself to copy a Excel chart into word. Joe
Re: excel version and Labview
For the Excel (.xls) file itself. If it is created with Excel97, then there should be no problem of opening it in any later version of Excel. Normally, when you use Excel components in your VI to create or read Excel file, you need to re-compile for each version of Excel. However, we have been successful so far to compile the VI using Excel 97 and be able to use it under Excel 2000 and XP. My guess would be if the VI is compiled with a lower version Excel, it would (or most of the time) work with later Excel version. Joe
Re: How to count occurences of a certain string in incoming...
The package count I used was to count # of BEXUS, not the complete package, replace the 2 with 1 should count each data package. The data file shows the time from 00:28:09 to 00:28:59, then went to 00:00:01 and then to 00:03:59. The VI assumes the package format as (each complete package is about 128 bytes long): BEXUS H M S BEXUS H M S Data (112 bytes) If this is not the case, then the VI need to be modified. Joe
Re: labview problem
There are two VIs called Wait and Wait Until Next Multiple from the Time Dialog pallette which you can use to delay your each send operation. Joe
Re: How can I programmatically change the number displayed on a digital control?
Right click on the digital control and select Create Local Variable, write to a default value if the user input is invalid. or, right click on the control and select property Data Range, you can change the data range which will be forced upon when user enter data. Joe
Re: Alignment of front panel
Labview have a very good set of alignment tools. Normally you don't have to manually select each one, just click on open space and drag the mouse so that the rectangle covers all the controls (a group) you want to align, and then use the alignment tools. However, sometimes you still have to move the control a little bit to align them. Joe
Re: Programatically advance Scroll bar in Listbox
Use the property node Top Row, this will make the input row to be the first visible row. Joe
Re: chart y axes overlap
I don't know whether this will work, but it worth the try. Put this line into your labview.ini : EnableAutoScales=False If this works, then you need to put it in your application ini file. Joe
Re: I used to working with Labwindow CVI and i would like to ...
--7281109.1077023661011.JavaMail.quiq.tekken Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Yes can use the vi server to load the vi and run it. If your vi property is set to Show VI FrontPanel when loaded then the VI is automatically shown, otherwise you will need to use the property node Panel-Open. See the attached image. Joe --7281109.1077023661011.JavaMail.quiq.tekken Content-Type: image/gif; name=Snap1.gif Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=Snap1.gif Content-Description: snap R0lGODdhoAFyAOMAAOTuxAQCBOzu7AR+BPz+/Pz+zPwC/AR+fARmZAAA ACwAoAFyAAAE/hDISau9OOvNu/9gKI5kaZ5oqq5s675wLM90bd94ru987//AoHBILBqP yKRyyWw6n9CodEqtWq/YrHbL7Xq/4LB4TC6bz+i0es1uu9/wuHxOr9vv+Lx+z+/7/4CBgoOEhYaH iImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGioxoBpqeoqaqrqKSuZwEFsrO0tba3sgGvu2OxuL/A ubzDX77Bx7W6IazMzc7P0NHSrcRLB9fY2drb3N3e2BjGttLj393iyOnq6+zqytVJ5vLz8uG/sfgF puPjIsan7QIKHDgLYEF4Sq4RWMiwocOHECNGvGYP17586PT1W1ZQX0aC/iBDJvN4ECEShQhSIpDI sqVEihc+5tKIL6NNfx0NApMpsuetmr4C0MM2rajRo89yIE2aA+XClS6jOgwAEaYFnhdp8kuGc6bX nTzb/fMYNuBYfRx9qg35zkZZszqcEoAakapUAnbxVj1Q8afWfSO5ptX49d5bdx0Jqz3btsM/wGsj j4OMFsdhdo1roFR512XevA2tVsCKUXFiWpk5PNZJEyhrgowjpxIGYixlyZJrlrxxeV3qGQoZ0tW7 kCpoVAxPFTeFVzlDhdgIEDUMbWPtY7pX9cxXGHflD7Zve/cJNNfQ8996u4t7oOHwz8SLJ58aH/7C bNKhY92K2jp47CSp/kKeYuoN9FsGZ5lmkXjIhFdgYIQdCMOD2LEnHGfy2XXcfM0xZ198olGwH4Sn 7fafWRTeQ+B4Jjp22luvpRMbbIlJ+EKKO1n41I4ZysehXvB9mFeIE4zYH4m0XZeLbsEwSGOJ2zFp 41UFoZKMdgo2WCNIs33nVk5aHVkaOlO6ENxcPPoYX31sCvkcXzGpiGSWARhg55145nmnOEzuJFuV OKoIWJ16FrpngwLSmCB5Si1J0ldBVdhUe09hqOZxznWooXE/EimBkVDSacBCdpI6KgGloj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3YO 9KHpnF8//iO6Tnjer58SbectL0pRjErUo9AkJUITqtAlMLShD9WoQFWKS4um9KUQjadLJ+pPXh50 pNQsaRJOKk+WetSnDqUpTGUaVKIKlaYctakdVam/VEpQjE+1oVSmeZcLjlOnNWDoOYnaTZeudKga PepExRpWowJzhXZpJDGjCBGqRsWtbw0iVnf6y5p6taVgjadY9WrWsvrVl2ililrzaMH69TGCNExl Uw1b2MaGkX9zPQJKc1lTiob1owOlH1+7CtSfgnSzn+1lYMNo2EmylZhmrOFpKRjJ0yL2kWec5FUj G4PJFvS2uAWsF9fqVD1CdbCSZCsTX1tGVs6WtjfKrXKX/qtU7uVFrW19Km/9GFvWopG41K0uXpBb BNsy97u3BSd0V3tYR7bWuq4V7imJeVzu+uqe8NWcSMcLSca+Vo9MJa8qIenaVf42gu11rwq8C94C Y/OmOFWdgIVAYAM7eJkITrAKFxyEBj/4whHNZYQljLUAU9hilCXoWHmZVBEXNKl4pWdt4stiVnz4 B5PFbIpJHFPwVraouPTwiw2h1bF2NaUf1SyOL5tRIXf0s0YesTqDLONg7hgUPNXrj8la44qaFbQz VXJRp3zlW+r4yYOI8pSzXFkrt9OuWF5ykkt8URN/GcyB6LEZ/4rmKm+WzjHNKD9v7GY4d6KhZs7r iEHLgde+EprKedZyn/28CUAHlaNMDqiRz8xZzAp50k228pEXzehMWLjAJsawQTutiU/bWNS7fDOp 92BqVKNa1avOQ4tnfZRY2/rWuM61rnfN6177+tfADrawh03sYhv72MhOtrKXzexmO/vZ0I62tKdN 7Wpb+9rYzra2t83tbnv721yIAAA7 --7281109.1077023661011.JavaMail.quiq.tekken--
Re: how can I allow labview to answer a call from a cellular...
The receive part I used was a cell phone and not land line one, so I do not have experience with that. If you want to do it with cell phones, then check out some GSM phones and their developer manuals (Most Nokia and Erricson phones will do just fine). However, if you are going to use cell phones, then check out the SMS (short message system) which you send a text message or email to the receipient which your system can retrieve it and do something. The cost is much cheaper because you can buy SMS devices / services. Search on the internet for SMS technology or just go to www.gsm.org . Joe
Re: 3D surface plots with intensity value to overlay at each point?
You probably can use the cursor property of the 3D surface graph. Joe
Re: Finding the generated html via www in a LAN?
This is a network setup issure and not related to labview. Please post your questions to other newsgroup. However, I'll elabrate just a little bit on this topic from my limited knowledge. Other people may have better answers than mine. Basically, the router restricts your access to the computer behind it from the internet. In order to show your computer on the internet , you need to either put it in the DMZ (de-military zone), by doing so, you expose your computer on the internet and it is very unsafe. Or, you can setup your router to allow a wan to lan access on a port where your web server is using (which can be different than port 80). Check your router manual to see how to do it. Similarly, you need to open the port 8080 for wan-to-lan access in order to use your webcam. Joe
Re: 3D surface plots with intensity value to overlay at each point?
The 3D Surface VI has a reference out, wire a property node to it and select Cursors, wire a method mode to this Cursors reference, and you should be able to add cursors with coords. Joe
Re: Finding the generated html via www in a LAN?
If you just want to see the updated frontpanel image, then it is much easier because you can save it to an image and put the image (copy or ftp) into your public html site at a regular interval. Of course, you have to write a webpage to display the image and some other data. If you want to control the application as well. The answer is no. You must contact your IT and tell them what you want exactly. They probably can work out something for you. Your application works in a lan environment because your request never went outside your lan. Joe
Re: Finding the generated html via www in a LAN?
When the labview server is running, you can go to to the menu to configure it, it should tell you what port is used. Or, Broswe in the NI's program directory, there is also a configuration file that can tell you which port it uses. For VI server port, you can check the preference setting from the Tools-Options from whithin Labview. The ports used by labview can be changed. When everything is setup and labview web server is running, you can use Http://ip:port/software.htm to access the pages. Joe
Re: Main VI stops when using control references.
Assuming you use the VI server to load the subvi dynamically, when loading the vi, the Wait to finish must be set to false, so your main loop does not wait for the subvi to finish. When the main loop is waiting for the subvi to finish, that case (loop) is halted. Joe
Re: Size Max Of a pathName for an open File
It is windows OS limitation, 128 characters for path name. Joe
Re: Event structure
--2153655.1076616571558.JavaMail.quiq.tekken Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit When one of the subvi is running, the event that fires the subvi will not be finished until the subvi is stopped. To overcome this, you can dynamically load the vi using vi server (check the snapshot for this. Note the vi path need to be the path to your vi). Joe --2153655.1076616571558.JavaMail.quiq.tekken Content-Type: image/gif; name=Snap7.gif Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=Snap7.gif Content-Description: snap R0lGODdhlwF7AOMAAOTuxAQCBOzu7AR+BPz+/Pz+zPwC/AR+fARmZAAA ACwAlwF7AAAE/hDISau9OOvNu/9gKI5kaZ5oqq5s675wLM90bd94ru987//AoHBILBqP yKRyyWw6n9CodEqtWq/YrHbL7Xq/4LB4TC6bz+i0es1uu9/wuHxOr9vv+Lx+z+/7/4CBgoOEhYaH iImKi4yNjo9SAZCTjZIilgCYlJucFpianaF5n5kVkgGoE6iWq6eZqaKxdKSgsKUUrKqksrxwrreq uKYSu8S9x22/tcKvsMXAyNFmysPBu8+g0tphz9C/t9jb4mLdrZ+rut7j62jZLObw8fLw7PU57isB Bfv8/f7/APfhizSvoMGDCBMqNGjPiL6AECMK1PJQosWLGDNqlDiwIY+K/hsjdoRScVXIkyhT8jO5 0uOJAzBjypxJEwNIfwr/jXxSsgAqlUCDcvRZ0qUJmkiT2oSorylRnTqTSp1KtapVqj1ZihTKNWPT nz6vih1LFukemATSql3LNi3MpQF/Or3pUyfFlXg50k2ZFWzXnj6pHDh7gACCwwjatn17Ya/Aul+h 4rz7uLJIxycBY+abdyeSwXrQJjasmC1jT0zn1sVpN0vJVv0iw+OquetK2IGngM4jOu3o0m53m2IK +Snrya4typ4t1Kll262lCL8jGjFwtaeHx1VNtzvlrXLN/V1NHjpy6YTX/gYek0B7mJhznr+y+bJt 5+XNt9SdXu360jO5/odWfJLFFh19txln330GQhfeRPyFVphv1rE3nSrEHddgbCkY4OGHIIYo4ogk lggiSJEN5eBt9WVmXAAmxihjjChcWAdavuVoIVwAdVfgfid8mJaHQxpQ5JEEEJmkkUsiqeSTTL6m oH5UXvSgT1A6yWSWTXbJJZEG1NgfaWQCaGMmGW6YF4cozOjmmyNq1mKVdD4EFoxw5klikmJK6F+F ZvL443OE5hYknz3MSeeiyuXwYZ+8TXidaWcSqOGaQJpg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hBNe4z1tq E5/VzCc//iNK0UyW759buRSbCMoBg1brncSIIEMvGUl6TrKk2kTpSU1Kz5Ri8psXzZ7g1CRQQ3FU AwPM6fwUOsee+rSE4MSAODcA0EHlh4M3vYBOl0pInv70qVCl49c6dzMfaRSpSb0BK6PKVa4G9QJC 8pLhxPqamcpjj1nFAFN1Sr/7ufWtCIEZVYWYVrWudYBp7Kpef/rVFmxOJHW1KwibWsO9GnaOfX0H XG0RWAowUYAxJKwTD0vZJ8YxsY2NwmPb4kckjhKkmYhmHHspT0uOdo7ejGYDMZvZJzy2nYEcZRIl 60wFvtS2C31oV0eaS6m2dg6vXWYZVQnIQqa0l1XEpCVJ/ltNRabWtMq9rT4hyVLf/jYOwWVnbDnr WVWyEpotbShye4vLKU7UoSNdIz8VyNrrLiG7gvysYkD7XVaG97zMdWNyH1rRl8KPitB17mrdi91B wla2smWncUkq4G2mV7+N7C9/I2rN6eo2ge0lMBKCG7/I5jW/+EXvce9ZURL3Nrz5xLCG3+BRatG3 womsJHVlaVqSUleK0cUxHHNJyQGvuA13xatTK3thIiMwwz8mQpAF+GEjO9TJE0yyI7YK5SqzV8qV WKyWt8xYLHv5y2AOs5jHTOYym/nMaE6zmtfM5ja7+c1wjrOc50znOtv5znjOs573zOc++/nPgA60 oAdNFuhCG/rQiE60ohfN6EY7+tGQjvSjIwAAOw== --2153655.1076616571558.JavaMail.quiq.tekken--
Re: how can I allow labview to answer a call from a cellular...
I have used labview to pick up a call on a cell phone. It is easy as long as you know the protocol used. I'm sure you can do it with landline phone/modem as well. Joe
Re: dragdrop mouse over - special effects
Unfortunately I don't have the code anymore. My harddrive was damaged sometime ago, and puff, everything was gone. Search for some examples from HelpFind Examples ... Try to search for structures or mouse. The examples are straightforward. Joe
Re: example labview VI with intensity graph for four inputs
Please learn to use the find example ... from the Help menu, search for colors, there is a VI called Create IntGraph Color Table.vi which you can use to generate the color table you want to use. Then you need to create a property node of the intensity graph and there is a property called colorTable. Wire the value you get from the other vi to this property. The VI basically cuts / divide the input of the intensity graph into 4 even quadrants (Q1 - Q4, see the coord in the vi). Each quadrants is a subset of the data you send to the graph, and each quadrants is a 2D array. As long as your data is 2D array then it does not matter what you wire in. The basic idea is to combine 4 small intencity graph into a big one, each small one occupies one quadrant. On the diagram everything inside the rectangle should be made into a subvi. To do so, select everything inside it, and goto Edit Create SubVI, Joe
Re: Ring Control displaying digital display when cleared on exit
When you clear the items, also set the value to '0'. -Joe
Re: priority in events
I am not sure you can control which event goes first when multiple comes in at the same time. Event should be use to handle simple tasks. Any time intensive / consuming operations should be put into a separate case, or even better a loop, you can put some checks there to skip them should a more important Event is detected. Joe
Re: Any way to tell when an image display has been updated?
Maybe a little bit off topic, but I remember there was a (set) VI(s) in the internet toolkit which help you to detech if there are any image (png or other type) updates. To synchronize the data and graph update, you can move or hide/show the graph everytime after each data update, so labview is 'forced' to update the indicator with latest data. -Joe
Re: Microsoft Report Generation Toolkit Error Running VI's
I would also suggest to mass compile the office VIs. Looking at the image I notied there are coercion dots which indicate the report references not quite match. Joe
Re: My data like +5.00824E-04 becomes 0.00 after through Extract Numbers.vi (labview 7), what is wrong?
Extract Numbers.vi simply demostrate extracting decimal numbers. It is not used to extract exponential numbers. To do this, you need use the BFract/Exp string to number.vi/B from BString String/Number conversion/B. Or Bthe Scan From String.vi/B -Joe
Re: How do I call another event from the current event in an event structure ?
You need Labview 7. 1) using dynamic event or 2) using value (signal) as an event condition. any changes to the value will signal the event -Joe
Re: Automation close (windows) does not work.
Have you test your vi over long period of time? Did you see the memory increased steadly? Or does it go to a level and then drop back to a lower level? From what I tested, it seems the memory does not increase all the time. The memory usage increased to a certain amount and then maintain that level (decrease and increase to that level again). Therefore I don't think there is a memory leak. The memory profile I did also does not indicate any memory leak. -Joe