Do I need always need a shower?
Dear Listers,
I am trying to select an SCC tool for use in our very small company, but with a medium sized application of about 600 VIs and 40 MB of source code. I have an issue or two that I don't seem to be able to find answers to in the discussion archives.
1) Frequently, when I close the application, LV wants to save the top level VI and a multitude of Sub VIs, even though I have NOT explicitly edited them. Why does LV do this? And more importantly, can I stop it from doing this? My concern is that my SCC tool is going to see a lot more changed files than I believe it should be seeing.
2) With many(all?) SCC tools users can check out one or more files, perhaps even the entire application into a workspace of his choosing, make some changes, try out the code, and after he is satisfied, commit the changes back into the SCC repository. Assuming that I use a unique file system directory for this workspace, LV is going to change almost every VI to reflect the location of the VIs in my workspace. Again, this is very messy for the SCC tool to deal with.
Are there tricks to work around these features of LV?
Thanks,Fred
Question 1. Yes there is a way to get LV to stop doing what you have described. There are two settings under the Miscellaneous options setting that handle the problem:
1. Treat read-only VIs as locked
2. Do not save automatic changes
Make sure both of these are checked. Next make sure all the VIs in your application are write protected, except for the ones that you are actively working on. I know this sounds very inconvenient, but its not really. In fact I have come to really like not having to worry about whether or not to save a changed VI.
Question 2: Directory structure will be a problem. The best thing to do is set up a dirtectory structure and everybody uses it whether they like it or not. This may sound fascist, but if you think about it the directory structure in the developement environment is what ensures that your code stays linked properly. Therefore my position has always been that the directory structure is part of what you are protecting.
In terms of the SCC tool itself, let me make a really strong recommendation in favor of Subversion. Subversion is Open Source, free, works great, easy to set up, free, very powerful, secure--and did I mention free...
http://subversion.tigris.org/
Then to provide a nice Windows interface to your code repository, TortoiseSVN (also open source, free, etc, etc)
http://tortoisesvn.tigris.org/
Finally, to integrate it with LV Pro version, lvdiff (recently upgraded to provide enhanced features and improved error handling -- also free)
http://osdn.dl.sourceforge.net/sourceforge/meta-diff/lvdiff-2.2-win32.zip
If this is interesting I have a document I can post that covers how to install and configure things on the client end, Subversion's documentation describes how to setup the server.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Similar Messages
-
I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.
Hi ,
In your write back XML try the below query insert
INSERT INTO TABLE_XYZ (attribute1) values (SELECT CASE WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
Regards
Rajagopal -
I need to show grouped id and only the max order value for each unique id
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select #Temp1.id, max(#Temp1.[OrderOfVisit]), #Temp1.VisitNote
from #Temp1
group by #Temp1.id, #Temp1.OrderOfVisit, #Temp1.[VisitNote]
ORDER BY #Temp1.id
drop table #Temp1
---I need to show grouped id and only the max OrderOfVisit for each unique id, and the VisitNote for each OrderOfVisit
----------------need help-------------Sounds like this
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select id,OrderOfVisit,VisitNote
from
select #Temp1.id, #Temp1.[OrderOfVisit], #Temp1.VisitNote,ROW_NUMBER() OVER (PARTITION BY #Temp1.id ORDER BY #Temp1.[OrderOfVisit] DESC) AS Seq
from #Temp1
)t
WHERE Seq = 1
ORDER BY id
drop table #Temp1
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Need to show proof of purchase to my insurance company, but my phone was replaced by apple so has a different imei number to the one on my receipt, how do you sort this out??
Contact Apple and see if they can provide any documentation of the device swap.
-
Need to show popup when the Submit button is clicked for the second time ..
Hi guys,
I have a requirement where i need to show a popup or alert when the submit button is clicked twice . When it is clicked for the first time one method is been called and its process starts. When the user clicks the submit button for the second time they should be shown a popup stating "Submit button already been clicked, please clicked OK to continue".
Can anyone help with this please , its really urgent requirement ?
Thanks in advanceHi,
I dont have any sample code to give you now. For quick reference, I can advice some psuedo steps to achieve your requirement. I dont have access to JDEV to test this. If any syntax errors then pls correct yourself.
1. Extend Controller since it is standard page ( Refer Anil Passi site for steps to extend seeded ontroller)
2. Write below logic in your Process Request method
super.processRequest(oaPageContext, oaWebBean);
pageContext.putSessionValue("status", "notInitiated");
3. Include below logic in your PFR method
if(pageContext.getSessionValue("status")!=null){
if("notInitiated".equals(pageContext.getSessionValue("status")))
super.processFormRequest(oapagecontext, oawebbean);
pageContext.putSessionValue("status", "initiated");
else
String message = "Display error message as required";
throw new OAException(message, OAException.ERROR);
You may need to import required packages ( Related to OAException).
Remeber, to sumbit the request, user need to refresh the page again so that "status" variable will be refreshed.
Hope it helps.
Thanks
venkat -
Need to show data related to Process order request , BOM in a smart form
Hi,
I need to show data related to
Process order request
BoM
Now in selection screen we are entering the followings.
Manufacturing Plant ,MRP Controller, Production scheduler, Order type , Order , Material, Sales order, WBS Element,Release,Scheduled start, Scheduled finish ,Selection profile.
how to get 1> Process Order number,Produced Material,Material Description,Print date,Narcotics indicator , Quantity produced , Phase number , Phase description ,Resource description,Standard value to show in a request form.
2> Item category ,Component code,Component description , Component quantity ,Component Unit of measure ,BoM base quantity.
Please help me how to get those values , what should be the aaproach , how to write the select quiry.
ThanksHi
To get BOM details, do the following:
1. Use the material number and goto Article to BOM link table (MAST) to get STLNR (BOM).
2. With this STLNR, goto STPO table (where STLNR is the key field). Here you will get all the BOM details like components (IDNRK), UoM (MEINS) etc....
Hope this helps.
THanks
Vijay
<b>PLZ REWARD POINTS IF HELPFUL</b> -
Need to show No applicable data in the report.
Hi All,
We ave a key figure in the selection screen. And user will enter the value. based on the input, the report has to display less than or equal to the entered value as a result in the output of the report.
Input NIV as 67,169.48 then below results -
If user gives input NIV as 16,544.14 , the below output is showing.
But we need to show zero as result or no applicable data in the report. Is it possible to achieve through FORMULA.Please help on this
Thanks.Hi Jalina,
Yasemin already asked few questions.
but this is what we may do:-
to create a formula variable and use it for user input. use this formula variable in a formula , if your NIV kf<= formula variable, then NIV KF, else, 0.
then make a condition on this KF, not equal to zero to suppress this record.
regards,
Sakthi. -
Need to show a data in weeks for stacked column
I need to show the data broken down in weeks if you choose the start date and end date. I have to show in a stacked column chart. I am trying to show the values if you choose for example last month i need to show it by weeks for example
week user name total approved first approved last aprovedDate totalitemsAdded
week 1 XYZ 3 10/01/2012 10/05/2012 5
week2 XYZ 5 etc etc
etc
week 3
Below is the code and the result i am getting now .
Current Results
UserName TotalApproved
FirstApprovedDate LastApprovedDate
TotalItemsAdded
XYZ 9
2011-11-19 16:56:49.960
2011-11-19 18:18:20.783
2
DECLARE @StartDate DATETIME
DECLARE @EndDate DATETIME
SET @StartDate = '10/1/2012 '
SET @EndDate = '10/31/2012'
;with Items as(
SELECT
UserName = Profile.Description,
TotalItems = COUNT(TransactionID),
FirstAddedDate = MIN(UTCDate),
LastAddedDate = MAX(UTCDate)
FROM Transactiondatabase.dbo.transaction
JOIN Biography.dbo.Profile ON transaction.ProfileId = Profile.ProfileID
WHERE
Data like '%ItemAdded%'
AND UTCDate BETWEEN @StartDate AND DATEADD(dd,1,@EndDate)
GROUP BY
Profile.Description
Approved as
SELECT
UserName = Profile.Description,
TotalApproved = COUNT(TransactionID),
FirstApprovedDate = MIN(UTCDate),--Demo
LastApprovedDate = MAX(UTCDate)
FROM Transactiondatabase..transaction
JOIN Biography.dbo.Profile ON transaction.ProfileId = Profile.ProfileID
WHERE
Data like '%Approved%'
AND UTCDate BETWEEN @StartDate AND DATEADD(dd,1,@EndDate)
GROUP BY
Profile.Description
Select Distinct Approved.*, TotalItemssAdded = sum(distinct Items.TotalItems)
from Items, Approved
Group by Approved.UserName, Approved.FirstApprovedDate, Approved.LastApprovedDate, Approved.TotalApproved
using ssrs 2005Hi Sunny04,
If I understand correctly, you want to display the data by weeks in a stacked column chart. If in this case, we can add a calculated field named week to display the week name, and then group it. For more details, please see the following steps:
Right-click the dataset to add a calculated field with the values below:
Name: Week
Calculated field: =DatePart(DateInterval.WeekOfYear,Fields!FirstApprovedDate.Value,0,0)
Add Week field to category group area in a stacked column chart.
Right-click Week field to open the Properties dialog box, modify the expression of Label to like this:
="week"&Fields!Week.Value
Add TotalApproved or TotalItemsAdded field to data area in the chart.
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Need to show three diff sheets in a smart form , first to be printed twice
Hi
I need to show data in a smart form where I have 3 different sheets
Process order request
BoM
Assembly
where the first sheet will be printed twice .
as header in each case we have order no , produced material order qty , qty produced etc with the title changing for each sheet . main window we have diff data depending on each form like it will b changing for process order req, bom , assembly .
how to do that & I need to print each layout in 2 diff language.
plz help.
useful answers will be rewarded.
ThanksCreate three pages . The first and the last are static and the second variable.
The first page repeat with a loop twice. The headers of the second pages and next has a window static (the header) and other variable .
If you have two languages repeat the operation. Call the smartform with a parameter called language by example -
Need to show text as links in AppThumbnailExplorer Layout set
Hi,
I am using AppThumbnailExplorer layout set to display "My Favorites" iview in 3*3. But the entries are as text-we need to show the entries as hyperlinked (TEXT as TEXT)
Thanks in advance
SathyaHi,
Thanks for your reply:
I have the following properties in the VISIBLE:
rnd:imagernd:thumbnail(noicons/width=50/height=50/alignLeft/contentLink)rnd:displayname(contentLink)+rnd:description
The text is still displayed without UNDERLINE....
Appreciate your reply.
=Sat -
Need to show previous 3months data
Hi
I need to show last 3months data in the report. Currently i am able to do it by creating 3 reporsitory variables - Last 3months,last 2months, last month
Variable created : Select to_char(add_months(sysdate,-3),'Month'),to_char(add_months(sysdate,-2),'Month'),to_char(add_months(sysdate,-1),'Month') from dual
With these variables i have to include filter for current year in my request in answers.But for year 2011 it will create problem as i would need data for both the years but only for previous 3mnths from sysdate.
Appreciate valuable suggestions.If you are looking for last 3 months data irrespective of year i.e. last 90 days data use the following at report level
date >= timestampadd(sql_tsi_day,-90,current_date). -
Need to show the Condition amount or percentage(KBETR) in display mode.
Hi,
i need to show the Condition amount or percentage(KBETR) in display mode for VA02 transaction based on the condition type. the KBETR in the table control. so how it will become in display mode?
already i tried with this code.
in MV45AFZZ form userexit_field_modification.
case screen.
when screen-name = 'KOMV-KBETR'.
read table xkomv with key kschl = c_xr1(XR1).
if sy-subrc = '0'.
SCREEN-INPUT = '0'.
endif.
in debugging mode the condition is satisfying but not modifying the screen.
can anyone help me . please it is urgent.Hi Praveen,
See in Exit 'LV69AFZZ' and subroutine 'USEREXIT_FIELD_MODIFICATION',
code should be like this
if komv-kschl eq 'your condition type'.
case screen-name.
when 'KOMV-KBETR'.
screen-input = 0.
endcase.
endif.
For header level conditions you need to use "form userexit_field_modific_kopf"
try it.
i hope it will solve your problem.
ENJOY SAP. -
Need to show some fields in display mode
Hi, i need to show some fields in display mode for VA02 transaction code( is to change the values) for some particular users. so do we have any user exits for this requirement?
Please answer me. its very urgent.. thanks in advance.
ex: payment terms and freight terms.you can try this for header level data
MV45AFZZ exit ""USEREXIT_FIELD_MODIFICATION"
code would be like below
CASE screen-name.
To suppress Pricing total and Cuurency field at header
WHEN 'VBAK-NETWR'.
*YOU CAN ADD YOUR CONDITION HERE WHICH IF SATISFY THEN *EXECUTE NEXT LINE OR SKIP IT
screen-INPUT = 0.
WHEN 'VBAK-WAERK'.
screen-INPUT = 0
ENDCASE.
but it depend upon what data AND in which tab you want to hide, like is it at header level or at item level or pricing (HEADER OR ITEM) data each of them have different exit to restrict data modification.
ENJOY SAP. -
ME22n and ME23n transaction need to show changes in item changes.
Hi Experts,
I need to show the changes of Shipping Point & Delivery Priority from T.Code ME22N & ME23N in Environment --> Item Changes menu path. (change log)
How do i do this. these 2 fields are from EKPV table. please provide clue like exits to make the changes or and Function modules to be used.
thanks in advance.Hi
You can get out the data from document change (see table CDHDR and CDPOS) using the object class EINKBELEG
Max -
I need to show an html file from an application
Hi there!, I really need your help...
I have the absolute path in an String variable:
String fileHTML = "C:\\AllCitiHTML\\GeneralHTML_Files\\Temp\\2002030925General.htm";
Now, I need to show this page in a browser(explorer or netscape) but the page must be showed in both.
I tried with this code, but it doesn't show nothing
String urlName = fileHTML;
String browser = "iexplore ";
Runtime.getRuntime().exec(browser + urlName);
in addition it would only serve for explorer and not for netscape.
reply this message with all the possible code that you can use...
Please I need help very urgent, thanksMultiple cross-post.
-
WHAT PARTS ARE NEEDED TO SHOW MY MAC 10.8.4 OVER TV-.
WHAT PARTS ARE NEEDED TO SHOW MY MAC 10.8.4 OVER TV….
About AirPlay Mirroring in OS X Mountain Lion
You need:
An AirPlay-enabled device such as http://store.apple.com/us/ipod/ipod-accessories/apple-tv
A suitable TV monitor
A network
HDMI cable
A compatible Mac:
iMac (Mid 2011 or newer)
Mac mini (Mid 2011 or newer)
MacBook Air (Mid 2011 or newer)
MacBook Pro (Early 2011 or newer)
Or, depending on the model Mac you intend to use: a Thunderbolt or MiniDP or DVI to HDMI adapter for a wired connection to your TV or AVR
Maybe you are looking for
-
How to change CUE ip address?
Hi, We moved to a new location and using comcast as ISP. I was setting up the phone system today and met a few problems. 1. First of all, all the phones are connected and working(total of 4), but I can only see 3 of them showing up in the CCA. Whats
-
How to trigger crystal report from SAP ECC
Hi All, I hope i m right forum to ask this question. we want to do label printing from Crystal reports. data will be present in SAP ECC . So I below issues 1 ) how to connect SAP ECC database with Crystal Reports. 2 ) how to trigger print output in C
-
I have tables in a database and can't see the option to "view" or "open" it and see all the data. I found "Select top 1000 rows" I am new to it, how do I open the table to see all headings and records and how do I export to Excel afterwards? Thanks.
-
Urgent: how to add additional records to hashed table
Hi, I want to add records to a hashed table. my code is: data: ipn_pc_zoba type hashed table of tpn_pc_zoba with unique key vbeln. loop at izoba into wzoba. clear wpn_pc_zoba . read table ipn_pc_zoba into wpn_pc_zoba with key vbeln = wzoba-LS_KDAUF.
-
Apple, please fix safari random crash and tab auto refresh
Apple, are those issues ever going to get fixed? They destroyed iOS 7's usability and the latest 7.1 beta doesnt seem to address either. 1) Safari randomly crashes - happens multiple times a day. Sometimes opening new pages, sometimes scrolling thro