P&L Statement in SSRS

Hi,
I am working om a Profit & Loss statement in SSRS 2012 and am wondering how to fix correct calculations. My dataset has categories and subcategories and I would like to have these as row groups in a tablix (matrix). Category 1 is "Gross Margin";
category 2 "Costs" and category 3 "Interests". Subcategories are a row group that can be toggled on and off. As a Grand Total I would like to have "Gross Margin" minus "Costs" minus "Interests". My point
is how to get the Costs and Interest deducted from the Gross Margin in the tablix once they are in the same data region. I don't want to show Costs and Interest with a minus sign. So, my Grand Total would be GM -/- Costs -/- Interests where the amounts
for GM, Costs and Interests show up as absolute figures. How should I substract one item in a data region from another item in the same data region? I would rather not like to make several adjacent groupings for the same row group. So preferably nog a grouping
on Category (filtered for Gros Margin) and another adjacent grouping (filtered for Costs) and another adjacent grouping (filtered for Interests) ... I Googled around but there is not a common practice for issues like this.
Example:
Sales: 1000 (= Subcategory)
Cost of sales: 600 (= Subcategory)
GROSS MARGIN: 400 (= Category)
Wages and salaries: 100 (= Sub)
Housing: 50 (= Sub)
Depreciations: 100 (= Sub)
Other expenses: 60 (= Sub)
COSTS: 310 (= Category)
Interests paid: 15 (= Sub)
Interests recieved: 5 (= Sub)
INTERESTS: 10 (= Category)
RESULT BEFORE TAXES: 80
What is the best way to accomplish this?
Thanks!

Hi Bijntjede2e,
According to your example
in the first group GROSS MARGIN: 400=1000-600
in the second group COSTS: 310=100+50+100+60
in the third group INTERESTS: 10=15-10
In SQL Server Reporting Services report, when adding a total for a group, RS will calculated the sum value from those items inside the corresponding group. In your scenario, you want to calculate the difference value on the first and third group, and calculate
the sum value on the second group. Base on my research, there is no such a functionally that can achieve this requirement
Thank you for your understanding.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • How to convert switch statement into iif than else statement in SSRS

    Hi All;
    How do i convert switch statement into iif statement in ssrs
    =
    Switch(
    Fields!createdonValue.Value = Now(), "Today",
    Fields!createdonValue.Value = DateAdd("d",-1,Today()),"Yesterday",
    Fields!createdonValue.Value >= FORMATDATETIME(DateAdd(DateInterval.Day, -6,DateAdd(DateInterval.Day, 1-Weekday(today),Today)),DATEFORMAT.ShortDate) and
    Fields!createdonValue.Value <= FORMATDATETIME(DateAdd(DateInterval.Day, -0,DateAdd(DateInterval.Day, 1-Weekday(today),Today)),DATEFORMAT.ShortDate),"Last Week",
    Fields!createdonValue.Value >= FORMATDATETIME(DateAdd(DateInterval.Day, -13,DateAdd(DateInterval.Day, 1-Weekday(today),Today)),DATEFORMAT.ShortDate) and
    Fields!createdonValue.Value <= FORMATDATETIME(DateAdd(DateInterval.Day, -0,DateAdd(DateInterval.Day, 1-Weekday(today),Today)),DATEFORMAT.ShortDate),"Last Fortnight",
    Fields!createdonValue.Value >= DateValue(DateAdd("M",-1,DateAdd("D",-(Day(Now)-1),Now))) and
    Fields!createdonValue.Value <= DateValue(DateAdd("D",-1,DateAdd("D",-(Day(Now)-1),Now))),"Last Month",
    Fields!createdonValue.Value >= DateSerial(Year(Now()), 1, 1) and
    Fields!createdonValue.Value <= DateSerial(Year(Now()), 12, 31),"Year to Date"
    Any help much appreciated
    Thanks
    Pradnya07

    Not sure why you want to se IIF as Switch is more compact
    Anyways it will look like this
    =IIf(
    Fields!createdonValue.Value = Now(), "Today",IIf(
    Fields!createdonValue.Value = DateAdd("d",-1,Today()),"Yesterday",Iif(
    Fields!createdonValue.Value >= FORMATDATETIME(DateAdd(DateInterval.Day, -6,DateAdd(DateInterval.Day, 1-Weekday(today),Today)),DATEFORMAT.ShortDate) and
    Fields!createdonValue.Value <= FORMATDATETIME(DateAdd(DateInterval.Day, -0,DateAdd(DateInterval.Day, 1-Weekday(today),Today)),DATEFORMAT.ShortDate),"Last Week",IIf(
    Fields!createdonValue.Value >= FORMATDATETIME(DateAdd(DateInterval.Day, -13,DateAdd(DateInterval.Day, 1-Weekday(today),Today)),DATEFORMAT.ShortDate) and
    Fields!createdonValue.Value <= FORMATDATETIME(DateAdd(DateInterval.Day, -0,DateAdd(DateInterval.Day, 1-Weekday(today),Today)),DATEFORMAT.ShortDate),"Last Fortnight",IIf(
    Fields!createdonValue.Value >= DateValue(DateAdd("M",-1,DateAdd("D",-(Day(Now)-1),Now))) and
    Fields!createdonValue.Value <= DateValue(DateAdd("D",-1,DateAdd("D",-(Day(Now)-1),Now))),"Last Month",IIf(
    Fields!createdonValue.Value >= DateSerial(Year(Now()), 1, 1) and
    Fields!createdonValue.Value <= DateSerial(Year(Now()), 12, 31),"Year to Date")))))
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Multiplying 2 values based on an If statement in SSRS reports

    I am working on a pretty complicated report, and I am unable to get the values to multiply correctly on one line.  The expression is simple, if the value in textbox293 is greater then the value in textbox294 then multiply textbox293 by textbox289 else
    multiply textbox294 by textbox289.  
    In SSRS terms IIF(textbox293.value > textbox294.value, textbox293.value * textbox289.value, textbox294.value * textbox289.value)
    I am using the actual formulas that I used to get the values, they have a nested IIF statement to return 0.00 if the value is less < 0.  I am also rounding to 6 decimal places on 1 value to ensure I get the correct value out to 4 decimal places.
    I have checked all of the value on the report up to this point are correct, and are displaying correctly.  I have broken apart my IIF statement to make it easier to read: 
    =IIF(IIF((Sum(Fields!RSR_MIN_2.Value, "Revenue") + IIF((Sum(Fields!SR_Minus_2.Value, "Certificated_Exp") - First(Fields!RSR_MIN_2.Value, "Rev_Code5899") - First(Fields!End_Fund_min2.Value, "End_Fund_Balance"))
    * (Sum(Fields!RGF_MIN_2.Value, "Revenue") / First(Fields!RGF_MIN_2.Value, "Rev_Code5899"))< 0, 0.00, (Sum(Fields!SR_Minus_2.Value, "Certificated_Exp") - First(Fields!RSR_MIN_2.Value, "Rev_Code5899") - First(Fields!End_Fund_min2.Value,
    "End_Fund_Balance")) * (round(Sum(Fields!RGF_MIN_2.Value, "Revenue") / First(Fields!RGF_MIN_2.Value, "Rev_Code5899"),6))))/(First(Fields!WADA2011_1.Value, "Second_Year_Preceeding_WADA")) < 0, 0.00, (Sum(Fields!RSR_MIN_2.Value,
    "Revenue") + IIF((Sum(Fields!SR_Minus_2.Value, "Certificated_Exp") - First(Fields!RSR_MIN_2.Value, "Rev_Code5899") - First(Fields!End_Fund_min2.Value, "End_Fund_Balance")) * (Sum(Fields!RGF_MIN_2.Value, "Revenue")
    / First(Fields!RGF_MIN_2.Value, "Rev_Code5899"))< 0, 0.00, (Sum(Fields!SR_Minus_2.Value, "Certificated_Exp") - First(Fields!RSR_MIN_2.Value, "Rev_Code5899") - First(Fields!End_Fund_min2.Value, "End_Fund_Balance"))
    * (round(Sum(Fields!RGF_MIN_2.Value, "Revenue") / First(Fields!RGF_MIN_2.Value, "Rev_Code5899"),6))))/(First(Fields!WADA2011_1.Value, "Second_Year_Preceeding_WADA"))) 
    >
     =IIF((Sum(Fields!RSR_MIN_1.Value, "Revenue") + IIF((Sum(Fields!SR_MINUS_1.Value, "Certificated_Exp")-first(Fields!RSR_MIN_1.Value,"Rev_Code5899")-first(Fields!End_FundMinus1.Value,"End_Fund_Balance"))*(Sum(Fields!RGF_MIN_1.Value,
    "Revenue")/first(Fields!RGF_MIN_1.value,"Rev_Code5899"))< 0, 0.00, (Sum(Fields!SR_MINUS_1.Value, "Certificated_Exp")-first(Fields!RSR_MIN_1.Value,"Rev_Code5899")-first(Fields!End_FundMinus1.Value,"End_Fund_Balance"))*(round(Sum(Fields!RGF_MIN_1.Value,
    "Revenue")/first(Fields!RGF_MIN_1.value,"Rev_Code5899"),6)))) / (First(Fields!WADA2012_1.Value, "Second_Year_Preceeding_WADA")) < 0, 0.00, (Sum(Fields!RSR_MIN_1.Value, "Revenue") + IIF((Sum(Fields!SR_MINUS_1.Value,
    "Certificated_Exp")-first(Fields!RSR_MIN_1.Value,"Rev_Code5899")-first(Fields!End_FundMinus1.Value,"End_Fund_Balance"))*(Sum(Fields!RGF_MIN_1.Value, "Revenue")/first(Fields!RGF_MIN_1.value,"Rev_Code5899"))<
    0, 0.00, (Sum(Fields!SR_MINUS_1.Value, "Certificated_Exp")-first(Fields!RSR_MIN_1.Value,"Rev_Code5899")-first(Fields!End_FundMinus1.Value,"End_Fund_Balance"))*(round(Sum(Fields!RGF_MIN_1.Value, "Revenue")/first(Fields!RGF_MIN_1.value,"Rev_Code5899"),6))))
    / (First(Fields!WADA2012_1.Value, "Second_Year_Preceeding_WADA")))
    IIF((Sum(Fields!RSR_MIN_2.Value, "Revenue") + IIF((Sum(Fields!SR_Minus_2.Value, "Certificated_Exp") - First(Fields!RSR_MIN_2.Value, "Rev_Code5899") - First(Fields!End_Fund_min2.Value, "End_Fund_Balance")) * (Sum(Fields!RGF_MIN_2.Value,
    "Revenue") / First(Fields!RGF_MIN_2.Value, "Rev_Code5899"))< 0, 0.00, (Sum(Fields!SR_Minus_2.Value, "Certificated_Exp") - First(Fields!RSR_MIN_2.Value, "Rev_Code5899") - First(Fields!End_Fund_min2.Value, "End_Fund_Balance"))
    * (round(Sum(Fields!RGF_MIN_2.Value, "Revenue") / First(Fields!RGF_MIN_2.Value, "Rev_Code5899"),6))))/(First(Fields!WADA2011_1.Value, "Second_Year_Preceeding_WADA")) < 0, 0.00, (Sum(Fields!RSR_MIN_2.Value, "Revenue")
    + IIF((Sum(Fields!SR_Minus_2.Value, "Certificated_Exp") - First(Fields!RSR_MIN_2.Value, "Rev_Code5899") - First(Fields!End_Fund_min2.Value, "End_Fund_Balance")) * (Sum(Fields!RGF_MIN_2.Value, "Revenue") / First(Fields!RGF_MIN_2.Value,
    "Rev_Code5899"))< 0, 0.00, (Sum(Fields!SR_Minus_2.Value, "Certificated_Exp") - First(Fields!RSR_MIN_2.Value, "Rev_Code5899") - First(Fields!End_Fund_min2.Value, "End_Fund_Balance")) * (round(Sum(Fields!RGF_MIN_2.Value,
    "Revenue") / First(Fields!RGF_MIN_2.Value, "Rev_Code5899"),6))))/(First(Fields!WADA2011_1.Value, "Second_Year_Preceeding_WADA"))) * (first(Fields!WADA2013_1.Value,"Second_Year_Preceeding_WADA"))
    IIF((Sum(Fields!RSR_MIN_1.Value, "Revenue") + IIF((Sum(Fields!SR_MINUS_1.Value, "Certificated_Exp")-first(Fields!RSR_MIN_1.Value,"Rev_Code5899")-first(Fields!End_FundMinus1.Value,"End_Fund_Balance"))*(Sum(Fields!RGF_MIN_1.Value,
    "Revenue")/first(Fields!RGF_MIN_1.value,"Rev_Code5899"))< 0, 0.00, (Sum(Fields!SR_MINUS_1.Value, "Certificated_Exp")-first(Fields!RSR_MIN_1.Value,"Rev_Code5899")-first(Fields!End_FundMinus1.Value,"End_Fund_Balance"))*(round(Sum(Fields!RGF_MIN_1.Value,
    "Revenue")/first(Fields!RGF_MIN_1.value,"Rev_Code5899"),6)))) / (First(Fields!WADA2012_1.Value, "Second_Year_Preceeding_WADA")) < 0, 0.00, (Sum(Fields!RSR_MIN_1.Value, "Revenue") + IIF((Sum(Fields!SR_MINUS_1.Value,
    "Certificated_Exp")-first(Fields!RSR_MIN_1.Value,"Rev_Code5899")-first(Fields!End_FundMinus1.Value,"End_Fund_Balance"))*(Sum(Fields!RGF_MIN_1.Value, "Revenue")/first(Fields!RGF_MIN_1.value,"Rev_Code5899"))<
    0, 0.00, (Sum(Fields!SR_MINUS_1.Value, "Certificated_Exp")-first(Fields!RSR_MIN_1.Value,"Rev_Code5899")-first(Fields!End_FundMinus1.Value,"End_Fund_Balance"))*(round(Sum(Fields!RGF_MIN_1.Value, "Revenue")/first(Fields!RGF_MIN_1.value,"Rev_Code5899"),6))))
    / (First(Fields!WADA2012_1.Value, "Second_Year_Preceeding_WADA"))) * (first(Fields!WADA2013_1.Value,"Second_Year_Preceeding_WADA")))
    A screen shot of the report:
    The value in the bottom box should be: 37,080,118.75
    I have tried:
    =IIF(ReportItems!Textbox293.Value > ReportItems!Textbox294.Value, ReportItems!Textbox293.Value * ReportItems!Textbox289.Value, ReportItems!Textbox294.Value * ReportItems!Textbox289.Value) and I get a scope error.
    I have also tried 
    =IIF(CDbl(Fields!Textbox293.Value) > CDbl(Fields!Textbox294.Value), CDbl(FieldsTextbox293.Value) * CDbl(Fields!Textbox289.Value), CDbl(Fields!Textbox294.Value) * CDbl(Fields!Textbox289.Value))
    I get the same scope error, part of the problem here is that in order to get things to display correctly each row in this section of the report is a different table
    Row1 = tablix19
    Row2 = tablix20
    Row3 = tablix21
    Any help here would be great

    Hello,
    In your case, we can try to use Report Variables to resolve the issue. In SSRS, when we have a complex calculation we can create a variable in the report. Variable can be used more than once in a report. Please refer to the following steps:
    Open Report Properties dialog box.
    Click Variables in the left pane. Then, add specific variable.
    (Note: Suppose we have create two variables: textbox293, textbox294)
    After that, we can use following expression to calculate the effect:
    =IIF(Variables! textbox293.Value > Variables! textbox294.Value,
    Variables! textbox293.Value * ReportItems!Textbox289.Value,
    Variables! textbox294.Value * ReportItems!Textbox289.Value)
    Reference:
    Report and Group Variables Collections References
    If the issue is persist, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Multiple IIF Statements in SSRS Expression

    Team:
    The following IIF expression works:
    =IIf(Fields!Court.Value = "MA", "Total Filed:   Daily = "&Fields!MAFiledDaily.Value, Nothing)&
    IIf(Fields!Court.Value = "MA", " | Monthly = "&Fields!MAFiledTotal.Value, Nothing)
    However; I have 10 additional Court.Values for the IIF statement to check and return results.
    I have tried the following with no luck ("OR" added):
    =IIf(Fields!Court.Value = "MA", "Total Filed:   Daily = "&Fields!MAFiledDaily.Value, Nothing)&
    IIf(Fields!Court.Value = "MA", " | Monthly = "&Fields!MAFiledTotal.Value, Nothing)
    or
    IIf(Fields!Court.Value = "MB", "Total Filed:   Daily = "&Fields!MBFiledDaily.Value, Nothing)&
    IIf(Fields!Court.Value = "MB", " | Monthly = "&Fields!MBFiledTotal.Value, Nothing)
    Any help would be welcomed.
    Regards,
    jer
    jer

    You have to nest the IIf statements which looks a bit messy but the only other way would be to alter your dataset to return the extra text you need with a case statement.
    =IIf(Fields!Court.Value =
    "MA",
    "Total Filed:   Daily = "&Fields!MAFiledDaily.Value, IIf(Fields!Court.Value =
    "MB",
    "Total Filed:   Daily = "&Fields!MBFiledDaily.Value,
    Nothing))&
    IIf(Fields!Court.Value =
    "MA",
    " | Monthly = "&Fields!MAFiledTotal.Value, IIf(Fields!Court.Value =
    "MB",
    " | Monthly = "&Fields!MBFiledTotal.Value,
    Nothing))

  • Writing an IIF Statement in SSRS using IN or LIKE

    Hello,
    I am trying to write an IIf statement with multiple conditions and I am getting an error. Here is the current syntax:
    =IIf(Fields!role_sk.Value=4174 AND Fields!settle_type_sk.Value
    LIKE (4159,4160), Fields!company_name.Value,"")
    Here is the error:
    Any ideas? I think it has to do with the LIKE.
    Thank

    The syntax on the Like is incorrect. The Like operator expects a string to compare to that uses an * as a wildcard for any character(s).
    =IIf(Fields!Name.Value Like "F*", Fields!Name.Value, "Not F")
    This will display the name field if it starts with an "F" or "Not F" if not.
    The "In" operator is not available in expression builder but is available in filters (Tablix, Group, etc.). To use that, the Value must be an array. You can create
    an array of static text using the Split function in expression builder.
    =Split("Me,You,Them",",")
    This creates an array with 3 elements:Me, You, and Them. If any are matched in the field or expression you are comparing to in the filter, the record will be displayed,
    otherwise not.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • I have a question whether I am using the correct IIf statement in SSRS?

    I have created a report with columns for case name, date opened, staff assigned, title, contact date, created by, and comments. I also have selected the comment_type field for the sake of indicating which data to pull but it will not be listed on the report.
    I have the following IIf statement which indicates that if the comment_type is NOT equal to 4322 then I want it to return NOTHING (or a blank line, one line ONLY, not repeated ugh) and if it IS equal to 4322 then that's the information I want to be placed
    on the report for created by, contact date, and comment fields.
    =IIf(Fields!comment_type_sk.Value <> 4322, Nothing, 4322)
    Now, the problem is, I want the report to generate as below and I'm not sure where to place this in order for it to render correctly. If the comment type 4322 is present then print the information in the last three columns, if it is anything but that,
    then just a blank line where those fields are. The report itself is to be pulled on dated opened. SO...I'm not sure if this code should go under a parameter? or if it should just be stated in the expression for each of those fields? PS I am teaching myself
    SQL. Sorry for the lack of knowledge.
    Smith, Joe                                           1/1/2007   
    Jones, Tom      Lead Atty    1/28/2013     MJohnson        Set up meeting
    Franz, Joseph                                      3/15/2008  
    Grouch, Oscar  Lead Atty   
    Jones, Paula                                         2/16/2013 
    French, Mary    Partner       2/20/2013     DFalk              Atty Introduction
    Thanks,
    Dawn

    Hi,
    You can place the IIF statement in the 3 columns. You do not need a parameter.But the iif statement in the last 3 columns should be similar as below
    Col1 - iif(Fields!comment_type_sk.Value <> 4322,
    Nothing,col1)
    Col2 - iif(Fields!comment_type_sk.Value <> 4322,
    Nothing,col2)
    Col3 - iif(Fields!comment_type_sk.Value <> 4322,
    Nothing,col3)
    HTH,
    Ram
    Please vote as helpful or mark as answer, if it helps

  • Trouble with IIF statement in SSRS report builder

    hi....
    I have an expression field that isn't working.  They are Dynamics GP tables, and I am trying to show converted currencies:
    =IIF (Fields!Currency.Value=RTrim("Z-US$"), Fields!ORCPTCOST.Value
    , Fields!ORCPTCOST.Value / CDEC(Fields!ExchangeRate.Value))
    The true part is bolded.  when the report shows, it always comes up as
    #Error. If the currency is  "Z-MXN$", it calculates it fine. 
    So why is my true part not working?
    thanks!
    ~george

    Hi George,
    Based on my research, this issue can be caused by
    IIF is not an expression, it is a function with three parameters:
    IIF(Condition, ValueIfTrue, ValueIfFalse)
    Note that all parameters are evaluated before being passed to the function. We can still get an error, because the erroneous expression is still evaluated even when the condition should mean that it
    isn't. For example, when the currency is "Z-US$", the ExchangeRate field returns
    a stream of letters which cannot be changed to decimal type. Or the ExchangeRate field returns 0, then the denominator is 0, the division makes no sense. So it displays #Error.
    To fix this issue, we can assign a value that doesn’t affect the expression result to ExchangeRate field when it is
    a stream of letters or equal to 0. The expression below is for your references:
    =IIF (Fields!Currency.Value=RTrim("Z-US$"), Fields!ORCPTCOST.Value , Fields!ORCPTCOST.Value / CDEC(iif(IsNumeric(Fields!ExchangeRate.Value)=false or Fields!ExchangeRate.Value=0, 1, Fields!ExchangeRate.Value)))
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • SSRS IIF Statement #Error

    All,
    I have the below IIF statement in SSRS report based on a sharepoint list. However I get #Error only on certain lines
    For example when Item_Name = P001-P384D630Z01
    I am sort of stunned at this point. All the other lines work except the one with above item name. If I remove the MF5 Mod Center part of the iif then everything works.
    =
    Iif((mid(Fields!Item_Name.Value,8,1)= 3 OR mid(Fields!Item_Name.Value),8,1)=4) AND LEFT(TRIM(Fields!Project_No.Value),1) =8, "MF5 Mod Center",
    Iif(Left(Fields!Project_No.Value,1)="3","HOU MOD",
    Iif(Left(Fields!Item_Name.Value,3) = "RDC","RDC",
    Iif(Left(Fields!Item_Name.Value,4) = "P001","Overseas",
    Iif(IsNothing(Fields!Engineering_Status.Value), "Pre-engineering",
    Iif(Fields!Engineering_Status.Value="P.C. Finished", "Production",
    Fields!Engineering_Status.Value

    It's working after removing the "-" in the item_name if anyone is wondering.
    =
    Iif(Left(Fields!Project_No.Value,1)="3","HOU MOD",
    Iif(Left(Fields!Item_Name.Value,3) = "RDC","RDC",
    Iif(Left(Fields!Item_Name.Value,4) = "P001","Overseas",
    Iif(IsNothing(Fields!Engineering_Status.Value), "Pre-engineering",
    Iif(Fields!Engineering_Status.Value="P.C. Finished", "Production",
    Iif((mid(replace(Fields!Item_Name.Value,"-",""),8,1)= 3 OR mid(replace(Fields!Item_Name.Value,"-",""),8,1)=4) AND LEFT(TRIM(Fields!Project_No.Value),1) =8, "MF5 Mod Center"
    ,Fields!Engineering_Status.Value

  • Income Statement

    Has anyone actually been able to create an Income Statement in SSRS without using analysis services as the data source?  I'm having a greate deal of trouble conceptualizing how to calculate net income for a month with year to date totals as well
    So Long And Thanks For All The Fish!

    Hi GOLFBALLTX,
    Just as Visakh suggest, could you please provide us more information about the issue? Such as the screenshots about your report design, your dataset with sample data and the desired results, then we can make further analysis.
    Reference:
    Expression Examples (Report Builder and SSRS)
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Is it possible to drive REXROTH pneumatic actuator which requires 24V & 500mA,, using LabVIEW ? if Yes, can anyone please guide me regarding the same ? I'm doing my project , so badly need info.

    Hello,
    I'm doing project which requires pneumatic actuator. Available actuator in our college is REXROTH BOSCH pnuematic actuator. which requires 24V and 500mA drive. Also it has to be timing controlled (I mean it should be ON & OFF, software controlled)
    I have attached snap of my LabVIEW block diagram. Here, comparator output has to drive Pneumatic actuator. Also we have NI 9485, 8 channel Solid State Relay (SSR), is it possible to use it in my project?
    Thank you, your help is much appreciated...
    Attachments:
    ni help.jpg ‏35 KB

    I apologize for my mistake,
    I'm new to this community...
    Image which I've tagged , contains 2 O/Ps from comparator.. I need to drive actuator from those O/Ps...
    After processing Image & calculating number of particles, depending upon those numbers, i want to drive Actuator which i've specified earlier...
    thank you for your time... help appreciated...

  • PXI-6528 Watchdog Timer parameters

    I am using the PXI-6528 DIO on PXI chassis. This board is an opto-isolated TTL DIO.  The card has an on-board Watchdog timer.  I have DAQmx Generate - Digital Line Output (PXI-6528) steps in Sequence steps with "reuse hardware" permitted which set lines high or low as needed for commanding solid state relays (SSR).  When the project runs, the behavior non-deterministically sets all lines to low when transitioning to the next Sequence step.  If I run each DO step independently it works perfectly every time.  
    To investigate this phenomenon, I did a simple bench check to rule-out SE software errors.  I simply patched from the DO port to the DI port on the same card.  Then I added a DI Acquire step just after every DO step to electrically read the states.  The result is that the DO port really is going low when the SE software is programmed for high or low!  It seems to me that the only thing that can override the SE logic is the Watchdog timer.  
    Reading this NI White paper:
    http://www.ni.com/white-paper/14616/en/#toc4
    It seems that it is critical to configure the Watchdog timer to achieve stable behavior from the 6528 card.  BUT, neither MAX, DAQ Assistant, or SE have an obvious way to configure the Watchdog timer.
    QUESTION: Within SE-DAQmx-Generate-Digital Line Output step what are the parameters that control or disable the Watchdog timer for the PXI-6528?

    Update:
    I have found more information at this URL:
    http://zone.ni.com/reference/en-XX/help/370471AC-01/cdaqmxsupp/pci-6528/
    This is the C programming reference specific to the PXI-6528.  Reviewing the Watchdog timer properties we find that the "Timeout" property can disable the timer with a value of -1.  On the DAQmx Assistant GUI for DO, the Advanced Timing tab does have a Timeout property which will accept a value of -1; however, one must set the Generation Mode to N-Samples to activate the Timeout input field.  As the 6528 fundamentally cannot generate samples, then we must reset the Generation mode back to 1-Sample (On Demand) with the effect that the Timeout property is greyed out on the GUI - does this signify that the -1 value for Timeout is ignored?

  • URL Action

    All,
    I have a URL Action (defined on cells based on condition specified in MDX) defined in my SSAS 2005 Cube that opens a page in our ASP .Net application. 
    I use custom MDX statements within SSRS to generate report. Is it possible to expose the above action in a report generated using reporting services ? (in which case I can use the "Jump to URL" feature in SSRS to redirect the user to the appropriate web page) If so, please can you specify how?
    Thanks in advance,
    Arun

    Hey Arun,
    can you describe me, how can I trought URL Action open one ASP .Net application?
    Best Regards

  • Cannot open files on SharePoint using OWA - There was no endpoint listening at net.pipe

    Greetings,
    Today we have had people calling in saying that they cannot open their files.  After digging in for a bit, we found that if we set the library to open with the client it worked fine, thus OWA is having the issue.
    The correlation exception is the following :
    There was no endpoint listening at net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc that could accept the message
    One user here (
    https://ericjfehn.wordpress.com/tag/sharepoint-2013-office-web-apps/ ) suggests reprovisioning the service applications, but that sounds very dangerous, wouldn't  that mess up all my services, ie; excel, state service, ssrs, etc.. ?
    any help is appreciated!
    Thank you

    Robert,I would recommend to check the configuration of OWA and restart the token services.please check the below links that explains more details on the issue.
    http://expertsharepoint.blogspot.de/2013/12/microsoft-office-web-apps-server-2013_19.html
    Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • Switch on bulb using PCI-6254

    Hello everyone,
    For the purpose of synchronizing visual and IR recordings of test, I am trying to use my PCI 6251 to produce a digital output that could light a common small light bulb ( let's say similar to the ones you could see in your bike light, right now I have bulbs from 1.5V to 6.5V, can use any of them).
    Image synchronization should be achieved by lighting a small light bulb which could be the reference frame of both visual and IR recordings. The problem was that IR cameras cannot detect LED light or IR LED light ( out of wavelength range) so I need to use a more ''hot'' bulb like these common incandescent bulbs.
    Neither AO or Digital output signals can supply directly the required power to light such a bulb. So I was thinking using the digital output to drive a relay that could switch on/off a battery supply ( or a small mains to DC transformer).
    Could you please help me out of how I can do that?I am not very good with electronic components and even though I read in the forumn about solid state relays, I am very confused of how I can actually implement such a solution.
    I thank you in advance.

    Do a search for "Solid State Relay" (SSR), these are devices which can be switched by a logic signal without requiring excessive drive current from your DAQ device. As you have noted, the DAQ device isn't designed to supply the relatively high current 10X - 100x mA) needed by an incandecent lamp, are actually only designed to supply a signal level of relatively low current ( a few mA). Most SSR will also require their own DC supply, but this can probably be the same one used to power the lamp.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Output to trigger 120VAC Solenoid valve

    Hi,
    I have 4 solenoid valves 120VAC, working at 6.1 watts, requiring 0.05 amps. I want to control them from labVIEW via a DAQ hardware device. 
    My doubt is if there are hardware devices out there which give that much output to trigger a solenoid valve ON/OFF?
    If NO, is there any way that I can achieve this?
    Thank you.
    Solved!
    Go to Solution.

    Solid state relays (SSR's) are a good way to go, they can trpicially be driven by most DIO lines and create no inductive spike when turned off. They also come in zero-crossing turn on/off styles for a clean power on/off transition on the AC side.
    If you do end up using a coil based relay, be sure to a reverse biased diode (1N4004 work well) to prevent damage to the DIO line when turned off (aforementioned inductive spike).
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

Maybe you are looking for

  • How to print variable in binary mode?

    I would like to print NewVar variable in binary mode e.g.: byte NewVar = 0x25; System.out.println( "print here NewVar in binary mode" ); 1) How to do it? 2) Above I declared NewVar in hexadecimal, how to declare it in binary mode? 3) Where in the net

  • How to get the user wheel back on sharing permissions on Mac HD

    I have accidety deleted the user wheel and now I need to know how I can get it back?

  • Why won't photoshop elements 12 launch?

    I purchased this program last weekend and it simply will not launch.  I have disabled my antivirus program and network printers with a reinstall.  I have tried to install the trial version.  I have renamed SLCache.  Nothing works.  It looks like this

  • What are the most demanded skills in sharepoint 2013 that is most in demand

    I have been working on sharepoint 2010 from past 3.5 years.  Now I have stared to work on sharepoint 2013. SharePoint 2013 is also as vast as SharePoint  2010 is. I want to know which all features or modules of sharepoint 2013 are most in demand acro

  • Printer profile for Canon inkjet

    I am having a bit of trouble getting my printer to render colours satisfactorily. My printer is a Canon Pixma iP 3600 but I am not sure which settings give optimum results from Illustrator RGB files. 1) Should I specify a colour profile for Illustrat