Jump to content

Phillip Brooks

Members
  • Posts

    899
  • Joined

  • Last visited

  • Days Won

    50

Posts posted by Phillip Brooks

  1. Anyone have experience with automating salesforce.com login or data loading?

     

    I've been looking at some really cludgy PHP / Mozilla automation that fails with various timeouts, seemingly insignificant web page layout changes, Mozilla auto-update or phases of the moon :P.

     

    I did some simple stuff a year or two ago with Agile, but salesforce.com seems to use different authentication.

  2. Maybe some will never need to take a physical, on-site test again...

     

    Certified professionals can recertify and maintain their certification status by participating and completing approved activities that earn and accumulate points redeemable towards recertification. For information on recertifying with points, click here to download the full policy. 

     

    Klout, anyone?

  3. Labview has no way to create callbacks that can be called from external code (the exception being some .NET functions). You need to create a dll wrapper that supplies the callback function and proxy it via a LV prototype (e.g. an event using PostLVUserEvent) which can then be used to get the callback data.

     

    If there is an equivalent .NET function, you maybe able to use the callback primitive in the .NET pallet to interface to it. 

     

    found on stackoverflow: ( http://stackoverflow.com/questions/187768/can-i-show-file-copy-progress-using-fileinfo-copyto-in-net )

     

     

    FileInfo.CopyTo is basically a wrapper around the Win32 API call "CopyFile" in the kernel32.dll. This method does not support progress callback.

     

    However, the CopyFileEx method does, and you can write your own .NET wrapper around it in a few minutes, like it is described here: 

     

    http://www.pinvoke.net/default.aspx/kernel32.CopyFileEx

  4. I posted something similar on the NI forums several years ago.

     

    Someone pointed out to me there that some apps will generate opening and closing quotes (rather than just straight quotes) when saving as CSV.

     

    Here is some opening and closing quotes data based on the wikipedia entry for CSV files example that you could test with:

     

    Year,Make,Model,Description,Price1997,Ford,E350, “ac, abs, moon”,3000.001999,Chevy,“Venture ““Extended Edition”””,“”,4900.001999,Chevy,“ Venture ““ Extended Edition, Very Large”””,“”,5000.001996,Jeep,Grand Cherokee,“MUST SELL!air, moon roof, loaded”,4799.00

     

    My VI can be found here:

     

    http://forums.ni.com/t5/LabVIEW/Read-csv-file-with-double-quotes/m-p/1591640#M580390

  5. I had (but lost) some VIs that were knock-offs of the DB Tools List Table and the related Schema VIs. I recreated them fairly quickly this morning.

     

    These schema queries return all of a type for a DB, which includes internal. Your tables and views will normally be of a type "dbo". You will have to filter for those in LV. I tried to query my DB for procedures and I did not see a column to filter between system and my own.

     

    Google the selected Schema type to get the column names, but most are fairly obvious.

     

    If you need to create typdefs for a collection of tables, you can use this scripting VI that I uploaded on the NI Community forums a while back. 

     

    https://decibel.ni.com/content/docs/DOC-19512

     

    ADO Schema.llb (LV2012)

    • Like 1
  6. Hello 

    I really need help concerning TDMS. I don't have any idea how to use that to make database and store information such as

    student name, time of borrower equipment, which equipment are present in the laboratory. Please help

    thank u.

     

    If you need to store test specific information (operator, temperature, equipment name & serial number etc... ) with the streaming data, you can write custom properties to the TDMS file.

     

    This example from the NI forum works well., just create your own arrays of property names and values to be stored...

     

    TDMS_API_Snippet.png

     

    ( is this the same as the question asked on the NI forums? http://forums.ni.com/t5/LabVIEW/Separating-TDMS-file-data-and-playing-it-back/m-p/2727403#M807331 )

    • Like 2
  7. I'm pretty much LVOOP ignorant at this point, but what the heck... I think I would look to the IVI Classes as a starting point.

    "IVI drivers provide either a IVI-C or an IVI-COM API."

    My limited experiences with IVI has been poor, but mostly because of the vendors I use. When I need to know what's going on inside the driver, I'm blind. Maybe a IVI-VI :blink: API could make it possible to interchange, edit, and debug instrument control completely within the LabVIEW environment?

    ( I here by trademark the name LVOOPIVIVILAVA! :P )

     

    Well, it's not a complete trademark violation, but sounds similar  :lol:

     

    http://www.calbay.com/products-ivvivi.php

     

     

  8. 1. Is Test stand is completely new programming language than LabVIEW?

     

    TestStand is not a programming language. It is a test executive.

     

    It is more like Excel in that it implements expressions and conditional logic.

     

    TestStand is combined with a language like LabVIEW, CVI, HTBasic etc... to create a test solution.

     

    These languages are invoked as steps by use of an TestStand adapter.

     

    http://zone.ni.com/reference/en-XX/help/370052H-01/tsref/infotopics/adapters/

     

    It is also possible to use a script with an executable such as Perl, Python or TCL to perform tests.

     

    2. How to convert Test stand program to LabVIEW and LabVIEW to test stand back?

     

    Since TestStand is not really a programming language, there is no direct/simple way to convert to/from LabVIEW.

    • Like 1
  9. Perennial question for the forums, what to buy? Looking to keep costs < $900.

     

    I'd like to build up my VM and SCC skills, so I thought a desktop would be the best.

     

    I happen to have qty. 12 8GB DDR3 1066 ECC DIMMs and am thinking of building my own Xeon based desktop using a ASRock 216 WS. I'd save ~ $400 on RAM and could buy more SSD or a faster CPU.

     

    I have a 23" display and several 2TB disk drives laying around, and a 3 user Windows 7 license pack, so I only need a case, PS keyboard, mouse and cables.

     

    I've seen HP laptops with i7 processors and 1TB disk with 8GB RAM for ~$900.

     

    I've got an older i5 4GB HP laptop that runs LV OK, but I always feel like it's somehow clunking along slower than my i3 desktop I built for the kids. No amount of tuning and crapware removal seems to bring it around. 

     

    My wife doesn't want another boat anchor taking up space on a table (dining room?) collecting dust and insists that laptops are the only way to go. I understand that, but at the same time don't think that I will have a positive experience trying to thrash a laptop to run virtual machines and such.

     

    Help me spend my money. Which way should I go? 

     

  10. TestStand <1 Hr> - Hands On
     
    This 1 hour session introduces the concepts of NI TestStand. At the end of the session, you should be able to [/font]understand how to use NI TestStand test management software to:

     

    • Create a TestStand sequence and add the frequency test step;
    • Generate a report for your test sequence;
    • Add tests using preconfigured step templates;
    • Debug test sequence using the NI TestStand Sequence Editor

    https://decibel.ni.com/content/docs/DOC-32943?nisrc=RSS-devzone-new-en

    • Like 1
×
×
  • Create New...

Important Information

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