Use several channels in the order of RT
Following this post, and based on a simple sequence of RT that monitors a single channel, now I want to control multiple channels with setting specific time and level. The logic of this was to pass an array of strings that you want to monitor in the .vi create sequence parameter assignment (channel) and use arrays to manage all the time and level settings.
However it seems that the sequence of RT cannot manage this type of object... so, how do I extend this functionality to several channels... Maybe that's the wrong avenue to use rt sequences?
L.
... well, I look at one of the approaches is to create several calls sequence on a given sequence, each with different settings, then start them all in parallel. It seems to work for the moment.
A simple question as opposed to events is used (for now) to detect when each called sequence stops and returns its result.
Laurent
Tags: NI Products
Similar Questions
-
What's the point of having several columns in the ORDER BY clause?
DB version: 10 gr 2
When you use the ORDER BY clause, the lines are always sorted by the first column in the ORDER BY clause. So, what's the point of having several columns in the ORDER BY clause (I always see this in production codes)?
For the below SQLs' schema SCOTT, result sets are always classified according to the first column ename. When I added use asc and desc of employment, does not change the result set.
SQL> select * from emp order by ename; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- 7876 ADAMS CLERK 7788 23-MAY-87 1100 20 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30 7698 BLAKE MANAGER 7839 01-MAY-81 2850 30 7782 CLARK MANAGER 7839 09-JUN-81 2450 20 7902 FORD ANALYST 7566 03-DEC-81 3000 20 7900 JAMES CLERK 7698 03-DEC-81 950 30 7566 JONES MANAGER 7839 02-APR-81 2975 20 7839 KING PRESIDENT 17-NOV-81 5000 20 7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30 7934 MILLER CLERK 7782 23-JAN-82 1300 20 7788 SCOTT ANALYST 7566 19-APR-87 3000 20 7369 SMITH CLERK 7902 17-DEC-80 800 20 7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30 7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30 14 rows selected. SQL> select * from emp order by ename, job; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- 7876 ADAMS CLERK 7788 23-MAY-87 1100 20 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30 7698 BLAKE MANAGER 7839 01-MAY-81 2850 30 7782 CLARK MANAGER 7839 09-JUN-81 2450 20 7902 FORD ANALYST 7566 03-DEC-81 3000 20 7900 JAMES CLERK 7698 03-DEC-81 950 30 7566 JONES MANAGER 7839 02-APR-81 2975 20 7839 KING PRESIDENT 17-NOV-81 5000 20 7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30 7934 MILLER CLERK 7782 23-JAN-82 1300 20 7788 SCOTT ANALYST 7566 19-APR-87 3000 20 7369 SMITH CLERK 7902 17-DEC-80 800 20 7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30 7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30 14 rows selected. SQL> select * from emp order by ename, job desc; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- 7876 ADAMS CLERK 7788 23-MAY-87 1100 20 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30 7698 BLAKE MANAGER 7839 01-MAY-81 2850 30 7782 CLARK MANAGER 7839 09-JUN-81 2450 20 7902 FORD ANALYST 7566 03-DEC-81 3000 20 7900 JAMES CLERK 7698 03-DEC-81 950 30 7566 JONES MANAGER 7839 02-APR-81 2975 20 7839 KING PRESIDENT 17-NOV-81 5000 20 7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30 7934 MILLER CLERK 7782 23-JAN-82 1300 20 7788 SCOTT ANALYST 7566 19-APR-87 3000 20 7369 SMITH CLERK 7902 17-DEC-80 800 20 7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30 7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30 14 rows selected.
Search in this example, you will see the difference
SQL> create table test_order (name varchar2(10), surname varchar2(10), age number); Table created. SQL> insert into test_order values('Kamran','Agayev',26); 1 row created. SQL> insert into test_order values('Kamran','Taghiyev',26); 1 row created. SQL> insert into test_order values('John','Kevin',23); 1 row created. SQL> select * from test_order; NAME SURNAME AGE ---------- ---------- ---------- Kamran Agayev 26 Kamran Taghiyev 26 John Kevin 23 SQL> select * from test_order 2 order by age; NAME SURNAME AGE ---------- ---------- ---------- John Kevin 23 Kamran Agayev 26 Kamran Taghiyev 26 SQL> select * from test_order 2 order by age asc, surname desc; NAME SURNAME AGE ---------- ---------- ---------- John Kevin 23 Kamran Taghiyev 26 Kamran Agayev 26 SQL>
When in the second query, I sorted out only for age, you saw it there two 26 years old Keita, there was first Agayev, then Taghiyev. But if I want to get the family names in descending order when there are two very old person, then I will add the second column in the order by clause
- - - - - - - - - - - - - - - - - - - - -
Kamran Agayev a. (10g OCP)
http://kamranagayev.WordPress.com -
don't forget the select result of a statement to be used several times in the procedure
Hi all
I'm sorry for this kind of question, I'm not newbie, but still need your help.
My need is remember the select result of a statement to be used several times in the procedure.
My first guess is to use a temporary table, but I think there's better decisions.
For example, I should make a heavy request
Select the code from table_function (param1)
Then, this query is used to insert a list of the id in table1, delete table2 and update in table 3.
Help me please do not use if possible temporary tables.
If there is more than one column, you need to create an object type at the database level. Create a collection of this type of object in the procedure.
Example:
CREATE OR REPLACE TYPE "OBJ1" as OBJECT( column1 varchar2(256 CHAR), column2 varchar2(35 CHAR) ); CREATE OR REPLACE TYPE "nt_obj1" as table of OBJ1; -- this could be done at procedure level as well DECLARE t_employee_ids nt_obj1; BEGIN SELECT OBJ1(column1,column2) BULK COLLECT INTO t_employee_ids FROM table1 WHERE column3 = NNN ............. .....
-
I have a DAQ Assistant configured to read 2 channels at the same time. When I have a graphical indicator of wire to the output, I see 2 signals mixed together. How I divided them into separate signals?
When I wire any type of indicator, it is show that a release of a single channel.
I want 2 indicators showing 2 different signals as expected from 2 channels configured. How to do this?
I tried to use split signal but it end by showing that 1 out of 1 signal two indicators.
Thanks in advance.
Yes you are right. I tried, but I don't have the result.
I just find the path. When we launch the split signal, we should expand it (split signal icon) by top, not the bottom. It took me a while to understand this.
Thank you
-
I use JavaScript coding in LiveCycle and development of dependent drop-down areas, but I find it difficult to write correct code. See the example below. I'm trying to use a multiple box function that refers to an option that is listed several times in the previous pull-down menu. The problem I am running into is that when I refer to any color or Nissan and Chevy, it returns the results of the color in the "Ford" column only. I'll always see color (blue, black, green and purple) options in my second drop-down list and it seems fine, but then the third drop reference only the options and colors 'Ford '. (I don't have the code for the third menu list drop-down).
I want the client to choose Chevy or Nissan and have her drop downs (based on the color they chose)-dependent, but I can't seem to make this work.
I hope it is clear enough (probably as mud...). I would appreciate help!
Form1. #subform [0]. #subform [1]. cboModels::exit - (JavaScript, client)
cboColor.clearItems ();
{Switch (this.) RawValue)}
case "Ford":
cboColor.addItem ("Blue");
cboColor.addItem ("Black");
cboColor.addItem ("Green");
cboColor.addItem ("Purple");
break;
case 'Chevy ':
cboColor.addItem ("Blue");
cboColor.addItem ("Black");
cboColor.addItem ("Green");
cboColor.addItem ("Purple");
break;
case "Nissan":
cboColor.addItem ("Blue");
cboColor.addItem ("Black");
cboColor.addItem ("Green");
cboColor.addItem ("Purple");
break;
}
Form1. #subform [0]. #subform [1]. cboColor::exit - (JavaScript, client)
cboPrice.clearItems ();
{Switch (this.) RawValue)}
case "Ford":
case "green":
cboPrice.addItem ("blah");
cboPrice.addItem ("blah");
cboPrice.addItem ("blah");
cboPrice.addItem ("blah");
break;
case 'Chevy ':
case "green":
cboPrice.addItem ("blah");
cboPrice.addItem ("blah");
cboPrice.addItem ("blah");
cboPrice.addItem ("blah");
break;
case "Nissan":
case "green":
cboPrice.addItem ("blah");
cboPrice.addItem ("blah");
cboPrice.addItem ("blah");
cboPrice.addItem ("blah");
break;
}
You can use '\n' for newline in a string, so
"Option 1, \nOption 2, \nOption 3;
Put each on its own line.
Bruce
-
Use several days in the calendar area
I use a region calendar in my application. I ran into one of the questions is, some of my events are events of several days, as a conference. The calendar app doesn't seem to be able to deal with events of several days. It takes a date as the date. It doesn't seem to be a way to deal with several events of the day. In my case, I have 2 date fields in my table associated with my calendar - a start date and an end date.
Someone at - he found a way to remedy this situation? I don't want to have an entry for each date of the event. I wish I could use my date start and end date fields.
Thank you
JohnJohn,
Let's start with the syntax of the trigger. : NEW refers to the new value that is passed to the table, and: ANCIENT refers to the current value of this specific line. More info on the triggers can be found here:
http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14251/adfns_triggers.htm
So, your code should look like this:
CREATE OR REPLACE TRIGGER ai_meetings AFTER UPDATE OR INSERT ON meetings_tbl FOR EACH ROW DECLARE l_date_diff NUMBER; BEGIN IF UPDATING THEN DELETE FROM meetings_tbl_cal WHERE m_id = :NEW.m_id; END IF; l_date_diff := :NEW.meeting_end - :NEW.meeting_start; FOR x IN 0..l_date_diff LOOP INSERT INTO meetings_tbl_cal (m_id, meeting_date) VALUES (:NEW.m_id, TO_DATE(:NEW.meeting_start + x)); END LOOP; END; /
You must also make sure that you have a column called M_ID in the MEETINGS_TBL table.
Thank you
-Scott-
http://spendolini.blogspot.com/
http://sumnertechnologies.com/ -
Several channels with the launch of unique digital dashboard
I have a simple vi where the two analog channels is read in and stored simultaneously in a file of lvm and plotted on a graph of a waveform. I need a numerical advantage to post trigger data for both channels.
I can get this vi to work with one analog channel and the onset of digital edge very well.
When I remove the digital edge trigger, I can get the vi to work with two analog channels. The two signals of ground on a waveform graph and record nicely in the file of lvm.
The question is how do I set up the digital triggering (see table). The program never enters the while loop. Where I'm going wrong?
Chassis: cDAQ-9172
Analog card: NI 9205 (Source PFI0 the shutter button)
LabView: 8.6
OS: Windows XP
-
Loading of several movies in the order
I'm doing several movies display via a master file in order (slide0.swf, slide1.swf, slide2.swf etc etc).
I use a fla document that was sent to me to do such a thing, but somehow I can't get things to work exactly as expected.
My main file/movie uses these pieces of actionscript to load the batch files / movies
(see attached code)
__________________________________________
Now if I add nothing to my other clips, the master just keeps looping the premiera again and again rather than go up through them all the sequentialy. So, I tried adding this in the last frame of each of the films/clips to display
(Last image)
_root.addIDX ();
___________________________________
The problem I have now is that, although now the movies play one after the other sequentialy I still get a small amount of repetition (fraction of a second) of the film that plays just before shows it a newly loaded.
Is it possible that I can make this transition work smoothly rather than having a time jerky flashback before each new film in the sequence begins to play?
Thank youLooks like you load 2 videos when it is completed the following will play without delay, then it loads the next in the series below.
The flash I see is one that is hidden. Before you start playing, the next film is loaded and you see, then they play in the correct order.
Try to place the code that you have in the onLoadComplete event in the onLoadInit event. Like this:
listen.onLoadInit = {function (mc:MovieClip)}
MC. Play();
_root.myInterval = setInterval (doInterval, Delay);
loadbtm.loadClip(list[(IDX+1)%numImages],_root.btm);
};And comment out the following text:
listen.onLoadComplete = {function (mc:MovieClip)}
loadbtm.loadClip(list[(IDX+1)%numImages],_root.btm);
//};The onLoadComplete event is called first and begins to load your next slide before the onLoadInit event is called. This small delay, perhaps enough to be causing the flash you see.
Tim
-
Use several versions of the same material and the same LabVIEW code
Here's my dilemma,
I have many different s NI 9213 (16-channel thermocouple module) that I use in my lab. I only need to use one at a time, but I want to use the same LabVIEW code with each. I use NI MAX to create a task for the NI 9213 I use, but when I plug another 9213 OR in the computer I need to delete the first task and make a second tast with the second 9213 OR.
My question is, is there a way to plug in different s 9213 OR the computer and without having to reconfigure the NI Max tasks? If so, how?
Thank you
Maddie
Just use Concatinate String using the returned device name as well as the names of channel to build complete path name and then DAQmx create channel to add this channel to your task.
-
First won't import several clips in the order
I can't import clips in first. I can only drag 1 clip in a sequence. When I drag a second clip in this sequence it won't matter only of audio. When I do a new sequence, the same problem occurs (also with the 'new clip sequence' action) I tried with several types of video formats (mov, mp4, avi...), but the same problem occurred. I tried to clean the media cache, re - install Adobe Premiere, but without success. I've never had this problem before.
I use Adobe CC 2015 on Yosemite OSX on my 15-inch Macbook pro.
Help, please. It would be much appreciated. Thank you!
The problem is source patch. Click the gray "V1" in the track header (not the one blue). Then try to drag your footage repeatedly.
-
using a table to the order of registration button click
I'm working on a demo of a user interface for a handheld device. I'm doing a back button that can follow the actions users back several steps.
I started by putting this line of code in my frame 1 actions layer:
var fill: Array = new Array();
then I placed this code follwing on different buttons:
{We (Release)}
wherefrom.push ("frame_name1");
gotoAndStop ("frame_name2");
}
then on the back button, I added the following code:
{We (Release)}
gotoAndStop (wherefrom.pop ());
}
It doesn't seem to work. I was wondering if this type of action is possible using AS2.0? any suggestions would be greatly appreciated.
I think that stage names (and also the scenes) only exist at creation time and are converted to numbers of frame when the SWF is compiled (I may be wrong because I don't use them). You might have more success if you tried to use the frame numbers.
Try to use
wherefrom.push (_currentframe); -
I usually have a lot of apps open it in full screen across a number of different areas. In El Capitan, when I used cmd + tab to switch apps, it would just go directly to the application in the entire app was opened in. Now, he tries to switch to the app, but then IMMEDIATELY switches to the space, in that I was already. It's like if someone is sitting there playing this cruel on me joke where whenever I try to go to the app, it shows to me and then immediately sent me immediately. Everyone knows something similar to this?
To re-create the problem, have a few apps open it in full screen in different spaces, then try to switch to another application in another space using cmd + tab or try to switch to an application that is just open on the main office space. It comes immediately rebascule on your original app! I'm ready to tear my hair out!
Feedback: Apple http://www.apple.com/feedback/
With your same Apple ID, you can register for a free developer account and start a conversation with Apple engineers
Bug Reporter https://bugreport.apple.com/
-
on my yahoo mail, there is a marker at the top that allows me to put messages in chronological order. or backwards with old messages at the top. my messages come strangely, with new messages to appear in the middle of old messages.
In Thunderbird, you click on a column heading to sort this column. You click on the same header again to reverse the sort. There is a small pointer that appears on the header to indicate that it is the sort column and the sort direction.
If you click on DATE back to normal? -
The drop-down list is / was my part used of any page, use it to access to everything I need. The only other thing I noticed changed it's new green bottom-tab at the top of each page: site Web Safe/number of trackers. I can't get rid of it. Avira virus control icon is on my desktop, but the icon also suddenly appeared on the right side of the search bar. I deleted it because I have it on the desktop. I have no why he appeared suddenly. It is my 3rd session today. I had not changed anything in previous sessions, so don't know why the drop down menu has disappeared.
Any help appreciated.
HKHi, hopefully a screenshot can make things more clear - when you right click in the area of the red dot, then a popup menu will appear where you can re-enable the toolbar of bookmarks.
-
How to select several channels in the drop-down list for switching?
Hello
I use TS2015 SP1 and SwitchExec 2015. I created a list of routes that are now visible in the properties of the step "Activation" in the drop-down list field "Way (s) to connect".
Here, I can click on an item in the list to select it.
What can I do to select a second item in the drop-down list?
It seems that I have to write the second element after the decimal point manually. Is this correct? Or y at - it something to select back in the menu drop-down?
Thanks for help
My bad!
I wanted to say: «M2_C6R6 and M2_C7R7»
Maybe you are looking for
-
Qosmio X 70 - name Qosmio on the lid does not illuminate
You just bought the laptop Toshiba Qosmio X 70, but the name Qosmio on the lid does not,Anyone offer help please?
-
My HP Compaq dx2400 microtour keeps telling me that the drivers for my printer HP Deskjet F4580 are not loaded and cannot be found? I removed the printer and download the full suite for the printer, twice, but I have the same problem... The printer
-
then the config change trato y no puedo por as el administrator are multimedia y saben than por ese medio no puedo open any type of file por favor if alguien me ayuda gracias
-
LaserJet P1102w password reset help please
Hello I hope someone can help me. My problem is that when I first installed the wireless printer (for safety as you do) I put a password on the Control Panel, but since then have changed my internet provider so I need a new wifi connection but cannot
-
After you have reinstalled Windows XP, I can not install any service packs.
Could not load service packs windows xp I reloaded windows xp pro, and now I can't get service packs to load. With packages of sp, I can't get the flash drives, and so on. Any ideas out there?