Max/Min Input Limits CRIO
Hey Guys,
I have a question about adjusting the Max/Min Input Limits on an analop input card for a CRIO to improve measurement precision. I know this feature is available through the DAQmx drivers but I haven't found a way to do it with it plugged into my CRIO....
Thanks
Matt
Hi Guy,
you may try to find those settings in the module properties by right-clicking the module in the project tree.
Or you use property nodes, atleast in the FPGA they are available.
Can't check this as I don't have access to a cRIO project right now…
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Similar Messages
-
I want to programmatically set the limit (max, min input) of a control inside a cluster. (see attached VI).
The max, min value will be read from a file. The input of the control must be within the range defined by the max and min value.
Can anyone tell me how to do it?
Thanks a lot for your kind help.
XiaogangAccessing the properties of a cluster (or array) is not a trivial operation until you have done it once. It's a two step (at least) process : first, ask for a reference (array of...) to the objects contained in the cluster, then tell LV what kind of object you are adressing.
See the attachment.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
How to set limit[1].vi 52 KB -
How do you create a max/min for a series of input in labview 2010
with labview is there a way to get max/min values from a series of inputs? I want it to graph the data and keep track of what the highest and lowest values were. I am using Labview 2010
While you don't really define what you mean by a "Series of inputs", maybe Array Min&Max PrByPt might be of interest.
(For better help, attach a simplified VI that shows typical data.)
LabVIEW Champion . Do more with less code and in less time . -
Reading all the channels for a FP-AI-100 through an Advise.vi but I need to read the Max & Min from channels 0 & 1. How is this done?
ThanksThe easiest way is to use two copies of the Index Array function. You would wire the output from FP Advise.vi to the n-dimension array input of both Index Array functions. For channel 0, you would use the an index value of 0 (on the first Index Array) and for channel 1, you would use an index value of 1 (on the second Index Array). Alternatively, the Index Array function is what is called a growable array function, you can drag the bottom of the node downwards, adding outputs. In this case, you can set it for two outputs and only use one copy of the Index Array.
Considering that you are relatively new to FieldPoint and LabVIEW, I recommend that you consider using the FP Read.vi instead of the FP Advise.vi. The FP Advise.vi is a more advanced version of the
FP Read.vi and has more "gotcha's" in its use. To save yourself some debugging headaches it may be easier to use the FP Read.vi. The single biggest difference in coding between the two is that an FP Advise.vi in a loop, automatically times the loop, whereas an FP Read.vi in a loop requires a timer such as Wait Until Next ms Multiple.vi.
Regards,
Aaron -
The max & min function behaves differently in LabVIEW 6.1 compared to 6.0.2. When comparing between NaN and 0.0, the function returned NaN as the max,in 6.0.2. In 6.1, it retunrs 0.0 as the max. Why is this so?
You should not rely on assumed behavior of functions when treating NaN. You should treat the case explicitly on your diagram.
By IEEE standard the comparisons
X > NaN should return FALSE
X < NaN should also return FALSE.
Then the output of a MinMax function with a NaN input actually depends on how you compare both inputs.
using for example
if (X > Y) then
Max = X;
Min = Y;
else
Max = Y;
Min = X;
end
This implementation always returns Max = Y and Min = X when comparing with a NaN input because (X > Y) is FALSE.
On the other hand, the implementation
if (X < Y) then
Max = Y;
Min = X;
else
Max = X;
Min = Y;
end
does return swapped values for Min and Max for NaN inputs.
Usually, primitives don't check
explicitely for NaN values because it would unecessarly bloat the code. This kind of NaN check is left to the programmer because anyway the output of MinMax function is meaningless when inputs are NaN.
LabVIEW, C'est LabVIEW -
Help to find the max, min and the averages wages
ok i did sum programming i got half of my program to work but i need help with the other half the program is suppose to find the highest and lowest wages and also give the average wages. here is my code
import java.util.*;
public class WorkerwagesQueues
static Scanner console = new Scanner(System.in);
public static void main (String[] args)
Queue<String> nameQ = new LinkedList<String>();
Queue<String> nameQ2 = new LinkedList<String>();
Queue<Double> num = new LinkedList<Double>();
int searchCnt = 0;
int max, min;
String toSearch, var;
System.out.println("Welcome, how are you Doing today\n");
System.out.println("Please enter the five workers names\n");
for (int i = 0; i < 5; i++)
nameQ.offer(console.next());
System.out.println("Please enter the five workers salaries\n");
for (int i = 0; i < 5; i++)
num.offer(console.nextDouble());
// starting right here is my problem
/*min = num.next(0);
max = num.get(0);
for (int i = 0; i < num.size(); i++)
System.out.println(num.get(i));
if (i > 0)
if (min > num.get(i))
min = num.get(i);
if (max < num.get(i))
max = num.get(i);
System.out.println("\nthe Lowest wage is " + num );
System.out.println("\nthe Largest wage is " + num );
System.out.println("please enter a name to serach the queue:");
toSearch = console.next();
while (nameQ.size() > 0)
var = nameQ.remove();
if (var.equals(toSearch))
{searchCnt++;}
else
{nameQ2.offer(var);}
System.out.println("This queue contains " + toSearch + " " + searchCnt + " time(s).");
System.out.println("The second queue is:");
}ok sorry if i am annoying you guys but i really want to get this working
this is the part i am having problems with. I am trying to find the max and min of the wages the user input and i am not usre how to do it. my question is how do i do that?
// starting right here is my problem
/*min = num.next(0);
max = num.get(0);
for (int i = 0; i < num.size(); i++)
System.out.println(num.get(i));
if (i > 0)
if (min > num.get(i))
min = num.get(i);
if (max < num.get(i))
max = num.get(i);
System.out.println("\nthe Lowest wage is " + num );
System.out.println("\nthe Largest wage is " + num );
-
Hi,
I am trying to find out the latest delivery date(EINDT) for each purchasing document (EBELN) through graphical way.
The view contains other fields apart from the above mentioned two fields.
When only the two fields (EBELN, EINDT) are there, then in semantics, I can select 'Max' as aggregation to get the maximum value for each document.
If I do like this, then I need to join more than 3 views and also so many joins in calculation view. Taking so much time for data preview.
Hence , please help me in getting the solution while the view contains other fields also.
Thanks in advance.
Thanks,
JyothirmayiHi Sreehari/Vinoth,
Thank you for your replies.
if only two fields are then I can get the max/min values of one field corresponding to other field.
But more than two fields are there with different values, then let me know how to find out the max/min value of a particular filed corresponding to the 2nd field with other fields also should be in the output.
I hope you understood my issue.Please revert in case of questions.
Thanks & Regards,
Jyothirmayi -
Change y-axis BACK to auto/ auto for max min
I have a bar chart and the settings for my y-axis are 250/auto. I need it to revert back to auto/auto for max/min b/c one of my numbers is large and is shooting off the graph.
Here is a linear scale:
change to a percentage scale for the y axis:
Center the value labels: -
Max, Min and Count with Group By
Hello,
i want the max, min and count of a table, which is grouped by a column
I need a combination of these two selects:
select
max(COUNTRY_S) MAXVALUE,
min(COUNTRY_S) MINVALUE
from
tab_Country
select
count(*)
from
(select COUNTRY_TXT from tab_Country group by COUNTRY_TXT) ;
The result should be one row with the max and min value of the table and with the count of the grouped by table, not the max and min of each group! - i hope you understand my question?
Is this possible in one SQL-select?
Thank you very much
Best regards
HeidiHi, Heidi,
HeidiWeber wrote:
Hello,
i want the max, min and count of a table, which is grouped by a column
I need a combination of these two selects:
select
max(COUNTRY_S) MAXVALUE,
min(COUNTRY_S) MINVALUE
from
tab_Country
select
count(*)
from
(select COUNTRY_TXT from tab_Country group by COUNTRY_TXT) ;
The result should be one row with the max and min value of the table and with the count of the grouped by table, not the max and min of each group! - i hope you understand my question?
Is this possible in one SQL-select?
Thank you very much
Best regards
Heidi
It's not clear what you want. Perhaps
SELECT MAX (country_s) AS max_country_s
, MIN (country_s) AS min_country_s
, COUNT (DISTINCT country_txt) AS count_country_txt
FROM tab_country
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
How can I get max, min & average (hours with minutes) of fast 30 days data
Table name:
run_log
TYPE VARCHAR2(10),
SUBTYPE VARCHAR2(10),
PROGRAM VARCHAR2(100),
STATUS VARCHAR2(20),
START_TIME DATE,
END_TIME DATE
How can I get max, min & average (hours with minutes) of fast 30 days data ?Hi,
you have to use analytical functions:
SELECT start_day,
round(AVG(daily_avg)
over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_avg,
round(MAX(daily_max)
over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_max,
round(MIN(daily_min)
over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_min
FROM (SELECT trunc(t.start_time) start_day,
AVG((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_avg,
MAX((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_max,
MIN((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_min
FROM run_log
GROUP BY trunc(t.start_time)) t
ORDER BY 1 DESCAnalytical functions are described in the Oracle doc "Data Warehousing Guide".
Regards,
Carsten. -
How to Display MAX, MIN and AVG in ALV
Hello Friends,
Can some one help me with MAX, MIN and AVG in ALV..
I am displaying a screen with ALV.. it displays 3 columns..
below every column i have done .. summatation with the help of
FIELDCATALOG-DO_SUM = 'X'.
is there any way in which i can find out MAX, MIN and AVG of each column ?
Thanking you in Anticipation.
Best Regards,
Jitesh PNO at the bottom of the screen ..
Just below the summation.
column 1 column2 column3
10 20 30
11 21 30
12 22 30
Sum 33 63 90
Max 12 22 30
min 10 20 30
AVG 11 21 30 -
Offset compensati​on on multiple modules with different input limits
I want to acquire different value voltage signals from SCXI 1122 modules. I can this signals group in two ranges, and connect them to different modules, but I can have signals differing 1:100 on a single module as well. How can I do the offset compensation for each channel and each module?
Hi James,
May be this is not the optimal choice the HW but an existing one. I shall coock with existing species. The Labview manual states, that in such cases the LV chooses the highes possible gain in the SCXI module, and then applies different gains to different channels on the DAQ board. But I suppose, the offset of the full signal path depends not only on the gain of the SCXI module, so it means, for all gains I would need separate offset value. Principally I can supply an array of offset values to the Scaling constant tuner VI, but these constants is determined on a channel named ....calgnd. In this case the Acquire and average VI accepts only the first member of the input limits array, and I get only one offset for this limits. Is it enough for all
different gains of the DAQ? -
I've been looking around for information on the max heap size limits on Sun's JVMs but can't seem to find any information. Just by testing, it seems like the max heap size for Windows 2000 can vary from 1.3G to 1.6G depending upon the machine (JDK 1.4). Does anybody know where I could find actual documentation that describes the limits for Sun's VMs on Windows (2000 and Advanced Server), Linux, and Solaris? I'm about to file this as a documentation bug against the JDK.
God bless,
-Toby ReyeltsThere was an older thread in the forums that had some info on this - my quick search failed to locate it, ypu might want to spend some time looking. The basic problem is memory space fragmentation by the OS, where the OS locates items in memory and effectively constrains heap growth to the unfragmented area that the heap starts in.While there may be more "unused" memory, it's not contiguous. There is also some info in MS's MSDN data regarding this condition, with information on the various OS's. I think Linux has a similar "condition".
-
Second max/min in ssrs report builder expression
I need to do conditional formatting on second max/min in an ssrs report builder table.
Can i get it in an expression ?Hi AshishSinghal84,
Based on my understanding, you want to perform conditional formatting on the second maximum or minimum value in Report Builder.
In Reporting Services, there is no built-in function which can return second maximum value. So in this scenario, we can’t directly use expression to perform conditional formatting. However, we can get the second maximum or minimum on query level. Then insert
a column into tablix and use Lookup function to return a specific value so that we can do the conditional formatting based on this value. As we test in our local environment, to perform conditional formatting such as change the color for second maximum value
in Report Builder, we can follow the steps below:
1.Add Dataset2, apply the query below:
select max(sales)
From test
where sales < (select max(sales)
from test)
2.On report, add an Expression “=lookup(Fields!sales.Value,Fields!secondmax.Value,1,"DataSet2")”, looks like below:
3.Click [month], Properties appears on the right panel. Find Color under Font tab, click Expression, then type “=IIF(ReportItems!Textbox6.Value=1,"red","black")”.
4.Right click the third column, choose Column Visibility\Hide, click Ok.
5.Final result looks like below:
To perform conditional formatting on second minimum value, the steps are a little different from getting second maximum value. You should change the query at first step, then apply the query below:
select min(sales)
From test
where sales > (select min(sales)
from test)
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu -
Fox-function: MAX/MIN
Hi,
I have a question on MAX/MIN-function. It is possible to find the maximum date in a column ( 0calmonth).
And other problem that I don't know the syntax of the max-function. The SAP-help isn't significant.
Thanks.
HolgerThere is a MAX and a MIN function in FOX but it is only for results of type F.
DATA RES TYPE F.
RES = MAX( 0AMOUNT, 0REVENUE ).
if you have 0CALMONTH as the result type you have to write for MAX:
DATA RES TYPE 0CALMONTH.
IF CALMONTH1 > CALMONTH2.
RES = CALMONTH1.
ELSE.
RES = CALMONTH2.
ENDIF.
Maybe you are looking for
-
Service Pack 3 appears to have broken the Report Builder click once installation
We are running SQL Server reporting services on SQL Server 2008 R2. Recently we installed the service pack 3 and we now get the following error when a user clicks the Report Builder link: Application validation did not succeed. Unable to continue. A
-
I have a 20"2Ghz iMac ALS with 2GB of RAM. Can I upgrade to 4GB? Thank you.
-
XI 3.0 - How to increase performance using TibCo JMS Adapter...
Hi, Does anyone have any idea if/which properties can be modified to improve the polling interval of the JMS adapter for Tibco? Another forum message mentioned a method called setPollingInterval, but this only seems to relate to MQ series. I have tri
-
My apple ID was disabled?
My Apple ID was disabled. Does anyone know how I can enable it again?
-
Hi to all, I have created a form in Sapscript. This forms contains a image, box, text with bold, font Verdana, ... If I print this form this appears correctly (with image, box, ....) but if i sent to mail only appear the text without format. I need t