Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by sydney

  1. sydney

    web server

    I am reading a couple of tutorials on deploying an application as a web service and noticed that the instructions obviously are for a windows environment and refer to using the Silverlight browser plug-in to 'enable and configure the Application web server'. I am using LabVIEW 2010 PDS on a linux machine and will need instructions on how to do this on a linux machine.
  2. sydney

    execution error

    I have linux 2010 PD systems installed on two CentOS 5.3 OS systems. On one system I have a fairly large project that compiles and run from the development environment with no problems, but when I build the executable file and run it I get error loading VI where Get Text Rect.vi, Error Code Database.vi and NI-FileType.lvlib. Thjis same file does run OK with no such errors when run on the other CentOS machine. I looked at /usr/local/natinst directory to see if the library file was there but I could not see anything different between the two machines. My next thought was to completely uninstall the LabVIEW PDS and reinstall it. Any other ideas on this problem?
  3. I have a MC Listbox with 8 rows and two columns with the text in each cell set with center justification instead of the left justify default. I had to adjust the text for each cell to achieve this; however, this was a bit of a pain. Now I need to expand to 96 rows with a vertical scroll bar and really need to set the justification on the cells in the MC LIstbox to that they are all center justified and need to do this programatically. I did not see any propertied in the MC Listbox that would help. Any suggestions?
  4. OK! I saw this option but never associated this unnamed VI being the result since I thought that the tutorial popup was being disabled... Thanks
  5. I have a LabVIEW 2009 Full Development Package running on a Linux machine and somehow i've configured the IDE to bring up a default VI when starting up the IDE! I've checked Tools -> Options but still do not see where to change this start up behaviour. Anybody know how to do this?
  6. sydney


    I have Full Development System 2009 that I have been using along with a Windows version and just noticed that I do not seem to be able to use the TDMS library in the Linux version since it is not there! Are there any plans to add this in the near future?
  7. I'm using LabVIEW 2010 on a Linux Centos5.0 machine and find the installer target option is not available in the Linux version. Does anyone know if and when this option will be made in the future? There is already an rpm for the rte environment, so maybe being able to make and rpm of the project would be the way to go.
  8. Unfortunately, my customer has a case of featuritis. The legend lets him change width since when there are 6 plots he wants to verify where any one plot is as they may be overlapping one another. To make matters worse, I'm developing on a Linux version of LabVIEW full development system (v2010) and there is a little more restriction in available fonts and sizes on these machines.
  9. I have a screen with a chart that is displaying 6 parameters out of a possible 192 parameters. I moved the legend where I could set a vertical array of 6 integer controls for transmitter number, and another veritcal array for channel number, and yet another for parameter type all placed next to the chart legend with the intent of making rows of control corresponding to the legend rows. The parameter name in the legend is updated by value change events from the first two arrays depending on what the user selects in the transmitter and channel columns. All works OK, but I have one small problem: I really would like to be able to change the height of the legend so the the six parameter names would line up better with the elements of the vertical arrays located next to the legend box. It is good enough to use as is but I still would touch up the esthetics a little to line up these items up perfectly for the finished product. The numerical controls vertical size set to 20 bits and cannot fiddled with, only the width is adjustable which is of no use. Is it even possible to fiddle with the vertical size of the legend?
  10. I did some experimenting around and found the following things had to be done after using you separate loop/ msg queue idea. I had to make a custom VI that was neither modal or free floating since I wanted the minimize icon to be used. I also had to implement a 'Singleton' pattern idea even though I am not using OOP so that the button event to bring this up will only ever bring one VI up. Then I discovered that the 'look and feel' needed another fix up so that the button event would reopen the front panel via a property node when the event was generated and the VI was in minimized state. Works great! thanks for the pointer.
  11. That is an interesting suggestion! I will experiment with it this weekend. Silly me, I really just thought that the modal button was going to do all and completely forgot about handling the events........
  12. I have a project with a producer-consumer pattern where the producer queues msgs to the consumer via an event structure and a msg queue. The consumer is also a FSM (state machine). I need to add a non-modal dialog box to the GUI so that I can recognize the events from the main GUI as well as the non-modal dialog box. I already have added modal dialog boxes which run OK, but, since they are modal, only the dialog box will receive events until I close the box. I also need to have the ability to hide or minimize the box while I work with the main GUI since I plan on this dialog box showing a list of items that the user will need to see while using the main GUI. If I bring up the non-modal dialog box in the producer event structure, I'll lock out all other events. If I do this in the consumer I'll run into other problems with the existing GUI. What I think I have to do is try to run this in another thread initiated from the event structure, but I have not yet figured out how to do this. I would love to hear some ideas on this one... In the meanwhile I'll be experimenting and checking the examples for more insight.
  13. [i did not realize that there was a RespToOutLimits.Max property! I did find the Max and Min properties, but without coercing that control didn't work as I wanted. So many properties, so little time. Thanks
  14. I did not see a property for min or max. I did find value, which should be spelled in the plural to eliminate confusion, and used that property in a for loop to changed the out of limit values dynamically.
  15. I have an array[6] of controls (SGL data type) and need to reassign the 'max value' of all 6 elements so that the user cannot exceed this value. Normally I would set the 'max value' in the data entry box and be done with it, but this has to be reassigned dynamically once the user has determined this value on the fly. I cannot think of any other way to do this except to use a 'value change?' event to compare the entered value to the present desired 'max value' and force the display to adjust the displayed value as necessary. Anyone have a simpler way to do this?
  16. Several times I've written code in C++ to make a custom stringgrid where the columns were checkboxes for T/F entry, and other columns were strings and yet other columns were dropdown list boxes of numerical values while another one was of enumerated types. I sure wish that the multicolmn list box had the ability to insert various types objects in addition to strings for each column in the list box! As it stands now I am usually making a cluster of controls (type def'd) where each cluster is represents a column in a 2D table of objects where. The gymnastics of finding the index to the control in the cluster controls[] property and then using this index into all the other clusters to process a line entry into the 2D table is quite interesting if one is basing actions on mouse events on an element of the table.
  17. I have had a need to make an array of NaNs several times and would think that this might be a useful addition to the math constants already there. It makes it easier to do checking to seem how many elements were actually assigned values at least once via the isNaN operator.
  18. I've been using CenTOS 5 with no problems and the fonts seem to be OK. Used tcpip and udp a lot and found this very acceptible for my projects.
  19. I started the example once again from scratch using free dragging cursors with the ActCrsr and Cursor.PosX properties and got the position of both cursors. I think what I did was to use a single or multi plot cursors and then tried to change to free dragging without deleting and recreating a new cursor. Your three examples basically do the same thing and I thank you for your feedback. BTW Montreal is quite beautiful...
  20. I'm using 2009 version: excuse miss print. The cursor window does show the correct X values for both cursors, but the property node only shows the position of the second cursor no matter which cursor has been selected. I did not see how to get another property for cursor position, so I assumed that the position given by the property node is the position of the selected cursor. Was I wrong?
  21. I'm using LabVIEW 2010 full dev pkg to create a simple VI with a graph displaying an array of 100 random values in 1 plot, then added 2 cursors, t0 and t1, both free dragging types. The cursor legend shows each cursors x and y values as expected. Entering 0 and l into the Selected Cursor array property allows me to control one or both cursors being moved via the cursor control: OK. The Cursor.Cursor Position property shows the X and Y values for the second (t1) cursor no matter what I put into the Selected Cursor property. I would like to be able to programatically read the X value of both cursors, but have not yet discovered the answer. Can someone enlighten me?
  22. I have a GUI with an exit button which generates a value change event to close the application by doing a number of actions including a 1 second delay to allow other loops to end. I realized that the application close icon should also provide the same actions, so I added the application close event to the event handler for the exit button and then discovered that the application does not handle the application close event the same way as the exit button event! It seems that I need to modify the application close behaviour, but cannot see how this is to be done. A hint would really be appreciated.
  23. I am currently using LabVIEW 2010 Professional Development System and have created executables and installers. I now would like to know if there is a way for the installer tool to setup new directories and put files such as .INI and .LOG files that have already been created during testing so that the application, when first opened, will be able to use these files since their location is already part of the code. Also, would this also work for the Linux version? I have both of these versions and will be installing on both Windows and Linux machines.
  24. I have been made quite humble! There the answer was right before my eyes and I never saw it!!! Thanks, so much....
  25. A while back I got some feedback telling me how to add a 2nd scale to my chart displays so that I could show temperatures on one scale and mV sensor values on another scale. Now I have a need to take a chart with 6 different parameters being displayed, and, as it stands now the first 3 parameters are assigned to one Y axis scale and the last three are assigned to the 2nd Y axis scale. This is OK, but my customer has been receiving an attack of featuritus and wants to know if the two y scales can be assigned to the 6 traces dynamically! I have not found anything in the property list to be able to do this. Is this possible?
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.