Perforce SCC and Labview 8.5

I have been using Perforce with LV for a couple of years now and until recently, all has been ok.
Trouble is I recently upgraded the PC that was running my SCC and upgraded my client installations, well I'm assuming thats part of the problem anyway.
On my client PC, I have the perforce root set to a folder on my D drive. Now, everytime I open LV 8.5, open a library file or code that uses a library file I get an error from Perforce telling me that path xxx.vi is not under client root folder.
Well, of course it isn't - it never was before, why does it need to be now?
when it's only 1 message it's an annoyance. when it's 20 or 30 that i need to acknowledge before I can get on it's a right royal pain the arse.
This behaviour is not seen on LV7, 7.1, 8.0 but it is on LV 8.2
Any ideas on how to resolve this? other than moving my client root folder of course, which I don't want to do.
Ta
Matt

Ooop - pressed the wrong button.
I am using client version P4SCC/NTX86/2005.1/85663 and server version 2007.3/143793. SCC provider is set to Perforce and yes, all the versions of labview I have tried this with are on the same client PC.
I haven't tried the P4 command line from my client PC - I'll give that a go and report back.
My initial thought given that it affects both 8.2 and 8.5 is that it has something to do with the way LV is interfacing with Perforce, but beyond that I'm at a loss. For example both 8.2 and 8.5 request and are given a 12 houre perforce ticket, which none of the other versions do (login expiration dialog under SCC options --> advanced, tab connection.)
M

Similar Messages

  • Perforce Workspace and LabVIEW

    Hi,
    I am taking over a job where I am using an existing PC which has got LabVIEW configured with Perforce for Source Ctrl.
    I am using the same local workspace as my predecessor which is simple the c drive.
    When I create a new VI and add it to perforce or edit an existing VI, those changes get added onto my predecessor's change list not mine.
    The fix is to drag and drop my VIs from my predecessor's change list onto mine but it is a real nuisance.
    This only happen with LabVIEW, I use text files. When I check them out they go in my change list without any problem.
    Therefore I think the problem comes from LV.
    I look into LabVIEW "configure source control", I can't see why the VIs always get checked out into my colleague change list instead of mine.
    If anyone has a solution that would be greatly appreciated. 
    We are using LV 8.2
    Many Thanks,
    Christophe 
    Solved!
    Go to Solution.

    Is there a system environment variable P4USER set to the username of your predecessor on that computer?  If so, update it (and possibly other P4 variables) to reflect your name, or delete those environment variables.

  • Perforce SCC integratio​n problems

    This is more of a bug report than a question.
    We are using CVI/LabWindows together with Perforce as the Source Code Control provider and have noticed a couple of problems in the integration. Versions used (tools/platforms):
    * Win7 (x86, x64)
    * Perforce P4V 2010.2
    * Perforce SCC plugin 2010.2
    * LabWindows 2010
    Problem 1 (bug)
    Having a P4 workspace root in the workspace/client specification that differs only in casing from the actual path is causing the problems, even as we are working under Windows. Description:
    - We can associated a CVI workspace with a Perforce workspace using "Edit/Project/Source Code Control" etc (we do get some initial warnings when we do this for the first time, but after reopening the project all is well).
    - If the P4 workspace root path has the wrong casing compared to the actual local path, the project can be successfully opened and operations are available under "Tools/Source Code Control", but the files in the project (which do exist in Perforce) does not show any SCC overlay icons.
    This makes it impossible to check out/work with the files contained in the project. As an example, it is e.g. possible to add a new file to the project and get the "add to source code control" dialog opened and select OK to add the file to the project/SCC. After this the file is still not indicated as under source control (opening e.g. P4V correctly shows the file as being opened for add, though). Similar for other operations.
    We have reported this to Perforce software as well, but as we haven't seen the same problems for other software using the P4 SCC Plugin, it's likely to be a problem with the CVI SCC integration.
    The problem is easy to fix once you recognize it, but diagnosing this took the better part of two working days.
    Problem 2 (bug)
    This one is easy enough to work around, but annoying. When performing SCC operations on the project file, the overlay icon isn't updated to reflect the new status automatically. An example:
    If you right-click the project file and select "Check out", the file is checked out from Perforce and made writable, but the overlay still indicates that the file is not checked out. This makes it "impossible" to check in the file again. Same goes when opening a project with the project file checked out and the checking it in.
    To get the correct status for the project file, one needs to either restart CVI or select "Tools/Source Code Control/Refresh Status". Highly annoying.
    Problem 3 (bug/usability)
    There is no simple way to check in all files currently checked out, when one these files is the project file.
    It is possible to multi-select files and include the project file in the selection (using ctrl + left mouse), but when then right-clicking one of the selected files to perform "Check in" the other previously selected files lose their selection. This is only the case when the project file is included in the selection.
    The same behavior is shown when selecting as above, but attempting to use the "Tools/Source Code Control/" menu.
    The problem seems to boil down to that when several files are selected in the project, and one of them is the project file itself, only one of the files remain selected when opening a menu (any menu).
    Regards,
    Johan Nilsson

    Sorry, I didn't see this until today.
    Your first two issues definitely sound like bugs, or at the very least poor behavior. My guess is that #1 is probably our fault, but I'm not completely sure on that. I'm filing a bug report on this to make sure it gets investigated. #2 will also be looked at.
    While your third issue is a little annoying in this use case, there's a reason for it. When you right click on an item in the project tree, we have to determine what type of object it is, and then display the approriate context menu accordingly. Projects and Source files have completely different context menus, and most of the operations you can perform on the two are different. For simplicity and a better user experience we only display the context menu for the item that was right-clicked on, and we deselect other files of that type. We won't be changing this.
    Thanks for reporting these issues.
    Kevin B.
    National Instruments

  • Error involving Report Generation Toolkit and Labview Run Time Engine

    Developed an application using LabVIEW 6.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1. From there, tried to build a shared application for use with the LabVIEW Run Time Engine. The Run Time version functions properly until "New Report.vi" is called and then an error is generated, code 7, calling out "Open VI Reference in New Report.vi" could not be found. When building the application, I did include the "NI Reports Support" in the advanced installer options. The machine used for original development and application build is running Windows XP Pro and Office XP. Any suggestions??

    I am having the exact same problem but with LV 6.1 and M/S WORD 2000. It appears that the "New Report.vi" is trying to open "C:\APP.DIR\Word_Open.vi" and "C:\APP.Dir\Word_Open_Document.vi" by reference. The "OFFICE 2000.TXT" says that "_exclsub.llb and _wordsub.llb must be added as support files when building an application or a dynamic link library with the application builder." I added them as Support Files and I copied them to the "C:\TESTER\" where the TESTER.EXE is and I still get ERROR 7 in "NEW REPORT.VI" at VI OPEN REFERENCE.
    Do I need to make a "C:\TESTER\DATA\" sub-dir and put the support files there?
    I am building on MY COMPUTER on F: Drive on a network and transporting files to the real Tester.
    I displayed my App.Property of APP.DI
    R at start up and it is C:\TESTER\ ! How would my application know that "Word_Open.vi" and "Word_Open_Document.vi" are actually inside the _wordsub.llb?
    Any ideas ?
    Greg Klocek

  • Communication problem with FP-2000 and Labview 7.1

    I am using the FP-2000, DO-403 and TC-120 modules with Labview 7.1, being run on a host computer via an ethernet connection.  The setup has operated flawlessly for ~2 years; recently, I have noticed that while a VI is running on my PC, connection to the FP module ceases.  There is no pop-up "connection error" in my VI, and the all the power and status LEDs on the FP modules are normal.  I can still interact with the VI on the front panel while it is running, but nothing is passed to the FP module.  I have tried communicating with MAX when this occurs and receive a "no connection" message.  Is there a simple solution here, such as rebooting the FP module?  Or is it time to invest in new hardware?
    Justin

    I am having a very similar problem with my cFP-1804 and Labview 7.0.  I have no problem initiating communication over ethernet, and the vi will run perfectly for hours or even days.  Inevitably, however, at some point there is no longer communication with the cFP-1804.  Data is no longer being passed either to or from the cFP-1804, and MAX will show that the device is not connected.  I also will not see any pop-up error message that says the connection has been lost, either from Windows or from Labview.  The vi will just continue to run as if nothing has happened.  Turning the power to the cFP-1804 off and then on will always resolve this problem.  Since I am using the cFP-1804 primarily for data logging, however, this behavior is particularly problematic as the system will record nothing but zeroes until I discover that the communication has been severed and perform the manual power cycling.
    I have been unable thus far to determine the cause of this problem.  Any help would be greatly appreciated.
    Thanks,
    Derrick

  • I have a problem with simulation in Matlab 6.5 and LabVIEW for PID controllers

    I have a problem with simulation in Matlab 6.5 and LabVIEW. I have some methods for granting PID controllers in MATLAB to go but not LabVIEW. International Teams degree to transfer two but when I go past the fourth degree no longer work. We changed the formula for calculating the parameters for grade four and gave me some good values for Matlab award but when I put on LabVIEW have not settled. formulas are available in PDF and are. Please help me and me someone if possible. Thanks
    lim.4 generation parameters in MATLAB program and comparison methods are for second-degree transfer function.
    Solved!
    Go to Solution.
    Attachments:
    Pt net.zip ‏2183 KB

    This is the VIs what i try to make,but is not work. This pdf. document was used to create last VIs PID. thenk you for your colaboration.
    Attachments:
    PID create by me.vi ‏312 KB
    tut_3782.pdf ‏75 KB

  • Google Earth Plugin and LabVIEW: High CPU usage when adding placemarks

    Hi,
    I posted this question on stackoverflow earlier this week but feel it might be better suited to the LabVIEW community specifically so I'm reposting here:
    I'm writing an application which uses the Google Earth Plugin to display events on the globe. Each event is a single point kml placemark with an icon which is a 3kb png file. Placemarks are uploaded to the plugin as they are received by the software. I am experiencing increasing CPU usage with the number of placemarks that are added.
    I have tested displaying a new placemark every second and running until the software running the plugin completely froze (graph attached). The GEPlugin (green trace) stopped responding (i.e. the globe did not respond to the mouse) at around 1200 placemarks added and CPU usage was at ~30%. When the software itself (red trace) froze the plugin was using around 50% CPU and ~3700 placemarks had been added). After the freeze, no new placemarks were added which caused the software to respond (but not the plugin) so I could clear all the placemarks. After the placemarks were cleared from the globe, the CPU usage of the plugin returned to around 5% CPU.
    So what I've seen is that GEPlugin CPU usage increases linearly with each kml placemark added. Is this the expected behaviour/ a normal limitation of the plugin? If not is there a more efficient way of adding many placemarks to the globe?
    I am using GEPlugin version 7.1.1.1580 (API version 1.010) and LabVIEW 12.0f3
    Please see the test results attached. Any input greatly appreciated!
    Original stackoverflow post:
    http://stackoverflow.com/questions/20994323/google-earth-plugin-with-labview-high-cpu-usage-when-add...
    Attachments:
    Performance Log 020114_095115.png ‏82 KB

    Hello,
    I have had a look at your graphs and understood what you are trying to do. To me it seems that as the image gets more complex it gets harde to render which wold likely cause increase in CPU usage resulting in the freeze. I would suggest you try running the program on anoher computer to check on the RAM front of things. If this is a limitation of the GE Plugin then unfortunately I can not do much to help, but if you think this is a problem coming from your LabVIEW code then you can post your code here and I can take a look.

  • Run-time engine problem in Labview 2009 and Labview 2010

    I have a problem with Labview 2009 and Labview 2010. I updated my Labview 2009 into 2010. But it turned out to be a trial one, because i did not have the serial number. So I uninstalled the Labview 2010. however, the funny stuff came over. I cannot use my Labview 2009. So i uninstalled Labview 2009 again. But eventually, I could not reinstall Labview 2009. Every time i had a runtime error and i could not proceed with the installation. in addition, any installation  related to Labview is not permitted and the same error came up every time. it is very annoying.
    So, What is the deal?
    I attached the error here. Any comments or advice are welcomed and appreciated.
    Attachments:
    error.docx ‏2305 KB

    By chance is this machine's language set to any non-English locale?  You would check the locale setting by:
    Opening Control Panel.
    Opening "Regional and Language Options".
    Looking Under "Regional Options" >> "Standards and Formats"
    If it is set to something besides English, trying setting it to English and please report back what locale it was set to (or if this even solves the problem).
    Regards,
    - WesW

  • Report Generation Toolkit and Labview 8 ?

    I currently have Labview 7.1 on my computer, and Labview 8.  I have installed the Report generation Toolkit 1.1.1, but when I try to open several of the excel and word vi's in labview 8, I get the error that "constants wired to case structures were changed to a hidden control to maintain compatibility with labview 7.1 and earlier".  And therefore the subvi's don't run.  Labview 7.1 doesn't have the toolkit installed, and I've even tried uninstalling 7.1 but nothing works.  How do I fix this?  Relinking to subvi hasn't work because it is not offered on any of the errored vi's or subvi's.  The broken wires are going into invoke node vi's, but I don't know how to fix them.  It doesn't allow me to rewire them.

    If you dont want to use it in LabView 7.1, Just make a mass compile with LabView8.0 on the directory of you package.
    It could solve a lots of that kind of problem.
    Be sure that you do net need it with your previous version.
    Benoit
    Benoit Séguin
    Software Designer

  • How to acquire data through multiple channels in parallel using PXI 6070 E, PXI 4071 and LabVIEW?

    Hi,
    I am using NI LabVIEW, NI PXI 4071, and NI PXI 6070E to measure current through a variable resistance. Now, I am using one channel from SCB-68, but I want to add another channel in parallel so that I can have two resistors instead of one that I cam measure current through them.
    I have attached a Pdf file showing the setup for hardware in use and LabVIEW code also.
    Can anyone look at these files and give me guide lines or ideas that can help me resolving this issue, please.
    Thanks in advance.
    Best Regards,
    Shaheen.
    Solved!
    Go to Solution.
    Attachments:
    IV copy for HS.vi ‏55 KB
    Layout of NI Cards.pdf ‏248 KB

    Your 4071 can only do one measurement at a time. Your DAQ cannot measure resistance either nor has it got any analogue inputs.
    However, you could use a multiplexer and multiplex your 4071 DMM. This wont give you simultaneous measurements but can acquire data one after the other, the speed is obviously dependent on the multiplexer you choose!
    Hope this helps.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • MATLAB and LabVIEW Communication Optimal Performance

    I have tried my own code,  searched through forums and examples to try and figure out best method to communicate between LabVIEW and MATLAB.  Most of the information I found was over a year old and I was wondering if there was a better current solution.  My goal is to work in LabVIEW to collect the data, process in MATLAB and return the results to LabVIEW.  I have encountered some difficulty in my search and before I delve even further in to one in particular, I was wondering if anybody had an optimal solution with this communication protocol or solutions to my errors encountered thus far.
    I have looked at the following methods.
    1)TCP/IP and a very good example found here: http://www.mathworks.com/matlabcentral/fileexchange/11802-matlab-tcp-ip-code-example
    When I try to adjust even the example and communicate for my own purposes I get the following errors
    Error 63 if MATLAB server not running
    Error 66 occurs if the TCP/IP connection is closed by the peer. In this case, Windows notices that no data is returned within a reasonable time, and it closes the TCP/IP connection. When LabVIEW attempts to communicate after Windows closes the connection, error 66 is the result. 
    However, the example itself works perfectly and does not get these errors
    2)Math Script Node, works but the post below states that MATLAB Node is faster.
    "computing fft of a 1024x1024 matrix ten times (attached code). Result is that Matlab node version takes 0.5s versus 1.6s for Mathscript node version."
     http://forums.ni.com/t5/LabVIEW/Why-are-mathscript-performances-much-below-matlab-s/m-p/2369760/high...
    3) MATLAB Node, which states it uses ActiveX Technology seemingly works well, but loses time for data transfer.
    4) Trying to use the ActiveX functions or if there is other Automation potential.
    5)Other solutions that I have not found that might be better suited.
    Thank you for any help or suggestions in advance. 

    Barp and Mikeporter,
    Thank you for your assistance:
    The reason I need to do the processing in matlab is as you mentioned the processing script is coming from another person who has already developed it in matlab.  I almost have to treat it as a black box.
    The TCP/IP method was interesting is that none of the errors show up when I run the example but if I try to modify it in a new VI I get the errors.
    I have attached a simple program that just has a basic butterworth low pass filter I am trying to confirm if it works in the Matlab node.  I have done other simple codes which work, and this one does not seem the implement  the appropriate filter.  The LabVIEW signal and LabVIEW filter seem to work at the default values (but not if I change sampling rate) for the Simulation of signal, Matlab signal and Matlab filter work, but the Labview signal processed in Matlab is not working...
    Ideally it would be bandpass filtered (0.1-30) at sampling rate of 256 Hz and further processed from there, but I can't even seem to get low pass to work in the matlab to labview communication.
    Any help would be greatly appreciated.  Once I have that working I will have more of an idea of the constraints of the actual processing Matlab Code I will be using.
    Thank you again.
    -cj18
    Attachments:
    labview_matlab_filter.vi ‏70 KB

  • How to implement a dual booting PXI system using windows 7 and labview RT

    Good Day
    My name is Mariano Ocana from the University of Manitoba, and I want to implement a dual system using windows 7 and labview RT in a PXIe-1082 chassis with a PXIe-8102 embedded controlled (the chassis came with windows 7 installed). What are the steps to use both systems (windows and RT)  in the same chassis?, in the NI help comes an example implementing a dual system using windows xp and RT, it is the same procedure?.
    Thank you in advance for all your help.
    Regards
    M. Ocana

    Greetings, Mariano.
    The real issue you have to contend with is whether or not you have a LabVIEW RT license.  If the 8102 controller was purchased Windows-Only, you likely do not have a license to run LabVIEW RT on the controller - you can purchase one, I think it's about $500, and at that point you can request a LabVIEW RT Configuration CD (that's not what it's called, but the sales guy will know what I'm talking about).  The Config CD is a CD that will partition your controller correctly with both FAT32 and NTFS filesystems (in the appropriate way) to allow you to run Windows 7 and LabVIEW Real-Time on the controller correctly.  Once done, you can then switch within the BIOS between LabVIEW Real-Time and Windows in order to dual-boot.  
    Either way, you likely need to contact NI sales to either purchase an RT license (if one was not received at the time of purchase) or to request a Configuration CD (it might also be called a dual-boot install CD or similar).
    -Danny

  • Set up and control "counter" in S7-300 by OPC and LabVIEW

    Hi everyone,
    I am using a PLC S7-300 and OPC Server for my projects. I have a problem: S7-300 has a counter module which count digital signal. I only can set it up by using SIMATIC STEP 7. Can I set up counter module by only using OPC Server and LabVIEW
    does anyone have any solution or any idea for my problem?
    could you please help me...
    thank you
    Solved!
    Go to Solution.

    Hi Echion,
    NI-DAQ(mx) is used just for NI-Hardware: no you can't use it.
    To program the PLC you need to use the right programming environment. For Siemens S7 you need to use Simatic (or maybe some other 3rd party software supporting IEC61131). Point.
    The OPC server is used just for data exchange. It's no programming interface!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Communicate large number of parameters and variables between Verstand and Labview Model

    We have a dyno setup with a PXI-E chassis running Veristand 2014 and Inertia 2014. In order to enhance capabilities and timing of Veristand, I would like to use Labview models to perform tasks not possible by Veristand and Inertia. An example of this is to determine the maximum of a large number of thermocouples. Veristand has a compare funtion, but it compares only two values at a time. This makes for some lengthy and inflexible programming. Labview, on the other hand, has a function which aloows one to get the maximum of elements in an array in a single step. To use Labview I need to "send" the 50 or so thermocouples to the Labview model. In addition to the variables which need to be communicated between Veristand and Labview, I also need to present Labview with the threshold and confguration parameters. From the forums and user manuaIs understand that one has to use the connector pane in Labview and mapping in Veristand System Explorer to expose the inports and outports. The problem is that the Labview connector pane is limited to 27 I/O. How do I overcome that limitation?
    BTW. I am fairly new to Labview and Versitand.
    Thank you.
    Richard
    Solved!
    Go to Solution.

    @Jarrod:
    Thank you for the help. I created a simple test model and now understand how I can use clusters for a large number of variables. Regarding the mapping process: Can one map a folder of user channels to a cluster (one-step mapping)? Alternatively, I understand one can import a mapping (text) file in System Explorer. Is this import partial or does it replace all the mapping? The reason I am asking is that, if it is partial, then I can have separate mapping files for different configurations and my final mapping can be a combination of imported mapping files.
    @SteveK:
    Thank you for the hint on using a Custom Device. I understand that the Custom Device will be much more powerful and can be more generic. The problem at this stage is that my limitations in programming in Labview is far gretater than Labview models' limitations in Veristand. I'll definitely consider the Custom Device route once I am more provicient with LabView. Hopefully I'll be able to re-use some of the VI's I created for the LabView models.
    Thanks
    Richard

  • BasicTx and BasicRx daughter boards compatibility with USRP2920 and LabView

    I want to know that BasicTx and Basic Rx daughter boards from Ettus research are compatible with USRP2920 and Labview or not.
    Also do these boards supports variable gain or not? Please confirm 
    Thanks
    JK
    Solved!
    Go to Solution.

    They will work but you need to use property nodes to configure them. Ther is no LO so ther is no center frequency parameter. I and Q are separate channels so you will need to break them apart and treat them as such. There is no gain because the boards essentially provide access to the ADC.

Maybe you are looking for

  • Bridge CS4 Photo Downloader issue

    If I use Bridge CS4 photo downloader to retrieve images from a CF card, the download appears successful. Bridge and photoshop can process all files without problem from the download directory. Subsequently, if I use Digital Photo Professional (Canon'

  • How do i unblock Firefox? it says proxy diabled/blocked it how do i fix it?

    when i open Firefox it says that it was unable to connect to any sites because proxy is blocking it

  • Icon view, icon position not kept

    Most of my files are displayed in icon view. I have group them in positions easy to remember. Since upgrading to SL every now and then a folder (or two) will have the icons ordered by name and positioned in a grid even if I haven't give that command.

  • How to Create the BSP for two languages(English & Arabic)

    Hi , I got the requirement where  i need to create the  form for the Annuitant (Retriees) through they will inform their annuity department still they are surviving....so based upon the annuitant department run the annuity payslip for him....... In t

  • WRT54GS Wont support Two XBOX 360s online at the same time

    Just bought new Linksys WRT54GS to support two XBOX 360s live simultaneously.  Can't log both on at same time. It kicks first 360 off when second one tries to log on.  How can I fix this and have both NAT types open?