Jump to content

TobyD

Members
  • Posts

    636
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by TobyD

  1. QUOTE(mesmith @ Feb 21 2008, 06:51 AM)

    I'm no expert here, but it seems like you could put a precision resistor in parallel w/ the resistor under test and use

    Req = Rt * Rp/ Rt + Rp where Req is the resistance measured, Rt is the DUT, and Rp is the precision resistor. Then solve for Rt. Size the precision resistor so that the Req is always under 10K even when testing the 300K resistors - this should be a little more than 10K for the precision resistor.

    Mark

    That's the same idea I had. You'll lose some resolution in your measurements, but it should still be close enough to get the job done pretty well.

  2. QUOTE(NickyD_83 @ Feb 13 2008, 01:57 PM)

    Instead of dragging and dropping the file into my labVIEW program, I'd like to just have the VI/Exe running in the background, and whenever I hit Ctrl-Shift-M. The file I currently have selected in Windows Explorer, It's path gets copied into my LabVIEW program, and then the program runs once.

    I don't know of any way to programatically determing which files are selected in windows explorer. There are many third party replacements to windows explorer that will give you access to this functionality, but I think windows has it locked down.

  3. QUOTE(crelf @ Feb 13 2008, 06:59 AM)

    What version are you using? what was the problem that you heard?QUOTE(Holograms2 @ Feb 14 2008, 04:35 AM)

    Problem is that I can't seem to find the Imaq fit ellipse function or Imaq fit circle functions. I'm guessing if I have an older version it'll be a tad more complicated to do this.

    Just been told that best way would be to plot a Gaussian graph of x components, and then y components and work that way rather than using an ellipse fitting function.

    Wow, you managed to not answer either one of these questions. I assume by components you mean coordinates. Although this approach may work, I think the IMAQ Fit Elipse function would be much easier to configure.

  4. QUOTE(atilla @ Feb 14 2008, 08:58 AM)

    The first vi does not have the additional buffer. In the second I only changed the control to a constant, the buffer shows up... Looks like a bug? :blink:

    I don't think this is a bug. Take a look at ragglefrock's post above. It gives an excellent explanation of why this happens and it has helped me to grasp the concept of constant folding for the first time. :thumbup:

  5. QUOTE(boone301 @ Feb 10 2008, 10:54 PM)

    2.Why so slow when it as a vi?

    It looks like the delay on this is 100ms. Assuming you knew that your password was all lowercase, consited of only letters, and was no more than 5 characters in length it could take up to 14 days to "crack" the password.

    If you throw in the uppercase letters and the numbers from 0-9 this jumps to nearly 3 years.

    Aren't things like this against the law in China anyway?!?

  6. QUOTE(YaSmEeN @ Feb 8 2008, 11:25 PM)

    Thanks for replying.

    Are u sure that Vista compatibility officially began in LV8.2.1 ???

    Is there a method that could change Vista properity to run dsc LV 8??? i notice Labview 8 run on Vista normally .

    I appreciate your relpy

    Anybody please correct me if I'm wrong, but my understanding is that Pre LV8.2.1 was not officially supported under Windows Vista.

    Many programs will appear to run normally, but certain features will cause error messages or crashes. You can try running LabVIEW in Windows XP compatibility mode (this can be set in the properties of your LabVIEW shortcut) but that will not necessarily make things better.

  7. QUOTE(i2dx @ Feb 8 2008, 12:47 AM)

    you should think about using MOSFETs or IGBTs

    Make sure you check the heat dissipation requirements. With that kind of voltage switching through a MOSFET you'll probably need a good heatsink - Still I think this would be a much better choice than a relay.

  8. QUOTE(MikaelH @ Feb 5 2007, 02:03 PM)

    Hi guys

    I came up with the name TestStand Light, when a customer (Ericsson Mobile Platform, Sweden) needed a test-executive

    that was based on readable test sequence files. They wanted the sequence files to be read and modified by notepad.

    I made a ScriptRunner application that parsed the text files and executed the tests.

    E.g.

    TEST

    {

    SetVoltageApp(20)

    $Result=TcCurrentConsumptionsApp(21)

    if ($Result.TestStatusResult=PASS)

    {

    println("TcCurrentConsumptionsApp Result=PASS")

    for each $Temp in {85,-30,-20,25}

    {

    SetTemperatureApp(28)

    for each $Volt in {2.5,2.7,2.75,2.9}

    {

    SetVoltageApp(31)

    $XO=TcXoFrequencyApp(34)

    TcTxPowerVsFrequencyApp(35)

    }

    }

    }

    else

    {

    println("TcCurrentConsumptionsApp Result=FAIL")

    }

    SendMailApp(41)

    }

    But too make it easier to create scripts like this, I made a GUI for that. "TestStand Light"

    Have a look at this ppt http://lavag.org/old_files/post-941-1170712458.ppt'>Download File:post-941-1170712458.ppt

    (It's a quick swedish to english translation, just for you guys ;) )

    The problem is that Ericsson owns this code, but if I have time I might be able to recreate it (not copy) and share it.

    Cheers,

    Mikael

    Ps But I'm now upgrading the LabVIEW UML modeller to be integrated in the LabVIEW project environment, and that will probably take all my spare time

    Hi Mikael,

    Sorry to ressurect this thread, but I am working on a project that is very similar to the idea of TestStand Lite and I'm just wondering if you ever got a chance to recreate all or part of what you had done. I would love to take a look at it and pull some of your ideas.

    I am using the "sequence file translator" funtionality of TestStand to come up with a custom text based sequence file that gets translated to a TestStand sequence file. The idea is that not everyone in the company will have to know/own TestStand to benefit from what it can do. Eventually I would like to have some sort of GUI to aid in creating the text based sequence files, but for now I am working on getting the text file format defined and parsing properly into TS.

    Any ideas and/or lessons learned that you can pass on to me would be helpful.

    Thanks,

    Toby

  9. QUOTE(YaSmEeN @ Feb 6 2008, 04:41 AM)

    hi all

    I have to build scada system with labview 8. So i start with( dsc Getting started)but I have some problems in Creating a Periodic I/O Server when I Click the Build button (step 8) an error appear

    what I should do to solve this error??

    please help

    It appears you are running Windows Vista and you say you have LV8. Although it may not be relavant to your error message, Vista compatibility officially began in LV8.2.1. You may need to upgrade LV or "downgrade" windows (some would consider going back to XP an upgrade).

  10. QUOTE(ayoobkhan @ Feb 4 2008, 10:00 PM)

    I have to build a VI for predicting the missing (cancelled) portions of a signal by using AR/MA algorithm.The signal is available with some gaps.

    ayoob khan

    I hope it goes well for you. If you have any questions let us know.

  11. QUOTE(TobyD @ Jan 30 2008, 10:15 AM)

    I'm trying to debug a compiled LabVIEW dll. More specifically the dll that is built by the TestStand Sequence File Translator Example (text based LabVIEW version of the example) that ships with TS 4.0.

    I have recompiled the dll with Enable Debugging and Wait for debugger on launch enabled in the build specifications. I then launch the Debug Application or Shared Library window from LabVIEW (in the Opertate menu) and run TestStand (which calls the dll). Nothing happens - the dll runs as expected but I am not able to connect to it for debugging.

    I have never used the Debug Application or Shared Library functionality and I'm not sure if I'm doing something wrong or if this is even possible (although the help files lead me to believe it should work). Any nudges in the right direction?

    I finally got it working so I thought I'd answer my own question here in case anyone needs it in the future...

    1. Before compiling the DLL, set Enable Debugging to true in the build specifications and set breakpoints near the beginning of any functions that you want to debug (or set Wait for debugger on launch to open all functions for debugging).
    2. Compile the DLL and move the DLL and all support files to the directory from which the DLL will be called (you can also build your project directly to the calling directory).
    3. From any LabVIEW project/application select Operate --> Debug Application or Shared Library...
    4. Run the program that calls your DLL (in my case this was TestStand)
    5. Push the Refresh button in the shared library debugger and you should be able to select your DLL from the list and debug

    Step 2 is what had me stuck. Apparently the ini file tells the DLL to run in Debug mode so it has to be in the same folder that the DLL is being called from.

    Thanks to James Ramsey of NI for helping me out on this one.

  12. QUOTE(Ronnie @ Feb 1 2008, 01:16 PM)

    Does anybody know how I can open a Word document and find text within the document (using ActiveX?)?

    If the text is found, I want to display it in the Word document./QUOTE

    Perhaps I'm missing something, but if text is found then it is already displayed in the Word document...Isn't it?

    Search the examples for "Microsoft" (turn on the ni.com examples as well) and there is one called "Reading Data from a Microsoft Word Document" that should get you started.

  13. QUOTE(tcplomp @ Dec 28 2007, 11:12 AM)

    The quote begins with QUOTE. If it ended with END QUOTE or /QUOTE that would be fine.

    QUOTE(crelf @ Feb 1 2008, 10:18 AM)

    I wonder if the original and reply could be different colours? I was thinking that different fonts or bold/notbold, italic/notitalic might be and idea, but they are things that can actually be changed by the poster, so that wouldn't be a good idea.

    --- Original Post Ends Here ---

    I actually like the way this comes out, but as jzoller said, workarounds != native support. :)

  14. QUOTE(CTITech @ Jan 31 2008, 12:21 PM)

    im pretty new to labview 8.5 and im trying to take some low voltage i/o inputs and log the data in excel, sad to say its not goin to well. Any help would be great.

    Can you show us what you've done so far? Are you writing to a .csv file or a .xls file? The .csv format is much easier to deal with (not to mention faster) in LabVIEW. Check out Write to Spreadsheet File.vi located on the file I/O pallette.

  15. I'm trying to debug a compiled LabVIEW dll. More specifically the dll that is built by the TestStand Sequence File Translator Example (text based LabVIEW version of the example) that ships with TS 4.0.

    I have recompiled the dll with Enable Debugging and Wait for debugger on launch enabled in the build specifications. I then launch the Debug Application or Shared Library window from LabVIEW (in the Opertate menu) and run TestStand (which calls the dll). Nothing happens - the dll runs as expected but I am not able to connect to it for debugging.

    I have never used the Debug Application or Shared Library functionality and I'm not sure if I'm doing something wrong or if this is even possible (although the help files lead me to believe it should work). Any nudges in the right direction?

  16. QUOTE(Justin Goeres @ Jan 30 2008, 07:39 AM)

    Do any of you righties find it easier with your left side?

    I'm a "righty" and can do it with my left foot/hand, but it's a bit rough. Theres no hope at all with my right hand/foot. My foot changes directions smoothly and there is nothing I can do to make it stop. :wacko:

  17. QUOTE(rolfk @ Jan 29 2008, 10:55 AM)

    Why do sara and jennifer post quite similar requests here. I get this feeling that sara learned from the reactions and now got an identity change and tries to at least show that she did a little work before asking questions. Still!!

    Rolf Kalbermatter

    That's exactly what I thought! It must either be the same person, or they have the same professor. :gathering:

  18. QUOTE(Justin Goeres @ Dec 17 2007, 04:13 PM)

    If you're only ever interested in replacing the last line here's one way:

    post-2992-1197936683.png?width=400

    Note that you'll have to change the constant 0 to a 1 if your string already terminates with a CRLF (or do something slightly more elegant in general :) ).

    I found a bug in this implementation so I thought I'd post the fix back here in case anyone else needs this code in the future. The example above works fine if every line is unique. However, if your string contains identical lines, any data past the first instance of that line will be lost. By keeping the string reversed when you call Match Pattern you will find the match closest to the end of the original input string.

    post-8758-1201214336.png?width=400

    Note: The constant wired to Pick Line is the index of the line you want to replace - counting up from the last line in your multiline string (Last Line=0, Second to Last Line = 1, Etc).

  19. QUOTE(yasmeen85 @ Jan 24 2008, 11:55 AM)

    Thanks for your replying...

    But I'm using Labview 8.0 so the file can't open...

    Can you please attach the example in version 8.0 or put the pictures of it..

    Thanks again

    I just reformatted my system and only have 8.5 installed. The picture I already posted is the example. It just shows you how to convert the data from a string (pulled from your table) into a timestamp.

×
×
  • Create New...

Important Information

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