How to use a formula in column in the main query?
Hi allI tried to use a formula columns defined in a query in the State of the query like this:
where (: cf_ex -: cf_ex2) > = 5
but when I run the report returned data! Why? and how to use the status of the query?
Note: I'm using Forms 6i
I gave you the reason:
Formula columns are not part of the select statement (which runs in the database), but are dealt with in the report.
So you actually reference the user settings in the query, not formulas columns.
(Well, I should have said "you are referencing empty connection parameters", but with your experience you could have understood that)
and the solution:
Create database for cf_ex and cf_ex2 functions and use them in your application.
Tags: Oracle Development
Similar Questions
-
I have 5 html pages that share a common header, footer and sidebar. How to use my navigation bar to change the content of the body without duplicating a lot of code? Thank you!
Read the help section of DW on models.
Using Dreamweaver | Creating a Dreamweaver template
Or use Server-Side Includes
Nancy O.
-
How to use reveal all this without losing the work of culture?
My workflow is to editing and cropping of images. I need the flexibility to perform any order.
When I use the crop tool, I continue to delete the cropped Pixels unchecked. When I edit the images I want to edit the complete picture, not cropped image.
If I use reveal all to make alterations on the full image after cropping, I lose my job of cropping. Is there a solution?
How to use reveal all this without losing the work of culture?
How to take a bath without getting wet?
Enter drollery side you could use a path of access to store the current size before calling "Reveal everything", then later on the path as a selection of load, switch to the crop tool and hit.
Or convert to smart object before you crop, then do the editing in the SO (it could be a potentially significant increase in file size, however).
-
Dynamic display of columns in the pivot query
I have a table called STUDENT_SCORE. I need to display the avarage score/month for 2 years and the monthly score until today "month.
Then assume that it is April 2009. The report will look like
Roll_id 2007avg 2008avg Jan09-Mar09 Feb 09
101 80.9 70.9 89.7 90.9 56.8
102 70.9 23.9 87.2 90.0 76.8
I tried a bit, but can't fix the monthly score display dynamically.
DDL/DML is as below
create the table STUDENT_SCORE
(number of roll_id,
date of mth_id,
The partition number);
insert into STUDENT_SCORE values
(101, to_date (January 1, 2006 ', ' dd/mm/yyyy'), 67.5);
insert into STUDENT_SCORE values
(101, to_date (February 1, 2006 ', ' dd/mm/yyyy'), 77.5);
insert into STUDENT_SCORE values
(101, to_date (March 1, 2006 ', ' dd/mm/yyyy'), 87.5).
insert into STUDENT_SCORE values
(101, to_date (April 1, 2006 ', ' dd/mm/yyyy'), 27.5);
insert into STUDENT_SCORE values
(101, to_date (May 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (June 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (July 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (August 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (September 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (October 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (November 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (December 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (January 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (February 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (March 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (April 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (May 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (June 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (July 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (August 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (September 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (October 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (November 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (December 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (1 January 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (February 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (March 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (April 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (May 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (June 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (July 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (August 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (September 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (October 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (November 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (December 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(101, to_date (January 1, 2009 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (January 1, 2006 ', ' dd/mm/yyyy'), 67.5);
insert into STUDENT_SCORE values
(102, to_date (February 1, 2006 ', ' dd/mm/yyyy'), 77.5);
insert into STUDENT_SCORE values
(102, to_date (March 1, 2006 ', ' dd/mm/yyyy'), 87.5).
insert into STUDENT_SCORE values
(102, to_date (April 1, 2006 ', ' dd/mm/yyyy'), 27.5);
insert into STUDENT_SCORE values
(102, to_date (May 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (June 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (July 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (August 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (September 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (October 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (November 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (December 1, 2006 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (January 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (February 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (March 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (April 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (May 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (June 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (July 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (August 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (September 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (October 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (November 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (December 1, 2007 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (1 January 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (February 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (March 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (April 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (May 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (June 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (July 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (August 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (September 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (October 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (November 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (December 1, 2008 ', ' dd/mm/yyyy'), 57.5);
insert into STUDENT_SCORE values
(102, to_date (January 1, 2009 ', ' dd/mm/yyyy'), 57.5);Hello
The script below produces what you want (as far as I can tell, without your desired results).
Student_score_smry subquery Gets the year and monthly averages of student_score.
It is completely static: it always produces 11 monthly columns (from January to November) and the names of columns hardcoded (m01 through m11).
For dynamic column names you need, I used SQL * COLUMN more orders.
To get the variable number of monthly columns you need, SELECT from the main query clause uses a script under (dynamic_month.sql) to only show the correct number (which can be 0).The student_score_wk_smry of subquery retrieves the weekly averages of the student_score_wk.
He, too, is completely static: it always produces 6 weekly columns with names hardcoded (w1 through w6).There are four preliminary motions, that write two scripts under:
Prelimiary C1, C2 and C3 queries write orders of COLUMN for annual, monthly and weekly columns in dynamic_columns.sql
Preliminary motion M written between 0 and 11 items in SELECT-clause in sub-script dynamic_month.sqlThe main script is:
SET FEEDBACK OFF SET LINESIZE 200 SET PAGESIZE 0 SET VERIFY OFF SPOOL dynamic_column.sql -- Preliminary query C1: Columns for last 2 years SELECT 'COLUMN y' || LEVEL || ' HEADING "' || TO_CHAR ( ADD_MONTHS ( &target_month , 12 * (-3 + LEVEL) ) , 'YYYY' ) || 'avg"' FROM dual CONNECT BY LEVEL <= 2 ; -- Preliminary query C2: 11 prior months in this year SELECT 'COLUMN m' || TO_CHAR (LEVEL, 'fm00') || ' HEADING "' || TO_CHAR ( ADD_MONTHS ( TRUNC (&target_month, 'YYYY') , LEVEL - 1 ) , 'MonYY' ) || '"' FROM dual CONNECT BY LEVEL <= 11 ; -- Preliminary query C3: 6 weeks before target_month WITH got_w_num AS ( SELECT SUBSTR (week_desc, 1, 6) AS mon_dd , ROW_NUMBER () OVER ( ORDER BY week_id DESC ) AS w_num FROM week WHERE TO_DATE (week_desc, 'Mon DD, YYYY') < &target_month ) SELECT 'COLUMN w' || TO_CHAR (7 - w_num) || ' HEADING "Week of ' || mon_dd || '"' FROM got_w_num WHERE w_num <= 6 ORDER BY w_num DESC ; SPOOL OFF -- Preliminary Query M: 0-11 months (in SELECT clause) SPOOL dynamic_month.sql SELECT ', m' || TO_CHAR (LEVEL, 'fm00') FROM dual WHERE MONTHS_BETWEEN (&target_month, TRUNC (&target_month, 'YYYY')) >= 1 CONNECT BY LEVEL <= MONTHS_BETWEEN (&target_month, TRUNC (&target_month, 'YYYY')) ; SPOOL OFF -- Restore SQL*Plus features suppressed earlier SET FEEDBACK ON SET LINESIZE 80 SET PAGESIZE 50 -- COLUMN Commands @dynamic_column.sql -- Main Query WITH student_score_smry AS ( SELECT roll_id , AVG (CASE WHEN TRUNC (mth_id, 'YYYY') = TRUNC (ADD_MONTHS (&target_month, -24), 'YYYY') THEN score END) AS y1 , AVG (CASE WHEN TRUNC (mth_id, 'YYYY') = TRUNC (ADD_MONTHS (&target_month, -12), 'YYYY') THEN score END) AS y2 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = TRUNC (&target_month, 'YYYY') THEN score END) AS m01 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 1) THEN score END) AS m02 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 2) THEN score END) AS m03 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 3) THEN score END) AS m04 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 4) THEN score END) AS m05 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 5) THEN score END) AS m06 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 6) THEN score END) AS m07 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 7) THEN score END) AS m08 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 8) THEN score END) AS m09 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 9) THEN score END) AS m10 , AVG (CASE WHEN TRUNC (mth_id, 'MM') = ADD_MONTHS (TRUNC (&target_month, 'YYYY'), 10) THEN score END) AS m11 FROM student_score GROUP BY roll_id ) , got_w_num AS ( SELECT week_id , ROW_NUMBER () OVER ( ORDER BY week_id DESC ) AS w_num FROM week WHERE TO_DATE (week_desc, 'Mon DD, YYYY') < &target_month ) , student_score_wk_smry AS ( SELECT roll_id , AVG (CASE WHEN W_NUM = 6 THEN score END) AS w1 , AVG (CASE WHEN W_NUM = 5 THEN score END) AS w2 , AVG (CASE WHEN W_NUM = 4 THEN score END) AS w3 , AVG (CASE WHEN W_NUM = 3 THEN score END) AS w4 , AVG (CASE WHEN W_NUM = 2 THEN score END) AS w5 , AVG (CASE WHEN W_NUM = 1 THEN score END) AS w6 FROM student_score_wk s JOIN got_w_num w ON s.wk_id = w.week_id WHERE w_num <= 6 GROUP BY roll_id ) SELECT NVL (ss.roll_id, ssw.roll_id) AS roll_id , y1, y2 @dynamic_month.sql , w1, w2, w3, w4, w5, w6 FROM student_score_smry ss FULL OUTER JOIN student_score_wk_smry ssw ON ss.roll_id = ssw.roll_id ORDER BY roll_id ;
Sub-script dynamic_column.sql might look like this:
COLUMN y1 HEADING "2007avg" COLUMN y2 HEADING "2008avg" COLUMN m01 HEADING "Jan09" COLUMN m02 HEADING "Feb09" COLUMN m03 HEADING "Mar09" COLUMN m04 HEADING "Apr09" COLUMN m05 HEADING "May09" COLUMN m06 HEADING "Jun09" COLUMN m07 HEADING "Jul09" COLUMN m08 HEADING "Aug09" COLUMN m09 HEADING "Sep09" COLUMN m10 HEADING "Oct09" COLUMN m11 HEADING "Nov09" COLUMN w1 HEADING "Week of Dec 21" COLUMN w2 HEADING "Week of Dec 28" COLUMN w3 HEADING "Week of Jan 04" COLUMN w4 HEADING "Week of Jan 11" COLUMN w5 HEADING "Week of Jan 18" COLUMN w6 HEADING "Week of Jan 25"
Other sub-script, dynamic_month.sql, might look like this:
, m01 , m02 , m03
-
How to use AS between two columns
Hello
If we have following columns, how can we use AS link tables
COLUMN A of table X COLUMN B of table Y
============== =============
74500000ADN 74500000FKGL
78920000KDE 78900000LJKE
2345454LKKLK 54545345FDFR
96226HIYYOPP 9622622KDJJG
"SELECT...". TABLE1, TABLE2 x Y WHERE X.colA LIKE Y.colB
Will the above work correctly?
(Must extract the line 1, 2 and 4 above)
Rgds
sexyHello
Yes, you're right.
I just wanted to show sexy using substr with a length of 5 would not bring the second row of its sample data.
If he wants to use a dynamic length, it should now be under what conditions a specific length should be used. -
How to put a "ageing in column" in the report
Hello
One of my end users wants a 'Aging' column in the report.
That is to say he needs a column which gives the number of days between his container_received_date and the Current_date.
Can I implement this directly in the OBIEE answers?
or I have to put a separate column of formulas in the administration?
Please suggest.
SumaHello
Use timestampdiff function in answers column formula like this
TIMESTAMPDIFF (sql_tsi_day, container_received_date, Current_date)
or else
use the same formula in RPD mdb layer create a new logical column
Right-click logical table
Select the logical column
in the logical column check using the source from the existing logical table
Add this formulaConcerning
NGO
Published by: NGO Meda on March 23, 2009 04:35
-
Qosmio F20-155: how to use BT to share files with the mobile phone
Hello
I HAVE TOSHIBA QOSMIO F20-155, BUT I DON'T NO HOW TO USE BLUETOOTH TO SHARE FILES WITH MY CELL PHONE
PLEASE HELP MEHello
First a simple question: are you sure that your laptop supports Bluetooth?
AFAIK the Qosmio F20-155 was delivered without the BT module.In addition, if you are not sure if the phone has BT then you can check the bottom of the unit. It should be placed a label BT if the Bluetooth has been installed.
-
How to use USB CAN 8473, code for the basic example
Hi all.
I use NEITHER USB-8473 CAN transmit and receive data via CAN.
I have traveled a lot a lot of pages related to this and realized that the API will not work for USB - CAN. Can someone tell me please how to use this USB-8473.
Maybe an exaple program would help me. (It is not PCI it we USB,)
Thank you.
You will need to install NI-CAN, if you don't have already done. This is the API that you can use with a 8473. After installing, open Explorer Measurement & Automation and make sure that you can see the 8473 under your devices.
Here is a sample VI (LabVIEW 2009) that I wrote for another developer to make the CAN communication basic tests. You enter a package CAN as a series of hexadecimal bytes separated by spaces, and it will send it to you. It displays every CAN packet it receives in the same format.
-
How to use my laptop HP UK in the USA, I already have a universal adapter to connect
HP G62 laptop
Product number: XF230EA #ABU
Operating system: Windows 7 64-bit
I'm travelling to the USA, and I want to bring my laptop. I bought the laptop in the United Kingdom, I also have a universal adapter. How do I use it with my UK Plug and can I change adapter or converter.
You must use a converter of pine with the universal adapter. See the following link for the view of this converter:
http://www.Amazon.co.UK/US-UK-plug-travel-adaptor/DP/B0006OFKNC
-
How have use ACS supported wireless users and the VPN user?
I'm new to ACS and configure the following requirement:
(1) ACS to authenticate users wireless with window AD.
(2) once connected successfully to the radio, the user must use VPN for remote access with the ASA.
(3) the end-user will have only 1 common username but different password.
for example:
username: password: cisco: cisco wireless.
username: cisco password: 1234 for VPN.
ACS support can this, if yes how can we do? Do I need 2 sets of ACS?
Yes, acs should work properly according to your need.
ACS, we have a feature called NAP "network access profile" where we can define the condition based on ip source or attributes which allow to say if the request comes from wireless device acs will forward to AD and if the request is of the acs VPN will forward to this diff of database.
Basically, we need to use two acs database.
Kind regards
~ JG
Note the useful messages
-
How to select lines if a column has the same first and last characters?
Hello
I have a scenario that one of the columns in the table of the student is having names student, (Ex) John, Mary, Donald, Ana, Maria. In this case how can we write a query to retrieve lines for the values if the first and the last character of the student of identical names? Production is expected to be Donald, Ana.
Frank answers the question in the subject of your post, but looking at your examples, I think you wanted
WHERE lower (SUBSTR (student_name, 1, 1)) - 1 character
low = (SUBSTR (student_name,-1)) - last character
-
Ability to scroll using only a small column of the screen
I'm working on a portfolio where I placed the chapters of my current document in articles.
Within each article is several pages. I can scroll down through these pages and drag them between articles, but ideally, I would like to be able to scroll using the right side of the screen. (just a small column width).
On some pages, I have great frames scrollables, centered on the page and when through the images of the user accidentally scrolled upwards or downwards.
If I had a small column to the right of the screen I could use it as my side navigation with the majority of the left to settle for image maps.Is this possible?
There is a way to use invisible to take away horizontal scan slide shows, but I cannot think of a good way to take away from vertical scan. I suppose you could create a large invisible frame with scrolling to the left of your bar navigation and behind the other recoveries (including other scrollables managers). It would now take vertical actions drag everywhere on the page except for the small column to the right. You might want to give that a try, but it seems that a lot of extra work for minimal gain. If you post an example of what you're trying to do, we might be able to help find you a different approach.
-
How to use custom css I can see the result in the preview windows
help ~ ~ ~
I want to create my animation by visualization.
but I don't know how to use custom css
and show its effect in the preview windows
only the script?
Hi Chen,
If you want objects of style outside the properties available in the Animate application, you can do this by using the following syntax:
.CSS ({$("myObject") sym.
'background-color': 'red ',.
"width": "200px".
});
However, this will only preview in the browser and not on stage as the code is not running at the time of the creation. You would get yourself in a place quite bad if this has happened since the events would trigger when you try to change
If you have a style sheet that you have linked to your project, you can also add a class of objects that reflect the CSS when you preview in the browser.
Sarah
-
How to use "sketches with current brush" in the menu 3d
Hi all
I had a question:
How can I work with "current sketch with brush" in the menu 3d photoshop cs6
Help me!!!
Hello! It must all firstly, make sure you are not using Windows XP, because the 3D functions are not available with this operating system.
What are you trying to follow a tutorial video, or you have questions about how to use this particular function?
-
How to use NI9474 and cdaq9172 to generate the right variable cycle pulse 1 kHz
Hello, I would like to use a NI9474 (in a cdaq9172 chassis) to send a square with a frequency of 1 kHz wave. The cycle will change just about every second (based on NI9205 voltage readings in all separate loop, by controlling the local variable 'duty'). It is important to have a temporal resolution of decent output; that is the difference between 50% and 51% of duty cycle must be determined. 9474 says that it has a speed of 1, so I expect that this is possible. This is used for a buck converter. The output is switching on and off a MOSFET, which only needs 5 volts, and less than a mA, when on. I tried a "simulate" with a square wave signal using a frequency of 1 kHz and 100kS/s and introduced in a DAQ assist with dynamic data to the converter Boolean between (probably not the best approach I admit). I tried also implemented using the DAQmx screw (without help). In both cases, I got an error that says that I need an external clock. I know that the chassis has an internal counter. This could be used for synchronization? I looked at examples of Pulse counter, but which seems to be to use a meter as output, not a digital channel, so I'm a little confused. The numeric examples do not seem to be what I want either. If I can't use the chassis for synchronization, it is possible, that I could get a NI9401. Could I use this counting or establishment of a clock (I could attach a function generator using a square wave of 1 Mhz for example)? For example with a 1 Mhz clock, then for a 50% duty cycle signal 1 kHz, after 500 clocks range from low to high and high to low after the other 500, (or 510 and 490 in 51% duty). Is something like that possible? Thanks for any advice, Thomas I should confess do not understand the things of meter too well at this point. Many of the examples I've seen, are apparently complicated screws.
Hi Thomas,
You can certainly do with a counter pulse train generation by using your 9474 in a cDAQ-9172 chassis. Make sure that the module is in the slot 5 or 6 (latest chassis do not have this restriction). Examples of pulse train located in the finder example under entry and exit-> DAQmx hardware-> generating digital impulses. The example of Gen dig Pulse Train - Continuous.vi is probably in the neighborhood of what you want.
To update the market on the fly factor, write the Co.Pulse.DutyCyc channel property after the task starts.
Maybe you are looking for
-
Bought above the pc about 3 months... still new to all this, I'm just a simple user of office applications and surfing. Fallen on the disk recovery and reading that you can create your own recovery disk or the order of HP. Once again, the pc brand n
-
Satellite A200 (PSAF6A) - update display driver
Hey all, got a friend here with a laptop A200 (PSAF6A) with Vista Home Premium 32 bit and display top drivers are with he came, course they are overwhelmed. In any case, I installed the "20080311103412 display" from the website and when he finished t
-
Windows Mail does not accept my user name or password
sho error: 'pop.att.yahoo.com', server: 'pop.att.yahoo.com', Protocol: POP3, server response: '-ERR [AUTH] invalid username or password. (#YSH002)', port: 995, secure (SSL): Yes, Server error: 0x800CCC90, error number: 0x800CCC92ws upwards
-
Cannot install programs that depend on temporary files
When you try to install several different programs, each one comes with an error that it cannot find a temporary file (often .exe) that it needs to continue. The file is always in the AppData/Local/Temp folder and is simply not there. Any suggestions
-
I'll have to turn my computer on and off for windows at startup and then it stops a lot
I'll have to trun my computer on and off for window at startup and then it stops a lot