How do I read the Visual Source Safe version of a sequence file?

I can read the TestStand Version using RunState.SequenceFile.Data.Version. I would like to sink the version numbers in VSS and TestStand up. How do I obtain the version number maintained by VSS.
Thanks, Jeff

One way to get the VSS version number is through the command line using the History command. See VSS help for more info. I think it would be possible to create an EXE step in TestStand that would execute the VSS command line and pipe the output to a file, where it could be read with some custom code. Of course it would be nice if there was a built-in TS step to do this. Here is an example of the VSS history command usage and it's output.
---- Example -----
C:\DevStudio\Vss\win32>ss history $/tekcal-ni/projects/80e0x/80e0x.seq -#2
History of $/tekcal-ni/projects/80e0x/80E0X.seq ...
Label: "Beta1"
User: Marki Date: 4/29/02 Time: 8:45a
Labeled
Label comment: Release to Customer Service.
***************** Version
14 *****************
User: Marki Date: 4/26/02 Time: 3:00p
Checked in $/TekCal-NI/Projects/80E0X
Comment: Changed delay time for DC Accuracy/Linearity from 0 to 100 mS.
---- End of Example -----
If you just want the last version, use the "-#1" option instead of -#2 as in this example. VSS uses labels or whole number version numbers, so you would need to relate this to your TS version number, perhaps with a sequence file global variable.

Similar Messages

  • How to read the html source code of a webpage.

    How can I read the html source code of a webpage with a java application?
    Is there a good idea?

    >
    How can I read the html source code of a webpage
    with a java application?
    Is there a good idea?
    I don't know if this is a good idea, but it works.
    1) Use a URL to obtain the document's location
    2) Use a URLConnection to open a connection between your computer and the
    document server
    3) Connect to the server
    4) Get the InputStream of said connection
    5) Associate the Input Stream with a Buffered Input Stream
    At this point you can use a loop to read lines from the BufferedInput Stream and append them to a TextArea or other suitable text component.

  • How to read the Java source code (in Netbeans)

    I use OS X10.5.5, NetBeans 6.1 and JSE 6 on a 64 bit mac.
    When I downloaded NB6.1 it had JSE 5 as it's default (and only) java platform. I ran Software Update to get Java 6 from Apple, used the Java Prefrences utitlity to set JSE6 as default. In NB I added the JDK6 platform, registered the JDK6 javadocs and noticed that I also have the option of registering the Java source code.
    I have three questions:
    1) How do I make JDK6 the default in NetBeans. The JDK5 keeps being default after I did the steps above and I don't see anywhere to change that.
    2) How do I read the Java 6 source code? I can see sun provides [source code| http://download.java.net/jdk6/] for their supported platforms. I dont see Apple doing the same for its JDK port. What would I need to do to get to read the java SE6 sources? or is it actually hiding somewhere in the /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home hierarchy?
    3) Where does the JVM look for the binary code to run when I make a call to, say java.util.ArrayList or any other library. In my naivety I would have assumed it would be a .class file somewhere in the java Home folder, but I don't see anything like it.
    thanks in advance,
    chris

    This is taken from the help included with netbeans. In response to question 1.
    By default, the IDE uses the version of the Java SE platform (JDK) with which the IDE runs as the default Java platform
    for compilation, execution, and debugging. You can view your IDE's JDK version by choosing Help > About and clicking the
    Detail tab. The JDK version is listed in the Java field.
    You can run the IDE with a different JDK version by starting the IDE with the --jdkhome jdk-home-dir switch on the command line
    or in your IDE-HOME/etc/netbeans.conf file. For more information, see IDE Startup Parameters.
    In the IDE, you can register multiple Java platforms and attach Javadoc and source code to each platform. For example, if you
    want to work with the new features introduced in JDK 5.0, you would either run the IDE on JDK 5.0 or register JDK 5.0 as a
    platform and attach the source code and Javadoc to the platform.
    In  , you can switch the target JDK in the Project Properties dialog box. In  , you have to set the target JDK in the Ant script itself,
    then specify the source/binary format in the Project Properties dialog box.
    To register a new Java platform:
    Choose Tools > Java Platforms from the main window.
    Click New Platform and select the directory that contains the Java platform. Java platform directories are marked with a  
    in the file chooser.
    Use the Sources and Javadoc tabs to attach Javadoc documentation and source code for debugging to the platform.
    Click Close.
    To set the default Java platform for a standard project:
    Right-click the project's root node in the Projects window and choose Properties.
    In the Project Properties dialog box, select the Libraries node in the left pane.
    Choose the desired Java platform in the Java Platform combo box.
    Switching the target JDK for a standard project does the following:
    Offers the new target JDK's classes for code completion.
    If available, displays the target JDK's source code and Javadoc documentation.
    Uses the target JDK's executables (javac and java) to compile and execute your application.
    Compiles your source code against the target JDK's libraries.
    If you want to register additional Java platforms with the IDE, you can do so by clicking the Manage Platforms button.
    Then click the Add Platform button and navigate to the desired platform.
    To set the target Java platform for a free-form project:
    In your Ant script, set the target JDK as desired in the javac, java, and javadoc tasks.
    Right-click the project's root node in the Projects window and choose Properties.
    In the Sources panel, set the level of JDK you want your application to be run on in the Source/Binary Format combo box.
    When you access Javadoc or source code for JDK classes, the IDE searches the Java platforms registered in the
    Java Platform Manager for a platform with a matching version number. If no matching platform is found, the IDE's default platform is used instead.
    See Also
    Managing the Classpath
    Declaring the Classpath in a Free-Form Project
    Stepping Through Your Program
    Legal Notices

  • Visual Source Safe VI checked out but cannot edit

    I am using LabView 7.1 and Visual Source Safe (VSS). Previously, I have created several VI's and used VSS to manage them without a problem. I received a VI (and sub VIs) from another company location -- I copied them into my local directory -- and copied them from there into VSS.
    I then check out the files (using VSS or using LabView|Tools|SourceCodeControl ... I have tried both) but I am not allowed to edit the VI -- all I get is the "operate" cursor. VSS shows the VI as "checked out". My local directory shows that the VI file does not have the "R" attribute (read only) set. So I should be able to edit the VI, but I cannot. ????
    If I try to use LabView|Tools|SourceCodeControl to check the file out again ... I get an error, stating that I already have the file checked out, and I cannot check it out again. LabView seems to "know" that I have the file checked out, so what might be preventing me from editing it? [I tried different settings in the tool palette, but regardless of what is set, I only see the "operate" cursor when I try to work on the VI.]
    I am relatively new to LabView, and have only been using it with VSS for a couple of months now . . . . so it could easily be something simple that I am overlooking...

    Hi Rich,
    I'm happy that your issue was solved.
    Now, for the suggestion about placing the "Change to Edit/Run Mode" in the "Edit" menu - that DOES sound like an intuitive choice. However, I can also see the logic in having the menu item under the "Operate" menu - for choosing how to operate your front panel and block diagram.
    I would recommend you (and anyone else with good ideas) to submit your Product Suggestions through the 'feedback' link on www.ni.com/contact. Our R&D team will then look into the possibilities of implementing the feature in future versions of LabVIEW.
    We appreciate your ideas, thanks.
    - Philip Courtois, Thinkbot Solutions

  • RH8 with Visual Source Safe

    My client is looking to pl
    ace our RH8 project documentation on a visual source safe server. The documentation consists of restricted information.I've read some of the posts on RH with VSS but wonder how it's working today with RH8.

    Hi Kutra
    I'd like to preface that it's great RoboHelp has some ability to interface directly with source control systems.
    However, having said that, I'd also like to say that I'm a pretty staunch advocate of the "KISS" approach with things. (KISS=Keep It Surprisingly Simple) What you are stating sort of underscores the reasoning for my approach.
    By isolating the Source Control component and working with it separately, you typically don't encounter oddities such as the files disappearing from the FPJ. My own preferred way of working with source control is to open the source control interface, check out the project, open RoboHelp and make edits, close RoboHelp and the project, then use the source control interface to check the project back in.
    Call me crazy if you like but I've never encountered an issue with working that way. And when things go wrong (as they often do) you don't have that added layer of uncertainty wondering things like "is RoboHelp possibly causing the issue here by taking actions I cannot see?".
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Visual Source safe XML corruption

    Hello Eveyone,
    I'm using visual source safe 6.0 to tie up the project.When i get the latest version,XML gets corrupted ie it has chinese characters.And when i load the screen,error occurs as "Data at root level is invalid".Has anybody experienced this problem.What is the solution,i didnt have this problem before source safe.But i definitely need to use source safe.
    Thanks in advance.

    How to do that,When i see the properties of XML, it gives the encoding as Unicode.In source safe there is no option to give it as unicode only text or binary.
    Where in sourcesafe should i mention it as Unicode because i add the whle solution to source control not on file to  file basis. Is this a known issue with Visual Source Safe.

  • Will Visual Source Safe work for non-Microsoft software as well as documents?

    We have software that was made by a subcontractor. It is used to control a machine with proprietary syntax. Will VSS archive it as well as Visual Studio things?

    Hi OilMan545,
    If you mean to use Visual Source Safe as a source control tool and use funtions that VSS provided, the answer is yes. You can use VSS to manage your source files. And it's recommended to use TFS since it's more powerful and in the spoort scope of MSDN forums.
    If you want to do the integration for the software and VSS, that depends on the functions that the software provided and whehter it has interfaces/plugin to interact with VSS.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Visual Source Safe and RoboHelp for HTML

    Do you ever successfully use Visual Source Safe for RoboHelp
    for HTML? I got error when I checked out the file, looks like file
    format in RoboHelp is not supported in Visual Source Safe. Can
    somebody share the experience? Thanks a lot!

    Hey, Cathy!
    The RoboSource Control in X5 was "adequate" in its day. But
    remember, that was nearly 4 years ago
    The problem was that the "free" Access database was not
    really robust enough and to really make use of it, you need to use
    MS SQL Server, which is expensive.
    That was then. This is now. The RoboSource Control 3 that
    comes with RoboHelp 6 is WAY more better
    This is because, it allows you to use a free version of MS
    SQL Server Express for a much more robust database.
    So my advice would be to upgrade to RoboHelp 6 for sure. It's
    not just hype. If for some reason you can't upgrade, then you might
    be able to get away with the Access Database given that there are
    only two of you. Since you already have it, you could create a
    little test bed project and try it out. (I have a suggestion for
    how to do that in my article. See link below)
    For the lowdown on RoboSource Control 3 see this Matthew
    Ellison's fine article
    Getting
    started with RoboSource Control 3 in RoboHelp 6
    If you're interested in the "old" RoboSource Control that
    comes with X5, you can check out my article to get you started.
    Sharing
    One RoboHelp Project Among Multiple Authors
    Thanx,
    john

  • XCode Integration With VSS (Visual Source Safe)

    We have recently start developing for iPhone using XCode. We already have Visual Source Safe in place as our source control and I want to give it a try (integrate with XCode) before thinking of using CVS or SVN.
    Sometime back TheSilverHammer talk about VSS integration with XCode in his post "Two questions: Xcode 2.4 (reloading a source file) and endianness ...", however it was not clear how he did that? This post is now archived and is no longer available for replies. TheSilverHammer can you, or anyone else please tell how is it possible?

    I don't really know about VSS/XCode integration but I have to make a comment. Dump VSS. Pour gasoline on it, light a match and run.
    There are so many issues with VSS I'm not sure where to begin. No scalability, terrible stability, proprietary, etc.
    You mentioned CVS and SVN. In the long run you'll be way better off with either of those. Personally I prefer SVN.
    Just my 2 cents

  • Does JDev3.2 work with MS Visual Source Safe?

    Has anyone used MS Visual Source Safe (VSS)with JDeveloper? How's your experience?
    We are trying to decide if to go with Oracle Repository or VSS. We are using JDev for sure. Repository seems so complicated, yet promises a lot of things such as supporting Oracle database objects.

    Hi,
    Could you post the bat file that you created?
    Thanks,
    Patrick
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Bruce Werner ([email protected]):
    You can use Visual SourceSafe inside JDeveloper, but you have to script it in a .BAT file (which is simple). You can go to the code samples page of Oracle for JDeveloper and grab a piece of code that will allow you to right mouse click on a java file and CheckIn/CheckOut a file. However, this only executes the scripts I mentioned above that you must write. I have had no problem using this and I think you will be pleased with it!<HR></BLOCKQUOTE>
    null

  • Visual Source Safe & Forte

    Hello happy users !
    Doe's anyone use Visual Source Safe with Forte ? I saw something about
    it some month ago but i'm unable to retrieve it...
    I remember someone has writed a Forte project allowing to automatically
    archiving source file in VSS while integrating the workspace in the
    repository. Someone use it ? How do you manage the changes in a project
    Do you always archiving .pex even if you only change a class ?
    Help greatly appreciated from people using VSS with Forte !
    Cordialement.
    Patrice Bourdon
    Alliance Sante France
    Tel : +33 02.54.60.26.27
    Fax : +33 02.54.60.25.00
    e-mail : [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi, thanks for your reply!
    I had the same thought, that it was a matter of time. Therefore i let the system work during the night, but it did not help - Forte is still refreshing!
    After mounting the following tasks are done:
    Preprocessing LIST_DIR_READER, exec = ${RUN} \"${VSSCMD}\" dir -R- -F- \"${PROJECT}$[? MODULE] [${PS}${MODULE}] []$[? DIR] [${PS}${DIR}] []\" ${OPTIONS} && \"${VSSCMD}\" diff ${OPTIONS}
    Command Refresh started, exec = ${WRAPPER} LIST_DIR_READER LIST_STATUS_READER LIST_STATUS_FOLDER_READER
    Command LIST_DIR_READER started, exec = cmd /X /C "(mkdir \"C:\Projects\Products\PocketPharma\Java\Temp\ReportPrototype\\.\" 2>nul || echo.) && cd /D \"C:\Projects\Products\PocketPharma\Java\Temp\ReportPrototype\" && \"C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE\" cd -I- -YG�ran Arvidsson,password \"$/Products\PocketPharma\Java\Temp\ReportPrototype\Products\PocketPharma\Java\Temp\ReportPrototype\" && \"C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE\" workfold -I- -YG�ran Arvidsson,password \"C:\Projects\Products\PocketPharma\Java\Temp\ReportPrototype\" && \"C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE\" dir -R- -F- \"$/Products\PocketPharma\Java\Temp\ReportPrototype\Products\PocketPharma\Java\Temp\ReportPrototype\" -I- -YG�ran Arvidsson,password && \"C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE\" diff -I- -YG�ran Arvidsson,password
    The information about these commands (available from Runtime tab)
    * Output of VCS commands [Refresh]
    No output available (Still running)
    * Output of VCS commands [LIST_DIR_READER]
    Standard output - Username: G�ran
    Data output - []
    [Username: G�ran]
    I have tried to use another user (Goran Arvidsson) but the problem is still present!
    I hope this information tells you more than it does to me!
    Best Regards
    G�ran

  • LabWindows integrated into Visual Source Safe

    Can you please help me. I just started with a
    company and my boss gave me a project to link VSS with LabWindows/CVI. I
    know LabWindows/CVI can be integrated into Visual Source Safe and I have
    asked the engineer's, which said it can be done and read the book, but still
    can't figure it out. Can you give me direction or examples, I'm just out
    of
    high school and want to make a good first impression.
    Thank you for any help.

    Wow Ken. Did you find a solution? We are thinking of going to VSS here for C code and it would be great to link in our CVI code as well. You are sure that you can huh? Let me know if it worked out for you.
    Grant
    Grant M. Johnson
    Project Engineer
    LECO Corporation

  • Visual Source Safe AddIn for JDeveloper

    Hi All,
    Is there an addin available for JDeveloper
    somewhere for Visual Source Safe ? I know there's one available for JBuilder 4 ...
    Thanks.

    See the following discussion group post for information on the custom addins:
    http://technet.oracle.com:89/ubb/Forum86/HTML/000174.html
    You could also use Oracle's own source control system (Oracle Repository) rather than Visual Source Safe. This has a much tighter level of integration with JDeveloper. See
    http://otn.oracle.com/products/repository/demos/jdevviewlets_viewlet.html
    for a demo.
    Thanks,
    Brian
    JDeveloper Team (SCM Integration)

  • Is there a plug-in to use Microsoft Visual Source Safe with JDeveloper?

    Is there a plug-in available to allow me to use JDeveloper with my current source control software (Microsoft Visual Source Safe)?
    Thanks,
    Phil

    Hi Phil,
    Not that I'm aware of. We're adding support for visual sourcesafe in the next release of JDeveloper.
    Thanks,
    Brian

  • How can I read the trace data from Agilent(HP​)8510C in C++ using NI488.2 and PCI-GPIB ?

    Hello! I am trying to develop an application in C++ for measurements with Agilent(HP) 8510C network analyser using NI488.2 and National Instrument's PCI-GPIB card. In HPBASIC the trace data is read using OUTPDATA command which contains PREAMBLE, SIZE and then the data string in real and imaginary pair for the required points. The ibrd function gives data only for one point. Kindly guide me how I can read the whole trace and and separate out the real and imaginary data values. Regards, kapil

    Hey Kapil,
    It seems that in HPBASIC you were using an instrument driver for the 8510C. OUTPDATA is not a native HPBASIC function. National Instrument has similar instrument drivers for LabVIEW and CVI.
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d8777862​56436006ec498/7b235254f3881ddb862568ab005fbd2e?Ope​nDocument
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d8777862​56436006ec498/24ca7db880ab78ae862568ab005fbc0f?Ope​nDocument
    For example in the CVI instrument driver you will find a source file called hp8510.c. In the source code you will find a function called hp8510c_dataInRaw that sounds similar to the function that you described.
    Note that this example is designed for CVI, but it is possible that you could extract the information you need for C++. If
    you had a copy of CVI you could just add the files downloaded from the instrument driver to a project and then compile and run the project. It already contains a ready to run example that allows you to capture data and use your instrument.
    If you want try CVI you can download an evaluation copy on-line at http://ni.com/lwcvi/launch.htm.
    I hope this helps out,
    JoshuaP
    National Instruments

Maybe you are looking for

  • Finder Questions / Wish List

    So far so good on Leopard. "Back to my Mac" and screen sharing for me are worth the cost of admission alone. Here are a few finder related questions, perhaps wish list items: 1. Stacks - I'm not a big fan yet.. In Tiger I had my applications folder i

  • SRM-MDM 3.0 - prices for sales packages

    Dear forum gurus, I am setting up the SRM-MDM 3.0 catalogue and have setup a fixed sales package and configurable sales package OK. However, I cannot get the price details to be shown in the SUI. I am using contract prices for all items and have conf

  • Migration assistant won't display the 'passcode' on my old PC in order for me to continue.

    When I start migration assistant it will recognise my old PC laptop however when the passcode is displayed on my Mac it will not display it on the PC in order for me to confirm and continue. Any help? Thanks.

  • ADOBE Jpeg inserts etc. LOVE HATE RELATIONSHIP

    I have tried to insert a jpeg and a pdf signature. Im aware and have used the digital signatures as well. I am bothered that their are no links to research JPEG signature etc. When I did come across a help file pertaining to inserting a clip art, the

  • Ssrs 2012 - send email failure

    Hi, I have scheduled a report but this is the error it shows: Failure sending mail: Failure sending mail. Do you know where I can get detailed information on the error? Any suggestions please?