How do I use Perforce Source Control on a substituted drive

Hello all,
I am wrestling my way through using perforce as an integrated source control package in Labview.
The path has many potholes but seems possible.
My latest challenge:
Substituted Paths.
In a professional source control environment there are many users with many views/workspaces and it is good proactice for each one to have a unique name [user][machine][branchname][myprojectstructure]
Labview is notorious for requiring fixed, absolute paths due to the way .vi's remember their callers, my previous practice using IBM/Rational clearcase was to substitue ("subst B: ." ) the project root [myprojectstructure] to another drive, say B: for example.  This makes Labview is happy as the paths are now fixed, the developer is happy as they don't have to check out a miriad of files.
This practice is widespread in the embedded software development world and isn't exactly innovative.
Perforce
Clearcase integrated into Labview works seamlessly, you just point the path to the substituted drive and all is well.
Perforce, not so much.
The setup options within labview whilst being intuitive and easy to use, don't appear allow this method.
Does anyone know how to do the equivalent in Perforce?
Thanks in advance,
Tim L.
iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

Thanks John,
I will see if this works
I hadn't thought about substituting the drive first and then populating the workspace.
I can see that this implimentation requires discipline,
There is a significant danger of refreshing the wrong workspace and trashing modified files.
Tim L.
iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

Similar Messages

  • HOW CAN WE USE ALV-CUSTOM CONTROL

    Dear Friends,
    How can we use the custom control ALV.please provide the sample PPT or material to learn the container ALV.
    Thanks &Regards,
    Rajkumar.A

    SAP released document on ALV custom control. Pretty cool stuff..
    http://www.saphelpbykevin.com/saphelpbykevin/modules.php?name=Downloads&d_op=getit&lid=10#dl
    Edited by: Kevin Nguyen-Tu on May 14, 2008 7:44 PM

  • How can I use my PDF files stock on iCloud Drive true my Iphone or Ipad?

    How can I use my PDF files stock on iCloud Drive true my Iphone or Ipad?

    Thank you,
    I know also Documents to go, But I thought that with the Ios 8 upgrade, they would let us have an Apple Apps to make it more simple...!
    But thank you again.
    Alain

  • How can I use the iPhone 4s as a usb drive?

    How can I use the iPhone 4s as a usb drive?

    I'm not sure about the original iPhone, I didn't have one, but the iPhone 3G did not have a disk mode feature.

  • How do I use Time Capsule as an external hard drive?

    How do I use Time Capsule as an external hard drive? I want to remove photos & music from my laptop and store them in Time Capsule only.

    lyperez wrote:
    How do I use Time Capsule as an external hard drive? I want to remove photos & music from my laptop and store them in Time Capsule only.
    Apple has specific instructions on moving libraries.
    eg itunes.
    http://support.apple.com/kb/HT4527
    You simply follow those instructions..
    TC is a network drive.. nothing more.
    To move individual files, just copy and paste to a new directory.. not inside a TM sparsebundle please.
    BUT.. TC only worries me.. deeply.
    It is relatively easy to corrupt a library when you copy to it.. library as a whole is then corrupted and will need to be restored from backup.. wops.. no backup. You are putting at risk all your files.. don't do it.. make sure you backup..
    And here is the rub.. TC cannot back itself up.. TM cannot backup network drives.
    And where are you going to backup.. to... an external drive on the computer.. in that case, that is where the library should be and the TC used as normal.. ie backup target for TM.
    Please read Pondini on how to do it properly though.
    Q3 http://pondini.org/TM/Time_Capsule.html

  • How do i use a time capsule as a shared drive and back it up to another time capsule using time machine ??

    how do i use a time capsule as a shared drive and back it up to another time capsule using time machine ??

    You cannot backup network drives with Time Machine.
    You can simply setup the TC in the network.. it is a shared drive.

  • Can teamcenter community be used for source control?

    I have this new tool called teamcenter community and I'm trying to see how well it will work with source control for labview. I haven't learned how to use it fully yet, but when I try to open a vi get the error message:
    The document could not be opened for editing. A windows SharePoint Services compatible application could not be found to edit the document.
    I'm using 8.5. Is this a feature that was added to a more recent environment.
    Is this feature a possiblity? So far I've been able to use it to manage file, but haven't had success with folders.

    Steve:
    Unfortunately, teamcenter isn't supported in LabVIEW (past or present). A full list of supported clients is located in this KB. While it may be possible to use other clients, there hasn't been any testing done with them, so they may very well not work with LabVIEW.
    Caleb Harris
    National Instruments | Mechanical Engineer | http://www.ni.com/support

  • How do I use cookies to control which part of the timeline to play from?

    Hi there,
    I have created an animation with Adobe Edge. My site uses Concrete5 and I am pulling in the Edge content into an IFRAME on my home page (there my be a better way to do this and I'm open to suggestions). I want the animation to play from the start when someone first visits the site, but if during their browser session they navigate back to the home page, I want the animation to only play a shorter segment of frames near the end.
    My question is, how do I use cookies to acheive this? I'm new to javascript/jquery.
    I've included the following code on compositionReady, (found in another post on this forum) but don't have a clue how to continue...
    // insert code to be run when the composition is fully loaded here yepnope(   {     nope:[       '/js/jquery.cookie.js'     ],   complete: init   } ); function init() { //create your cookie's initial values here } 
    My temp site is here - http://79.170.40.43/nutcrackerdesign.co.uk/
    On revisting the homepage, I only want to play from when the green 'How can we help?' button drops in.
    Many thanks!
    Russ

    Hi, Russ-
    I found this article, which seemed really helpful in describing how cookies work in JavaScript:
    http://www.quirksmode.org/js/cookies.html
    Remember that JS works just fine within Animate, so on your compositionReady, you can read your cookie and then set the play based on that.  You should probably uncheck the autoplay for your Stage and control the play of your Stage from the compositionReady.
    Good luck!
    -Elaine

  • How can I use LabView to control Altera Scripting

    Hi
    I have kind of run into a stone wall. I am building a production test executive based on LabView. Part of this process includes loading an FPGA image on to a CFI flash that is in the JTAG chain. I am trying to make so that the production operators don't have to open a second application, select the right FPGA and Flash navigate to the file then load it, then go back to LabView and run the rest of the tests.
    Altera has a command line interface that will let me load .cdf file.  The problem is that nowhere in Altera’s documentation does it show me how to first load the “Parallel Flash Loader IP” into the FPGA. The flash loader acts as a temporary bridge between the JTAG input and the CFI Flash.  I have looked on Altera’s Forums and have had an open ticket with Altera’s support engineers for more than a week.
    I can’t be the first person to want to do this; I am hoping someone here has done it before. I would really rather not try to use the activeX controls to manipulate the windows based program.
    Any suggestions would be greatly appreciated (Note I am not trying to put LV code on the FPGA/Flash just use LV to control the process)  
    Thanks in advance
    Below is the error message and the script I am using. It almost works just missing the flash loader IP
    C:\altera\12.1sp1\qprogrammer\bin>quartus_pgm -c USB-BLASTER -m JTAG  S_FPGA.
    cdf
    Info: *******************************************************************
    Info: Running Quartus II 32-bit Programmer
        Info: Version 12.1 Build 243 01/31/2013 Service Pack 1 SJ Full Version
        Info: Copyright (C) 1991-2012 Altera Corporation. All rights reserved.
        Info: Your use of Altera Corporation's design tools, logic functions
        Info: and other software and tools, and its AMPP partner logic
        Info: functions, and any output files from any of the foregoing
        Info: (including device programming or simulation files), and any
        Info: associated documentation or information are expressly subject
        Info: to the terms and conditions of the Altera Program License
        Info: Subscription Agreement, Altera MegaCore Function License
        Info: Agreement, or other applicable license agreement, including,
        Info: without limitation, that your use is for the sole purpose of
        Info: programming logic devices manufactured by Altera and sold by
        Info: Altera or its authorized distributors.  Please refer to the
        Info: applicable agreement for further details.
        Info: Processing started: Thu Oct 03 18:16:53 2013
    Info: Command: quartus_pgm -c USB-BLASTER -m JTAG S_FPGA.cdf
    Info (213045): Using programming cable "USB-Blaster [USB-0]"
    Info (209060): Started Programmer operation at Thu Oct 03 18:17:19 2013
    Error (209062): Flash Loader IP not loaded on device 1
    Error (209053): Unexpected error in JTAG server -- error code 5
    Error (209012): Operation failed
    Info (209061): Ended Programmer operation at Thu Oct 03 18:17:21 2013
    Error: Quartus II 32-bit Programmer was unsuccessful. 3 errors, 0 warnings
        Error: Peak virtual memory: 376 megabytes
        Error: Processing ended: Thu Oct 03 18:17:21 2013
        Error: Elapsed time: 00:00:28
        Error: Total CPU time (on all processors): 00:00:03
    Solved!
    Go to Solution.

    Hi Eric,
    I got it figured out today, basically you have to load the Parallel Flash Loader first into FPGA ram. It is a special .sof file (pfl_epXXXX.sof) based on your FPGA. Code is actually pretty straight forward, using the Sys Exec VI. Use the windows based programmer to generate the .cdf file that identifies your FPGA, attached Flash and .pof file .
    Syntax was odd going into Sys Exec. Note the extra "C" in in front of the "quartus_prm.exe" I have no idea why that was needed, but I was getting an error until I just happened to put it in there (Blind Luck :-))
    I used a 2 element array going into a four loop
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG -o P;pfl_epXXXX.sof
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG S_FPGA.cdf
    Defining the working director C:\altera\12.1sp1\qprogrammer\bin
    And added match string with "Successfully performed operation" on the output in the loop to make sure everything loaded correctly then adding the array to give me a overall P/F
    To anyone doing this same thing Altera's documentation is poor to say the least. It took most of a week to figure this out Not allowed to upload code, so anyone wanting details just post here and I will try to help. This was painful, with lots of lessons learned.
    Thanks for the interest though
    Best regards John

  • How can I Use the iCloud Control Panel to pick a new folder

    I apparently moved or deleted my iCloud folder and keep getting this message Use the iCloud Control Panel to pick a new folder.  How do I do this?

    I have/had the same problem, just started this morning. I tried a system restore to a known good date. I still had the problem so I rolled restored the system to the latest.
    Thinking that it might have something to do with priviliges, I reviewed my user account and noticed it was set to "Administrator". On a whim, I switched my user account from administrator to "standard user" and I'll be... the issue dissapeared. I have no idea why. But I thought I'd pass it along.

  • Dis-advantages of not using Teststand source control feature.

    I'm in the process of creating a Workspace file for our project, primarily because we want to use the Teststand Deployment Utility.
    Included in this process is the choice to use Teststand's source control features.
    So far we have been using Microsoft's Source Safe application directly to provide source control with no problems.
    But now, having tried to incorporate Teststand's source control feature, which utilises Source Safe, I find myself getting bogged down in a tedious and time consuming process which I feel will eventually cause more confusion and errors than it prevents.
    If we choose not to put the files in Source Control when the Workspace file is created, do we run the risk of problems at a later stage ? 
    Thanks.

    Hi Gary,
      there's no "risk" as such, however by not useing some sort of source code control or configuration management, you are making a definite commitment that you will not roll back to a previous version, and you'll be doing your own backups, and making sure that if several people require access to a particular file at the same time, that only one person is going to be allowed (by agreeing to it) to modify the file.
    There's nothing that says you have to go through the TestStand sequence editor and the other workspace and projects to do the source code control.
    If you prefer, then use Visual Source Safe as a stand alone interface, and check out the files by hand to your local drive, and then work on them, and then check them back in once you're finished.
    Of course, you have to make sure that your relative and absolute paths are correct when you do check out the files.
    By going through the TestStand sequence editor to check in and check out files, it's more convenient for most people, since they don't have to dive around two environments (TestStand and VSS) to get to the point of being able to modify a file, or even find out if someone else is modifying it.
    Hope that helps.
    Thanks
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

  • Using VSS Source Control via RoboHelp

    Is there a way to connect RoboHelp directly to a local VSS
    database in order to use the same Source Control database as the
    rest of the dev. team?

    Hi Sevans,
    Indeed there is. You can plug the source into a library (this
    will need to be set up by the VSS administratory) BUT just to be
    clear, Robohelp does not integrate with VSS directly like some
    development tools, it has its on Source control program for that
    Robohelp Souce Control. You will need to follow some basic
    practices to ensure that you source remains robust. Are you talking
    about using VSS just to pull in the source OR to allow multiple
    authors to work on the same project?
    Kind Regards
    Craig

  • How can I use single source images in text?

    I'm using RoboHelp HTML 11, and I want to use single source images of icons in text, so that I have the ability to update the source image, as needed, and all instances of the image are updated automatically. The look is as follows:
    I've tried snippets, but they force a paragraph return in the text which I don't want.
    I tried inserting the source code for an image into a variable, but when I inserted the variable into the text, I got an error message in the text.
    Is there a way to use variables to do this or some other method?
    Thanks.

    HI there
    The one possible drawback to this approach would be if the image size changes. You *MAY* find that saving a different sized image and replacing one would result in perhaps needing to visit each instance of the image and right-clicking and choosing "Reset Size".
    I'm not sure why your variable failed with the image. Generally, it's simple to insert an image into the variable. I typically start the process by typing something like "XX" as the variable value. Then in the UDV pod, select the XX and replace it with the desired image.
    Cheers... Rick

  • How to not use a Mackie Control device

    Is there anyway to make Logic not adding a Mackie Control device automatically, or anyway to bypass one that is added?
    Why I'm asking is because I want to use V-Control, which uses the Mackie Control protocol, on an iPad to control MIO Console and still use Logic Remote. No Logic however always automatically add a Mackie Control, even in the same session that I delete it. Since I still want to use Logic Remote and a Korg nanoKontrol bypassing all controllers isn't helpful.
    Thanks!

    I found what I was looking for: In the Control Surface Setup window, under New, it's possible to turn of Automatic Installation.
    Sorry for the bandwidth.

  • Visarc generates dirty project using SVN source control

    Hi,
    I've read in different topics some issues related to the visarc file, but unfortunately, none of them helped me out. I was wondering if any of you came across this issue and found a solution or workaround to it.
    The problem relates to a LabVIEW project which opens dirty, as you commonly say, under some circunstances. Below I will explain some of the problems I encountered as I tried to track this problem down.
    1. I'm running a large LabVIEW Run-Time project using a PXI with several FPGA - cRIO.
    2. I found that when opening the project file, this is perfectly clean and no asterisk shows in the title bar. I close the project and no saving is needed.
    3. I open the project again and I open a sub-VI which contains the following code:
    4. Straight away, the file visarc shows up under the Dependencies tree of the Real-Time PXI and the asterisk shows now on the title bar of the project (not the VI).
    5. The VI closes without needed to be saved but the project says that an item was added, removed and added, and it has to be saved (as soon as I close the subVI above, the visarc file dissapears from the Dependencies section).
    6. What I do next is to add this file visarc (located in Program Files\National Instruments\LabVIEW 2012\resource) to the project under the PXI tree. I then save the project and close it.
    7. I open the project again, and it keeps being clean (not dirty, as you say).
    8. I open the same sub-vi than before and everything keeps being clean and no saving is needed neither on the sub-VI nor the project. Everything goes smooth in my local computer from now on.
    However, the issue that I can not resolve follows:
    9. We are two people working on this project, and we're using SVN as source version control. Everything works fine in my computer, but when my partner update the files on his computer, the project opens dirty as soon as it opens (only the project, the sub-VI is no needed to be saved).
    10. My partner just save the project and close it, and it becomes clean straight away in his computer. The files which are saved are the aliases file (I expected that), the labview project file, and the LVLPS File of the project.
    This issue will happen again as soon as any of us downloads the SW committed by the other.
    I hope any of you can help me out with this issue. Any suggestion or idea are welcome.
    Thank you very much in advanced.
    Best regards,
    danidpr

    As far as I know, the resource manager does not support version control. If you map the version control folder to a local folder, you can use that in RoboHelp. But I'm afraid that any changes in the resource manager files will require you to manually check them out first. This is how I'm doing it anyway.
    Kind regards,
    Willam

Maybe you are looking for

  • My iPod 4th Generation wont show up in iTunes

    i downloaded the newest iTunes. And the iPod shuffle is plugged all the way in. But when I open iTunes and plug it in it doesnt show up as a device. I need help to put music onto it. Help!

  • Display issues on Pages with new fonts

    I have dowloaded new fonts, and have registered them in FontBook (everything was fine), and when I tried to use the fonts on Pages, they would be on the page, but in the list of fonts they were registered as blank. But when I did cmd + T, to show the

  • Itunes will not populate ipod

    this is driving me nuts downloaded itunes7 and while it sees my ipod and goes thru the motions of updating it, nothing actually gets put onto the ipod deleted the software and reinstalled the original old itunes but same problem occurs can anyone hel

  • I need to know how to copy

    I need to know how to copy and paste on this IPad.Also I downloaded photos from the Mac onto my IPad and it said download complete, but could not find my photos.I don't have an icon for I Photo Library.The Apple store deleted all my apps,when they fi

  • MANY IPOD QUESTIONS CONCERNING REPLACING IT!!!

    I realize that i have to send my mini ipod back to Apple to have it replaced becuase of problems that have occured with my battery not being able to stay charged. And i also realize that it is my responsibility to backup my songs...do you suggest bur