Sequence through a cluster
Hi,
I'm just wondering is there a way to sequence through an array of clusters with a button?
LabVIEW 2013
Paul Power
I have not lost my mind, it's backed up on a disk somewhere
PauldePaor wrote:
I'm just wondering is there a way to sequence through an array of clusters with a button?
You don't really define what you mean by "Sequence through". It is also confusing that the title talks about sequencing through a cluster and the message body talks about an array of clusters. Big difference!
Apparently you want to sequence throught an array (it does not really matter if the elements are clusters),
The solution above resized the array container to one visible element and manipulates the visible element.
An alternative interpretation would be to use a scalar indicator and index out the desired element for display (no array indicator needed). You would use a loop with an event structure and keep an index value in a shift register. Make an increment and decrement button and increment/decrement the index value when one is pressed, then index out the new element for display.
(You should also apply quotient&remainder with the "index/total array size" to automatically wrap when you reach one of the ends.).
LabVIEW Champion . Do more with less code and in less time .
Similar Messages
-
The music app on my iPhone 5 will not sequence through albums or playlists. It plays either the first or selected song over and over again. What can I do?
Turn off repeat.
This is covered in the manual.
iPhone User Guide (For iOS 4.2 and 4.3 Software)
Play the song, tap the screen, tap the repeat icon until it is white= off. -
Using Mainstage verions 1 - is it possible to assign another computer key, i.e. the spacebar, to allow sequential patch changing - similar to using the down-arrow-key? And/or is it possible to assign one of the music synth controller's keys, or buttons, to sequence through the patches? Thanks.
I fixed it! I searched the knowledge base and found an Apple article! Thanks for reading!
-
Need advise of building sequence generator among cluster app servers
Hi All,
I want to build my app as a clusterable app. And I must implement a sequence number generator for sales orders or some other entities. I don't want to write a stored procedure in database to do it. Does any one have any real practices of this kind of environments and requirements. Maybe I can implement an independent app to generate sequence number, but I would like to hear any better solutions.
thanks a lot
Mattmattjiang wrote:
But I don't want rely on database, Why?
I would like to know if I want to implement application level sequence number generator in a cluster environment. What's your suggestion and idea. Let's hear your ideas first. Talk through your requirements and constraints, and explain more precisely just what parts are giving you trouble. -
Search through a cluster or clusters in cluster by label-name of a control
Hi,
is there a function availabe which allows to search through an arbitray cluster by an label-name and if the desired control is found in the cluster, its value should be returned?
E.g:
The function should receive the cluster to be searched and the label-name of the wanted control. The Output should be the value of the control if the label-name was found within the cluster. If the name was not found, there should be a status e.g. -1 at the output uf the function.
Thanks for your help!
BRI have two general purpose methods in this instance. The first is to utilize LV's XML schema and a little XPath:
The second method utilizes Traversal and is contained in the zip file I have attached. This method is very poorly documented at best (like most scripting). It was a fun experiment.
TraverseCluster.vi specifies the callback VI to be used when a control is encountered during the operation called 'FindControls'. It then calls this traverse operation on the cluster which is based in by reference. The Callback VI is called for all controls in the cluster, if a Label is specified all matching controls are added to the list. If no label is specified, all control references contained in the cluster are returned (including those inside subclusters). You can specify if you only want controls returned and not the clusters. Finally, the Class Operator is removed.
There is an example included to see how it all works.
Traversing is a great tool to have at your disposal if you are a scripter.
Attachments:
Traverse Cluster.zip 40 KB -
Transfering Sequences (Setup- Financial- Tax- Sequence)Through Copy Express
Hi Everyone,
Could anyone suggest how to transfer Sequences set in 1 Database to another Database through Copy Express? I can't find the option for Sequence transfer in Copy Express.
Thanks,
WilliamHi Everyone,
Is there any way to transfer Sequences (Setup->Financial->Tax->Sequence) to another Database? Cause I cannot find any template for Sequences in DTW and also cannot find the Sequence option in Copy Express.
Thanks,
William -
Monitoring a PRORES PAL sequence through Apple Firewire PAL audio problem
Hi I have some materiels in HDV 1080i50, y made a PRORES PAL Sequence and scaled and rendered it. Now I need to monitor the material and I tried the "on the fly" conversion to DV choosing as video output the "Apple Firewire PAL"setting. Video is ok, the computer makes the conversion and it works swell, but with the audio I just get this stange noise, where I can hear th original audi but very, very low and al is noise...
Am I doing something wrong?
Is possible to monitor this "HDV passed to PRORESS PAL" through the DV conversion?
any help?
Thanks
ST.anyone there?
Thanks
St. -
Error while saving a Entry through view cluster ( getting TK 319 message)
We are facing an issue while saving the entry in one of the view at the lowest level of the three level View cluster.
Please find the Details of view Cluster below.
1)First level- Key => MANDT( CLNT, 3) + RULE_ID( CHAR , 20) .
2)Second level-Key =>MANDT( CLNT, 3) + RULE_ID( CHAR , 20) + LOCATION_TYPE (CHAR , 20) + START_DATE( DATS ,8).
3)Third level (Lowest level )-key => MANDT( CLNT, 3) + RULE_ID( CHAR , 20) + LOCATION_TYPE (CHAR , 20) + MEAL_RULE_TYPE( INT1 ,3) + START_DATE( DATS ,8) .
we are not able to save the Entry at the Third level and is getting the Message "Fill table key for table ITC_CALCRULE_ML only up to position 044 only " .
As per our understanding problem is that " the transport interface is called with a incorrect object key for table ITC_CALCRULE_ML " . we thaught of either reduce the width of the key or if we want
to define also the date, by changing the order of MEAL_RULE_TYPE and START_DATE .Also we could use a CHAR1 instead of the INT1 for the MEAL_RULE_TYPE.
After analyzing this we came to a conclusion that we have two solutions for solving it.
1) Database Design Change : Which is generally not preferable.
2) Apply the Event 12 ( After changing the key entries for the change task (E071K) ) on the view and in its code we reduce the Object key width for the Transport Organizer and
would be able to save the entry in the database and would be able to transport the entries to our Q-system.Hi. Were you able to fix the error?
-
Can i set up automator to take image sequences through to compressed quick times for upload?
Hi All you smart people,
I wonder if any of you know how to set up a workflow in automator that takes image sequences, colorcorrects them and then turns them into .mov files.
Thanks in advance for your input,
SusannaThat's definitely the best option to do everything via the task sequence deployment.
Also, there are script available in the community to add or remove a device from a collection, see for example:
http://sccmfaq.wordpress.com/2013/05/20/sccm-2012-sp1-remove-client-from-collection-after-osd/
Keep in mind that if you want to use a script like that during the task sequence that the device running the task sequence (and by that the script) requires specific rights within ConfigMgr.
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Why can't Ifind my DataSource through a cluster?
Hello!
I use Weblogic 8.1.6.
I have set up 1 adminserver at 127.0.0.1:7001.
I have set up 1 managedserver at 127.0.0.1:7011.
I have set up 1 managedserver at 127.0.0.1:7021.
I have set up a "Data Source". This data source is target on all servers. This datasource is pointing to a "Connection Pool" pointing to a oracle. The connection pool is target at all servers.
This runs fine when I throug a TestCase (JUnit) access the datasource like:
hashtable.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
hashtable.put(Context.PROVIDER_URL, "t3://127.0.0.1:7011");
context = new InitialContext(hashtable);
javax.sql.DataSource dataSource = (javax.sql.DataSource) context.lookup( "my/jndi/name/DataSource");
Next step is to do the same in a cluster. Below is those params I think is of interesst of the cluster:
Cluster Address:127.0.0.1:7011,127.0.0.1:7021
Multicast Address:237.0.0.1
Multicast Port:7001
Frontend Host:127.0.0.1
Frontend HTTPPort:7040
Both the datasource and connection pool above now gets targeted at:
Part of the cluster at all nodes (7011,7021)
I have also tried to target the datasource and connection pool above as "All servers in the cluster"
But if I then run the code above with change of the port like
hashtable.put(Context.PROVIDER_URL, "t3://127.0.0.1:7040");
Then I get this error:
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://127.0.0.1:7040: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination]
If any one got any idea how to solve this please let me know! I would like to have just 1 port as front, perhaps this is not possible?
Best regards
FredrikHello!
I think this is a suitable solution.
If I put the cluster address as the Context.PROVIDER_URL like:
hashtable.put(Context.PROVIDER_URL, "t3://127.0.0.1:7011,127.0.0.1:7021");
Then it worked fine!
Best regards
Fredrik -
Hi,
I need to change the runtime high and lo limit values of all the tests of the client sequence file before running it. My sequence file is having a SequenceCall which calls an external sequence. Can anyone tell me how to change/access the High and lo limit values of the external sequence test steps?
Thanks,
JeyanDoug,
I used the property loader method but I could not load the limits of any sub sequence call calling an external sequence file.
I took the FlowRate_test.seq example from the NI Example folder "C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2.1\Examples\PropertyLoader\LoadingLimits\LimitsFromExcelFile\UsingCVI". I created a sequence called PumpTest.seq in the same folder path. I then moved the Pump Test step from the FlowRate_test.seq to the PumpTest.seq. Now created a sequence call in the FlowRate_test.seq and called the PumpTest.Seq as the module path. When I execute the FlowRate_test.seq , I get the error as shown below:
Attached is the Flowrate_Test.seq and the PumpTest.seq which should be there in the folder path "C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2.1\Examples\PropertyLoader\LoadingLimits\LimitsFromExcelFile\UsingCVI".
Let me know whether I am doing something wrong in this method.
My idea is to alter the runstate variable High and Low of Pump Test in the PumpTest.seq and then run the Flowrate_Test.seq.
Attachments:
PumpTest.seq 6 KB
FlowRate_test.seq 11 KB -
Send key sequence through socket.
Hi!
I have programmed an application which makes a socket-connection to a telnet-server. All this have went good. The problem I'm having is sending keysequences. Let's say that I want to perform a "Ctrl-c"... how do I do this?You may have to listen for keyPressed method calls (KeyListener), not just keyTyped, to watch for the control key being pressed. If you see the control key pressed, begin your translation into control characters or special key sequences. Then when keyReleased says the control key has been released, stop your translation.
e.g. I believe the CTRL plus the keypad Minus key do not send an intelligent keyPressed event. So you'll have to watch for the combination yourself, then send the codes you want to represent that down the stream. -
LabVIEW 2013
Attached is the browser program I am working on. I am trying to cycle through the database elements that are displayed in the cluster by means of a boolean button. Any help would be hugely appreciated
Paul Power
I have not lost my mind, it's backed up on a disk somewhere
Solved!
Go to Solution.
Attachments:
Browser.vi 156 KBThis is technically a duplicate thread:http://forums.ni.com/t5/LabVIEW/Sequence-through-a-cluster/m-p/2837814#M829070
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Deploying a Web Application in a Cluster
When accessing our web app through a cluster, the weblogic servers fail to recognize the servlets as registered in the web.xml file, but recognize them fine when registered in the cluster's weblogic.properties file. We had previously tested the app in a non-clustered enviroment and everything worked fine from the web.xml file. So... does anyone have any experience with this problem, or does anyone have any suggestions. All help is appreciated.Thanks,Chad
Chad Griffith wrote:
> When accessing our web app through a cluster, the weblogic servers fail to recognize the servlets as registered in the web.xml file, but recognize them fine when registered in the cluster's weblogic.properties file.
I am not quite sure I understand. Could you elaborate what you mean here?
- Prasad
> We had previously tested the app in a non-clustered enviroment and everything worked fine from the web.xml file. So... does anyone have any experience with this problem, or does anyone have any suggestions. All help is appreciated.Thanks,Chad
Cheers
- Prasad
-
Hi All,
I am using
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionI have schema with following roles
ALTER ANY OUTLINE
CREATE ANY OUTLINE
CREATE ANY SYNONYM
CREATE DATABASE LINK
CREATE MATERIALIZED VIEW
CREATE PUBLIC DATABASE LINK
CREATE VIEW
DROP ANY OUTLINE
DROP PUBLIC DATABASE LINK
SELECT ANY TABLE
UNLIMITED TABLESPACE
CONNECT
DBA
EXP_FULL_DATABASE
IMP_FULL_DATABASE
OEM_MONITOR
RESOURCEI can able create a sequence through SQLPLUS as well as from toad.
SQL> CREATE SEQUENCE ROLE_ACTIVITY_SEQ START WITH 225006249 INCREMENT BY 1 MAXVALUE 9999999999999999999 MINVALUE 225006249 NOCYCLE CACHE 100 ORDER;
Sequence created.
SQL>when i try to create sequence dynamically through PL/SQL procedure getting error
SQL> execute PROC_CLONE_BU;
BEGIN PROC_CLONE_BU; END;
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "SUPERNOVA.PROC_CLONE_BU", line 19
ORA-06512: at line 1
SQL>Even though I have DBA role for the schema. I don't know what privileges oracle still excepting..
Pls guide me to resolve it..
Thanks & Regards
SamiHi All,
As said early creating sequence through dynamic SQL
its creating sequence fine but when i try to use sequence in same procedure then procedure getting error..
create or replace procedure proc_seq_genrate as
begin
EXECUTE IMMEDIATE 'CREATE SEQUENCE BU_ROLE_DSK_ITEM_SEQ START WITH 100 INCREMENT BY 1 MAXVALUE 9999999999999999999 '||
'MINVALUE 100 NOCYCLE CACHE 100 ORDER';--- hard coded value 100 will changed according to PK max value of the table .. for getting max value i will write SQL Query
end;
Procedure created.
create or replace procedure proc_seq_genrate as
begin
EXECUTE IMMEDIATE 'CREATE SEQUENCE BU_ROLE_DSK_ITEM_SEQ START WITH 100 INCREMENT BY 1 MAXVALUE 9999999999999999999 '||
'MINVALUE 100 NOCYCLE CACHE 100 ORDER';--- hard coded value 100 will changed according to PK max value of the table .. for getting max value i will write SQL Query
INSERT INTO ROLE_ACTIVITY (SELECT ROLE_ACTIVITY_SEQ.NEXTVAL, -98, ACTIVITY_CD, REC_ST, 1, ROW_TS, USER_ID, CREATE_DT, SYS_CREATE_TS, CREATED_BY FROM ROLE_ACTIVITY WHERE ROLE_ID=-99 );
end;
7 35 PL/SQL: ORA-02289: sequence does not existI have understood that its looking for Sequence but
pls any one explain me why its looking sequence in compile time itself.. any way we are going to use the sequence only at run time right.. i would like to know is there any technical reason behind this..
Thanks & regards
Sami.
Maybe you are looking for
-
Mail suddenly won't open at all
I clicked on the stammp icon for my mac mail about 3 days ago and it won't open at all. No matter how often you click, it does nothing. If I access it through the web, it works on the web, but not straight from the icon. My ical program quit opening
-
How can I safetly remove the contents of the hidden volumes folder?
I have 149GB of backedup data eating up my laptop's hard drive space (300GB). I want that space BACK! But I'm afraid that I'll jack up my system even worse if I go in there and start deleting files. Here's the my story... I tried many times (unsucces
-
Rolling back the creation of a split partition on a table
Hi, I had some partitions created on a materialized view . I then split the last partition called FINAL into mulitiple other partitions. Now how can i drop the created split partitions without dropping FINAL. I am using Oracle 10g.
-
i can't import any photos. 'Could not copy to requested location' is the given but i have tried importing to both hard drive and external drive. Help please ?
-
Login problem in application in APEX 4.0
Hi All, Im new to this apex tool...currently i created a DB application with 3 pages....... *) login page *) PAGE 1 *) PAGE 2 Since this application is used by two users... So the PAGE 1 should be accessible to A user....(A should not see PAGE 2) PAG