Graphing channels where ChnLength = 1
I have been thinking about something I cannot figure out, if anyone has tried this before, please help!
Here is one scenario:
I have 10 channels, each with one value. I would like to make a graph of these values versus the channel name. Is this possible? For example,
ChD(1, "Channel A") = 1
ChD(1, "Channel B") = 2
ChD(1, "Channel C") = 3
ChD(1, "Channel J") = 10
Obviously, this graph would look like a straight line (x = y) .
Now, I have thought of a few ideas, but I'm not sure if they are the best.
One, I could create a channel with a script something like this:
For i = 1 to NumChansToPlot
This thread continuous here
Ingo Schumacher
Systems Engineer Sound&VibrationNational Instruments Germany
Similar Messages
-
upgraded both my iphone and mac os and I noticed that when listening to internet radio I only get 1 channel whereas before I was able to receive 2 channels. Any suggestions?
I received my week 16 MBP yesterday morning. It has been perfect thus far. Quite the improvment over my old iBook. I do hear some noises rarely but not enough to make me think there is a problem, I believe they are just the standard purrs and ticks of a high-powered computer. It doesn't run hot. I'd say cool to rather warm if used heavily. I hope I have a problem free experiance. I would hate for this product to tarnish Apple's reputation, that would be unacceptable considering this product is amazing. I will say this; I called Applecare, more out of curiousity than anything else and told them that I had just purchased an MBP and, while mine was fine, I had heard allot of disturbing reports about noise and heat. I asked point blank if Apple was aware of any issues and if they where working to resolve it. The answer I got was surprisingly forward. I was informed that they were "VERY" aware and working to correct the issues. He then told me I was lucky to recieve one of the quiet MBPs. I hope they work it out soon.
MacBook Pro Mac OS X (10.4.6) -
Keeping Digital Waveform Graph Channel Name constant
Hello All,
I have currently run into a problem where LabView decides to change all of the channel names in my waveform graph to some type of default setting, e.g. Line 1, Line 2 etc. I was wondering is there a possible way to keep the channel names on the digital wave form constant even if I change some of the digital waveform parameters, or pass a null digital waveform constant through one of the channels? Any help on this would be much appreciated.
Example:
Problem
Digital Channel Name Before: Change Parameter: Digital Channel Name After:
Valve 1 Only Channel 1&2 used Line 1
Valve 2 Line 2
Valve 3Hi di_1,
Are you trying to add more elements to a property node? Just grab the bottom and drag it down...check out the pictures.
Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
Attachments:
propertynode.png 83 KB
grab the bottom of node.png 65 KB
drag it down for more properties.png 96 KB -
Draw rectangle at the Intensity graph (position where it is clicked )
I am able to extract coordinates using mouse down and mouse up event structure but unable to draw the rectangle at the specified positions.I am getting coordinates at mouse down and mouse up event in these bounds.I want to draw a rectangle at the position of coordinates but unable to do so.
Solved!
Go to Solution.
Attachments:
Draw Rect on Intensity Graph.vi 21 KBOne more thing, since you're using the Draw Rectangle function you need to deal with the cases where the rectangle is not drawn from top left to bottom right. You have to make sure the minimum X value goes to the LEFT input and the minimum Y value goes to the TOP input of the rect terminal of the Draw Rectangle vi. Use the Max & Min function from the comparison palette for this.
Ben64
Attachments:
Draw Rect on Intensity Graph3.vi 16 KB -
I am trying to make it clearer, I use a scxi-1161 and two of its relay channels to operate an MOV. I want to be able to apply power to two different pins on the MOV using two seperate relay channels.. but I want to be able to have it automatically cycle the two pins on and off by what time (in seconds) the user selects.. and the selection can be changed during cycling.
Sorry I can't convert back to 5.1, but here are some pictures that might help. The mechanical action for the Start and Stop buttons is Latch When Released. In LabView 5.1, the While loop doesn't have a Stop if True option so you'll need to add an inverter between the terminal for the Stop button and the Continue terminal of the While loop.
Attachments:
TwoToggleTimers_frontpanel.jpg 31 KB
TowToggleTimers_diagram_true.jpg 100 KB
TowToggleTimers_diagram_false.jpg 99 KB -
I know of #Oracle on Freenode, but it isn't very active, I was hoping to find some that are more active.
Thanks,
MansoorIRC and the Oracle discussion forum are complete different things. One is live chat, the later is the exchange of written communication. I think the Oracle community will be your best option. It depends what you are looking for, which you did not outline. IRC is a dinosaur from the last century, which has a bad reputation in regard to security standards and hence is often blocked by corporate networks. For instance, because IRC connections are usually unencrypted and typically span long time periods, they are an attractive target for Dos/DDos attackers.
-
How can I plot multiple channels on the same figure?
My inputs are:
x axis : 1-D array
Y axis : 2-D array consisting of data from several channels, where every row contains data from one channel (1-D array)
I would like to plot several channels vs one with the legend etc..
Attachments:
dummy.vi 16 KBI have created an example which -
- takes an independent X axis data
- takes 2D Y data
- takes 1D Y data
Displays all on an XY Graph
Do Let me know if it helps.
Sandeep
Attachments:
dummy_with_XYGraph.vi 46 KB -
To split channel into pieces(cycle)
hi
i dont know how i can split channel into pieces. in attachmeents i have piece of my data, i have there data which are use to axis X and axisY on my graph. In my data i have many cells where i have "novalue"(it is result from many calculation) and on graph it isnt curve but only many points, it look like curve but isnt, but it is not big problem. data from channel "axis X" show when new cycle is strated (one cycle= 0,25...as long as 719,75). I must in some way separate cycle(split channel into cycles) and calculation (receive) one average cycle. How i can do it ??
Attachments:
pieceaxelXY.xls 765 KBHi Elwis_85!
I am not sure what you want to accomplish but it seems you operate on channels and do some looping. For creating such applications you can use scripting.
I have prepared an example that for every value (not NOVALUE) from Channel3 (from 0.25 to 719.75) stores value from Channel2 in separate channel. I used VBS scripting to accomplish that.
Please remember to check channel names before running the script. I hope it will be useful!
Script:
'requirements:
' Channel3: values from 0.25 to719.75
' Channel2: if Channel3 is not NOVALUE, read from channel2 data
' ChannelOut: channel that will store values from channel2, set length to length of Channel2
Option Explicit 'Forces the explicit declaration of all the variables in a script.
dim ind
dim v
ind = 4 ' start indexing from 4th row
dim newind 'here we store index of newly created channel where we store values
newind = 1 'start indexing new channel from 1
v = 1 'init value
while (v <> 719.75) 'read as long as you don't reach maximum value
v = ChV(ind,"pieceaxelXY/Channel 3") 'read value
if IsNull(v) then 'compare it to NOVALE
v = 0.0 'if it is NOVALUE set to to 0, to work on Double data type
end if
if v<>0 then 'v<>0 means that we read some value, now we can read value from Channel 2 and store it in ChannelOut
CHV(newind,"pieceaxelXY/ChannelOut") = ChV(ind,"pieceaxelXY/Channel 2") 'read from Channel 2 and store it in ChannelOut
newind = newind + 1 'increase index in ChannelOut
end if
ind = ind + 1
wend
Best regards,
Koza -
Verizon To Add More .Tv Channels. Sony Movie Channel To Be Added.
Verizon is set to add more .tv channels where two of them are on their way. Legacy .tv a .tv channel from byron allen's entertainment studios will be added to the fios guide and another channel called "justice central .tv" is on its way where it is expected to be made available for fios customers soon. Justice central .tv is a channel that is all about court tv shows where what viewers will have an opportunity to watch are programs like "we the people with gloria allred" where she dishes out her own brand of justice to people who appear in her courtroom. It is a channel that will be all about judges yelling at plantiffs and defendants that will also have a lot of infomercials. That will make it 8 .tv channels where byron allen is also looking to create more .tv channels for verizon to add to their lineup since he has a contract with verizon to add any channel that he has to the fios guide. For the record verizon has entertainment studios .tv, pets .tv, recipe .tv, comedy .tv, my destination .tv, and cars .tv which won an emmy for "outstanding lifestyle program." Another channel that is on the way is the sony movie channel in hd where sony has already confirmed that the channel will be added in the next 2-3 months to the fios guide. Now i have never seen anyone make any requests for .tv channels and i have never seen anyone say that they wanted more of them to be added but that is going to change soon where not only will there be 8 but maybe by the end of the year there may be a total of 10,11,12 or maybe even 13. It all depends on how fast byron allen can create these channels because clearly verizon is willing to add as many of them as they can. There is a really long list of channels that fios customers have been asking for to be added to the guide where the competition has added them so it is not an outrageous request to ask verizon to at least match what the competition has to offer.
Which means FiOS is better than the other services, Bob!
-
Grouping channels in Audition?
Hi,
Ok, I seem to be looking for an answer to this question by asking the wrong questions. I am moving to a new setup and my studio and using Audition CC to record but I seem to be lacking the proper Audition terminology.....
What I want to do is take several tracks in a mix - say all the drum tracks - and assign them to a group where I can control that group via one fader in the mx. ie - so I can control the overall volume of a drum mix in the main mix without having to adjust the individual tracks in the mix itself. I am coming from using a Mackie D8B and assigning tracks to a group and using the group fader was very easy.
My understanding of a mix group and what my current manuals on Audition tell me about groups in Audition seem to be rather vastly different.
Can anyone enlighten me on this process in Audition?
Thanks!
-RowenRowen_Poole wrote:
My understanding of a mix group and what my current manuals on Audition tell me about groups in Audition seem to be rather vastly different.
That would probably be the 'manual' then - the process is essentially identical!
The only thing that Durin didn't mention was how you actually assign the channels. The easiest way, once you've set up the bus, is to go to the track output routing at the bottom of each mixer channel (where it normally says 'Master' and assign that particular channel to the bus there. -
Single Line and Stacked Bar Graph Representation
Data to be plotted on graph is as follows
Year and Month Study Planned Subject Study-Site ID # # Enrolled
2001 / 03 AMXN 9374 50 US-001 1
2001 / 04 AMXN 9374 50 FR-101 1
2001 / 04 AMXN 9374 50 SP-301 1
2001 / 04 AMXN 9374 50 US-001 2
2001 / 05 AMXN 9374 50 FR-101 1
2001 / 05 AMXN 9374 50 US-001 1
2001 / 06 AMXN 9374 50 FR-101 2
2001 / 06 AMXN 9374 50 SP-301 2
2001 / 06 AMXN 9374 50 US-001 1
I want to display the above data in line stacked bar graph format where the
#Enrolled will be in Stacked Bar by Study -Site ( Y axis)
Planned Subject should represent a single line at 50 ( Y axis)
Group by Year and Month ( X- Axis)
Study excluded ( Study will be selected from dashboard prompt)
I'm getting the stacked view of Study Site ID correctly but I want Single Line for Planned Subject .
Currently I'm getting multiple line .
Eg for 2001/03 I'm getting line at 50 in yellow colour
for 2001/04 I'm getting a line at 150 in different color since it has 3 Study-Site ID's But the desired output is Single Line at 50
As per 11g doc this is not possible because there is some upgradation in the nature of the graph
" Stacked line-bar graphs in which 2 or more measures are shown as lines on the same axis and are not stacked in 10g are stacked in 11g."
Refer - http://docs.oracle.com/cd/E21764_01/bi.1111/e16452/apndx_ui_chngs.htm
Is there any workaround for it ?Did you found any workaround for it ? I am too looking for same scenerio.
-
Different message structures on one communication channel
Hello,
we've got the situation where on on single communication channel, we will have multiple message structures. We need to discriminate between them and then handle them according to their structure.
All messages have a header section in which the message type is stored. So I've created a dummy structure:
<ns0:dummy>
<header>
<message_type></message_type>
</header>
</ns0:dummy>
the actual messges will have a different root element, but you can ignore this by using xpath. So, I've created a sender agremeent with this dummy message as the interface. I have a interface determination with conditions:
/*/header/message_type = MT_A
and receiving interface MT_A. Same for MT_B and so forth. There's no interface mapping in between.
The receiving system now has a receiver agreement with MT_A as the interface. This all works. But in the receiver agreement you set up a communication channel where the message is sent to.
But at this point, MT_A was what the original system sended. All we did was figuring out what message type we're dealing with. Now we need to handle this message as MT_A and using a interface mapping, map it to MT_A_New. We cannot do this in the original receiver determination / interface determination combi, sinse this would mean a message mapping from dummy to something, and we need from MT_A -> MT_A_NEW.
Does anyone have thoughts on how to do this?
Thanx in advance!
Greetings, Walter.Hello All,
thanks for all your input, it gave me quite a few possible directions to look.
we eventually solved our issue by creating a "generic" structure. It contains the header part (which is the same in structure A and B) and both the A body and B body as optional parts.
now we can make a mapping which only operates on the A part and ignores the B part and also one which does the B part.
<root>
<header>
<MT></MT>
</header>
<MT_A>
</MT_A>
<MT_B>
</MT_B>
</root>
we can still define which mapping to use based on the header information. It all seems to work.
Thanks again for all your input!
Greetings, Walter. -
Pass values dynamically to the WHERE clause in SFAPI
Hi there
We have a requirement to pass values dynamically (in the run-time of the interface) to the WHERE condition to our SFAPI query.
Eg -
SELECT person, personal_information, address_information, phone_information, email_information, employment_information, job_information, compensation_information, paycompensation_recurring, paycompensation_non_recurring, job_relation, accompanying_dependent, global_assignment_information, direct_deposit, national_id_card, person_relation
FROM CompoundEmployee
WHERE last_modified_on >= to_date('LAST_RUN_DATE') AND
last_modified_on <= to_date('CURRENT_RUN_TIME')
LAST_RUN_DATE is stored in a custom entity for which we execute another OData query. The custom entity is updated with the CURRENT_RUN_TIME once the interface has been executed successfully. So the next time the interface is run it picks up the LAST_RUN_DATE from the custom OData entity.
SAP PO has the functionality to run a dynamic query for OData adapters. Refer to Note 2051137 - PI Successfactors adapter : Dynamic odata query and single synchronous sfapi query
Eg - select fields from position (this is what you state in OData query path in the comms channel; this is static); and you have an advanced tab in comms channel where you mention dynamicquery and set it to true (this points to a XSD which has the keyword TOP, SKIP & FILTER in it).
This gets the filter values passed from the BPM from another query (from a OData cust_table).
So the whole query is - select fields from position filter field a = x field b = y etc. Field a field b are fields in position that are you passing values x and y in run time of the interface.
SAP PO also has the advanced tab feature for SFAPI for dynamic query.
Question is -
how to use it?
has anyone implemented this before?
What does XSD will look like?
How do we pass values to the fields to the Where clause for SFAPI.
Any ideas are welcome!
Regards
Arijit DasAfter you have added a new where clause on the detail VO, try re-executing VO's query by DetailVO.executeQuery()
If it doesn't work try re-executing the MasterVO's query after you have added the where clause on the detail -
File Content Conversion : Sender Channel
Hi
I am trying to do content conversion in the Sender Channel from a flat file to a XML.
My Target XML(message structure) looks like
<H1>
<H2>
<D>Detail Record</D>
<L1>line</L1>
<L1>line</L1>
</H2>
<H2>
<D>Detail Record</D>
<L1>line</L1>
<L1>line</L1>
</H2>
</H1>
Here the element <H2> is only needed to group <D> and the following <L1> elements of each new occurrence of <D>.
Now my problem is that the element <H2> is not getting created.
and the message after content conversion is looking as follows
<H1>
<D>Detail Record</D>
<L1>line</L1>
<L1>line</L1>
<D>Detail Record</D>
<L1>line</L1>
<L1>line</L1>
</H1>
What should I do to get the desired result.@Yes Bhavesh you are right.
Hi Jai,
I am trying the other way round.i.e from flat file to a XML message.As I said I was trying to do it for Sender Channel where is the after content conversion I want a XML file.The example is a what I framed out of my actual problem.
if flat file is as follows ,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
DetailRecord1
Line1
Line2
Line3
DetailRecord2
Line4
Line5
then the XML must look like
<H1>
<H2>
<D>DetailRecord1</D>
<L1>Line1</L1>
<L1>Line2</L1>
<L1>Line3</L1>
</H2>
<H2>
<D>DetailRecord2</D>
<L1>Line4</L1>
<L1>Line5</L1>
</H2>
</H1>
I identify the different types records in the flat file
as follows,
Record starting with "Detail" is considered as <D> element
Record starting with "Line" is considered as <L> element.
Hope I did clarify. -
Multiple communication channels for file adapter based on user name
I am using this Idoc-to-File scenario, using FTP for sending the files to file server. Target directory is determined by user id which is unique for a field called ASC. Field ASC is a part of incoming Idoc. There are 40 ASC; that means I have 40 user ids/password. Is there way of creating a file communication channel where user id/password can be supplied dynamically. Or there is an alternative to creating 40 different channels, one for each ASC.
Thanks,
DehraHi,
you need to create 40 channels if you have users
as dynamically you can only create:
File Name
Directory
File Type
File Encoding
Temporary Name Scheme for Target File Name
with FTP adapter
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Maybe you are looking for
-
My ITunes no longer plays in stereo. Vocals on songs sound distant.
Just recently my ITunes has audio loss. All songs seem to be missing the vocal track. Vocals sound very distant and faint. I have played other videos in quicktime and audio is OK so I know it is not a wire connection problem. I have checked my equali
-
Hi, I have a quite new mac book air. I urgently need Java 7 plug in to run properly, but unfortunately it is not working. I have tried all proposals from Java homage. Nothing helped. I found an article, that Apple has blocked Java Plugin due to secur
-
Aggregate functions for internal table.
Hi Gurus, I'm just wondering whether we can use aggregate functions for internal table. I wanted to know the max value for a particular column in my internal table. How can I achieve this easily and quickly. Thanks, David.
-
Thunderbolt ethernet or wifi?
Hi I have a 2011 macbook air running mavericks 10,9,4 and a 2012 thunderbolt display with a wired ethernet cable attached, my question is should I turn off the wifi on my MBA when connected to the display or does the MBA automatically select the fast
-
hi that's my problem: i tried to load a dvd today. nothing works. the disk doens't load: it stays half inside half outside, I can not put it inside, like if a disk was already indise, but there is not any one. can some one help me please? thanks a.