Jump to content

fbrandeber

Members
  • Posts

    17
  • Joined

  • Last visited

    Never

Everything posted by fbrandeber

  1. Thanks for all the suggestions! :-) I would like to get the functions that LTR provided, but they are closed for business... sigh They were in LTR Volume 8 Issue 3 or LTR CDROM Lib of Back Issues. Anyone know how I could get just the VIs? Best regards, fbrandeber@elmwi.com
  2. Hi, I have created an application that will become an executeable. I currently have 8 sets of values that I would like to put in an init file, and loaded each time the exe runs. I would like it to be a textfile, so it could easily be edited by the user, but that is not a requirement at this time. The main thing is that the user can change any of these values and have them restored after a restart. I currently have the following to init: A small tab delimited text file Two path statements A small integer array A small floating point array A boolean Two single integers I would like to know what is commonly done for init files, and how best to do this one. My ideas so far are messy. :-) I can change the application to suit, no restrictions there that I know of. It is a custom monitor and logging app. I did a search of this part of the forum, but did not see anything pertinent. This seems like the place it should be.? Fred
  3. I am working on a LV runtime system to monitor a remote device with only a phone line to access it. I would be particularly interested is examples of doing dialup in a LV8 pro generated runtime program... and the answering code. Currently all my user seems to want is to look at the LV8 screen remotely, speed does not seem to be a big issue. I have not done any remote communication with LV before. Currently this is expected to be done exclusively on Windows machines, so platform is specific. I would like to use the modem built into the machines used. The remote machine is expected to be a newly purchased laptop which I now have. ALternate ideas using dialup would also be appreciated, such as just accessing a data file. I am fishing here, because my skimming of this board and other sources has so far produced very little. Examples would be most appreciated ! Best regards, Fred
  4. Michael, You are correct, I had not considered that, thanks for the timely post! :-) Slowly I learn... Best regards, Fred
  5. Interestingly, I had tried that, but because I had hidden the "index display", the option was greyed out, except at the very top edge of the object... sigh.. as I found out much later. Thanks for the encouragement! Fred
  6. YES, that is what I was trying to say... Still learning to communicate... Currently I have a "maintenance" section of the front panel with this in it. It will only get changed when a box or chassis changes... I am guessing I won't have any trouble getting this into my .exe, but have not tried yet. I have yet to seriously tackle the process of generating an .exe, with all its' details. My few trials, while successful, made it seem pretty non intuitive to me. Been focused on getting the program functional first. It is essentially a data logging application, catering to a special scenario. tnx, Fred
  7. jimi, I read that array to determine the order and identity of 5 hardware data acquisition boxes via USB. I do this every few seconds. If I can read the array at will, I can handle the rest. Fred
  8. Not sure I understand all that, but I naturally changed the low number to 0 right away. The problem I am having is that I need to read that array periodically... I cannot seem to do that, seemingly because the only time the array is seen is when there is a value change.. So much for my specification document.. sigh... How do I handle that? Fred PS. I also hid the up/down buttons, to stop the frustration factor if a duplicate is in the way of the desired setting.. :-)
  9. Hello, I have a situation where the user needs to input a unit number to each of 5 devices. Unit numbers can be 0-15. I need to warn/block duplicate number entries. Any suggestions or comments appreciated. newbie, Fred LV8
  10. Thanks to ALL! :-) I have generated a LV8 version of my interpretation of JP's suggestion and attached it. It did not occur to me until later that I was given a requirement this does not fill easily. Perhaps someone can help me implement it. In my example I just put a flashing lamp for the function to be performed. It appears to work fine, but I am also supposed to perform the function(collecting data from several acquistion boxes via USB) as soon as the program starts, sort of a baseline. . . Right now the only way I can think of to do that is put a copy of the elaborate function outside the loops, so it runs once immediately. Perhaps someone can point me to a better way? Thanks again, Fred Download File:post-4712-1154577090.vi
  11. Hi, I have a fairly long timer running in a while loop. (10 minutes) At the end of the programs' use, how does one avoid having to wait as much as 10 minutes for the vi to stop? Nicely, of course. :-) semi-newbie, Fred
  12. Being a newbie, I have run into a problem I don't know how to deal with. Having created an app. without the project manager, I created a project via the executable wizard. This has worked fine on simple vis for me. However, when I try this with my first application with subvis and data files I hit a problem. Following the "building a stand alone application" instructions, things are okay until 5c. I have no files except my main vi listed in the project files tree. I see no way to change that. The files are in the same folder as my main vi. I have looked around in this section of LAVA, and NI's support section, no luck so far. I am using LV 8.01, WinXP, and have modest experience with LV. I could sure use some clues as to whether I went wrong or what. I would like to make a decent attempt at creating an .exe, before I call NI engineers. This has me stalled. Fred :headbang:
  13. Pete, Thanks for the info! I sure missed that, I fully expected "fully functional" to include the serial port functionality.. sigh. Just to reiterate, I have used a windows program designed for it to access this device, so cable and port and device all work fine. I located and installed without any apparent error the serial driver ver 1.71 ..... No change in the error message from the advanced serial vi... :-( I am beginning to think it is deliberatly disabled somehow.. I wish they had made that clear up front ! THANKYOU all, for you kind assistence! I had hoped to practice with a real world device, perhaps I should have known better. Guess I will just have to wait until our purchase goes through. Best regards, Fred
  14. Yes, as I mentioned in my post, I entered the parameters given in the device manual. I have tried variants with no peceptable effect. The vi does not seem to be able to access the port, for no apparent reason I can see... sigh-1073807339 is the number, which seems to equate to "timeout before completion", which does not tell me much. I am expecting the "express serial r/w vi to access my machines' serial port.. I hope that is what is supposed to happen. Lots of things have changed in the 12 years I have been away from labview! I used to use something similar without difficulty in the early versions of LV. Fred
  15. Hi, Calling the express r/w serial vi and entering setup parameters, followed by clicking on run, immediately gives me and error message window with no message. It just shows a large negative number, which appears to be coming from the error out port on the init subvi. The serial device, and cable works with a windows program written for it. A windows serial port monitor program and my serial port breakout box both indicate the express serial vi does not access the port. The machine I am using is a hp750n, software is LV8 30 day demo. I am a newbie, hope someone can help me over this bump in the road to working with LV8. :headbang: Fred
  16. Hi, Calling and putting in parameters in the express vi, and clicking on run, results in and immediate error with no error message, just a large negative number, which appears to come from the error out port on the initialization vi. I am new to current labview, used it over a decade ago. Hardware I am trying to access works with a windows program written for it. Windows serial port monitor indicates, as does my port breakout box, that the vi does not access the port at all. Machine is an hp750n Pavilion. I am running the 30 day demo package of version 8.02. I am hoping that someone can push me over this bump in the road to using a current version of labview. :headbang: Fred
×
×
  • Create New...

Important Information

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