Different positions of time steps on Time scale for multiple plots of same signals

Hi,
   I am facing a strange behavior of graphs of time-domain signals in "Data View". I am using DSA devices to acquire signals. I am plotting three analog voltage inputs (attached to Ch0, Ch1 and Ch2 of same DSA device). The vertical scales of these three signals should be same and follow the maximum signal level. So I plot these three signals on one "Display" in "Data View" and duplicate three such displays. For first "Display1" I change interpolation such that only first signal (Ch0) is visible. On the second "Display 2" I change interpolation such that only 2nd signal(Ch1) is visible. Similarly third signal(Ch2) is displayed on third "Display 3". Now for these three displays, the time scale is not the same. The starting point is 0 and is aligned among these three displays. The end points of time axes are different. For example these are 989.966m, 990.391m and 1.00034 for 102400 points acquired at sampling rate of 102400  Samples / second. Similarly the major grid lines are also not aligned among these three graphs when we move towards end of time scale.
    I have tried changing "Time Stamp Type" to "Relative to Ch0" for all three displays but this problem remains same. I tried my best to work around it but could not succeed. I tried to save the signals and then plot after reloading while taking same time information from column 1. This solved the problem of time axes but now auto-scale stops working on vertical scales whenever signal amplitudes goes down (The scale does not follow decreasing amplitude of signal but remains fixed).
   Can anyone help me in this matter? I shall be very thankful for an earlier response.

Hi Vivek
   I need to align time values in all the displays (in Data view). The time values should already be aligned since I am using DSA PCI-4474 which is a simultaneous sampling digitizer.
    I explored it in detail. If I add displays in Data Views while there is no data acquired and save the project then it works fine. However if I save the project after acquiring data and doing some zoon In/ zoom out etc. then I face this problem. Please let me know if there is a way to avoid it.
Moreover I need a confirmation from you on my following application development:
I have a simple application of showing 12 analog signals on 12 different graphs placed vertically in aligned position. I have to develop a user interface so that if user wants to display signal no. 1, 4 and 6 out of total 12 signals, he should make selection using check boxes and click a re-draw button. It should result in these three signals displayed as separate graphs aligned vertically and adjusted to fit window size of Data View. Similarly later user can change his selection of displaying signals (from same acquired data) say 1, 3, 5, 6, 8, 9, 11 & 12 and click Redraw button. It should result in clearing of Data view (or opening a new Data View tab i.e Data View 1) showing all these signals as separate graphs which are aligned vertically and resized to fit the window.
Can I achieve this user interface design using Signal Express only (without using Lab view)?
Regards
Mnuet

Similar Messages

  • Changing time scale for mixed signal graph

    I want to change time scale for mixed signal graph 1 day or  5 day of realities?

    And what exactly are you having problems with? If you want to use a property node, it's Xscale.Maximum.

  • Getting run time error for multiple counter plan

    Hi Friends,
    Its very critical issue,wherein i am getting run time error for multiple counter plan.
    Explanation:While try to change the Call horizon or scheduling period of the counter based plan through IP42 or IP15,systam allowing me to change the data but while saving also i am getting "Maintenance plan has changed" message and once come to the back of the transaction instantly i am getting pop up window saying that "Express document get terminated".However we have been maintaining copy of this data in another client wherein we are not getting any Run time error.
    Please find the screen shots for your reference and please let me know how to fix the issue.
    Regards,
    Srinika

    Hi,
         Please check reason for update termination in Transaction code SM13.

  • Relative Time Scale for X-Axis when creating a Line Graph in CS3?

    Is there a way to get the APPROPRIATE RELATIVE scale for the X-Axis (Category) when you're using dates?
    Example:
    If this is my data set:
                        Group A          Group B
    01/03/99                1                5
    01/04/99                11                3
    01/05/99                6                12
    11/27/07                63                54
    If I plot this in Xcel, by default, each date (x-axis) will be spaced the same distance apart. However, there is a checkbox to "time-scale" the X-Axis which will place the dates relative to one another. In other words, if we're talking about a bar graph, the first three bars would be close together on the left side of the chart, and the 4th bar would be waaaaaay on the right side of the graph.
    So, below, if 'x' is a bar, I keep getting this in CS3:
    x     x     x     x
    I want to get this:
    x x x             x
    Get it?

    Is there a way to get the APPROPRIATE RELATIVE scale for the X-Axis (Category) when you're using dates?
    Example:
    If this is my data set:
                        Group A          Group B
    01/03/99                1                5
    01/04/99                11                3
    01/05/99                6                12
    11/27/07                63                54
    If I plot this in Xcel, by default, each date (x-axis) will be spaced the same distance apart. However, there is a checkbox to "time-scale" the X-Axis which will place the dates relative to one another. In other words, if we're talking about a bar graph, the first three bars would be close together on the left side of the chart, and the 4th bar would be waaaaaay on the right side of the graph.
    So, below, if 'x' is a bar, I keep getting this in CS3:
    x     x     x     x
    I want to get this:
    x x x             x
    Get it?

  • Triggering a sub work flow for multiple users at same time.

    I have a scenario in which I have created sub workflow as an activity for approval process. This sub work flow should be triggered for multiple users at the same time and their decison is independent of each other.
    This is like creating multipe instance of the same sub work flow and then the sub work flow runs indepedently as a new work flow for each of the approver and the process is completeded for approver independently.
    How can this be achieved?

    Tyr to do like this,
    1. First include the subworkflow in the main workflow template.
    2. Now include standard Block Step in the main workflow template.
    3. In the block select the block type as ParForEach.
    4. Before doing the 3rd point make sure that all the agents for whom you want whom you want to initiate the workflow, populate them in a Multiline conatiner element.
    5. Once completing 3rd and 4th points open the block step under the tab ParallelProcessing  assign the multiline container element name in the   for e;g if the multi line container element name is COSTCENTER then do the binding like below. the conatiner element COSTCENTERLINE is created by default once you include the multi line conatiner element under parller processing tab.
    &COSTCENTER[&_WF_PARFOREACH_INDEX&]&   -------->     &_COSTCENTER_LINE&
    Now assign the agent of the subworkflow as COSTCENTERLINE , imean if suppose you have 3 entries in the internal table then three separate and for three different agents the workflow is instantiated.

  • Time Synchronization for multiple Arduino

    I made a program wherein there are 3 nodes, each node measure temperature using thermocouple. Each node has 1 arduino and 1 Xbee. All the three will send their temperature data to the base station where Xbee exists. What I want to do is All of the data will be placed in chart, it should have time and date. As shown in my VI, and if you see something that I have used incorrectly please do say. I am new to LabVIEW.
    How will I synchronize the data? For each and everyone have a time and date? Say, node 1,2, and 3 took a measurement at t=0. Since they all have different location, they will all have a different received time in base station? How can I make them send their data and place the appropriate time for the temperature measurement?
    Attachments:
    overview.vi ‏64 KB

    Serial communication via RS-232 is always one-to-one because there is no addressing capability. The LIFA Init VI does not have any addressing capability so it appears that none of the other communications methods allows more than one device per channel. I think you will need three separate channels (COM ports) for the three devices.
    How precisely do you need the temperatures to be synchronized? I would expect that any system using XBEE will not be responding to rapid changes of the temperatures. Just assume that the three readings taken in the same loop are at the same time and append a timestamp or tick count in software. I do not have the Get All Data.vi so I canot tell how fast it executes. I would move the Write to File to a parallel loop and put a Wait in the read loop to set the loop time. For most temperature applications software timing is good enough.  What will you be doing with the data?
    Lynn

  • Time Machine for multiple macs - NAS or DAS attached to my iMac, which I then share?

    Greetings
    I currently have three macs - MBA, MBP and an iMac (newest generation). I'd like to use Time Machine for all of them.
    Is it better to set up a NAS for Time Machine or can I use DAS that I woudl share (external HDD) attached to my iMac if they are all on the same network?
    Also, is there any need for something like a Drobo or an external RAID array, if it's mostly for backing up and not for video editing? It would be used as a mnusic server to some degree. I've used a Drobo in the past (2nd gen) and find that I've spent a lot of time troubleshooting and fiddling with it over the years.
    Thanks,
    John

    I am looking to add a Seagate NAS TM compatible to my network.  I have 8 TB of storage w multiple Macs that I would like to backup to a NAS device.
    Any advice would be welcome.
    http://www.seagate.com/external-hard-drives/network-storage/business/business-st orage-8-bay-rackmount-nas/

  • Axis scale for scatter plots

    I'm trying to create a specialized scatter plot, which functions similar to Excel's scatter plot. I'm having problems determining what the min and max values should be for the axes. I would like the program to determine from the input data what the initial min and max values should be on the x- and y-axis, the user can adjust later.
    So, I don't want the program to just look at the maximum value imported and round up. For instance, data = {523.7, 514.4, 271.8, 128.5}. The max value is 523.7, round up to 524. Instead, I would like to program to make 600 the largest value on the axis, because that makes it nice round number for the user to view the dataset.
    Then, I thought it really depends on the range of the data. For instance, data = {523.4, 523.8, 523.2, 522.8, 523.9}. Here, the range is very small, so it doesn't make sense to have 600 the largest value on the scale. The largest value should be 524 or 525, and the small value on the axis scale should be 521 or 522.
    Has anyone else ever worked with this problem, or have a good solution? I would really appreciate it, I've spend way too many days working on this.
    Thank you,
    Joe

    This is off the top of my head and based on a slight variation of your data.
    data: 52.34, 52.38, 52.32, 52.28, 52.39
    min=52.28 max=52.39 range=0.11
    Looking at the range we see it is "on the order of" 0.1. Ie, it is closer to the next lower power of 10 (0.1) than it is to the next higher one (1.0). So we round min down to the next lowest multiple of 0.1 (52.2) and round max up (52.4). 52.2 and 52.4 can serve as the nice numbers.
    The range is just a little bigger than a power of 10, so it might be a good idea to check what happens when it's a little less.
    data: 135 226 141 143 etc
    min=135 max=226 range=91
    range is on the order of 100, and the nice numbers are 100 and 300.
    As a variation on this strategy if we always find the power of 10 below the range (10 in the second example) we get a tighter fit but the numbers are slightly less nice - 130 and 220.
    (I'm pretty sure I've seen - and used! - some java software from the Internet somewhere to find the best scale for axes, so it might pay to look around)
    Had to edit my second example and, while I was waiting, found what I have used for this sort of thing: http://geosoft.no/software/index.html (The NiceNumbers class - it finds numbers along a range suitable for major and minor "ticks" but, if memory serves me correctly it extends the range so that the ends are nice too.)

  • Time scale for wave graph form

    hi,
    I am doing a project in VS2005.net Basic and Measurement Studio 8, I would like to display one sampling data in wave graphics. I am using wavegraphform. But when I change sampling time, for example, 1 ms, 2ms or 5 ms. How can I display the corrected X Axis? Thank you very much!

    Howdy Yhong -
    What method are you using to plot to the waveformGraph object?   Assuming that you are using the PlotY method to plot your graph, which overloaded method are you using? 
    In general, there are a few things to consider with the XAxis.  First, you can access any XAxis object through the waveformGraph.XAxes collection.  From there you can set any XAxis property you would like in order to change the look of the graph to suite your needs.
    This problem also could be as simple as using the proper method for PlotY.  For Example, Ploty( double[] yData, double start, double increment); gives you the ability to specify the increment you would like to use for the XAxis.
    If you still need assistance, please let me know more on the specific method you are using, and what you would expect the XAxis to look like in the situation you describe in your post.
    Thanks
    and have a great day!
    Regards,
    Andrew W. || Applications Engineer
    National Instruments

  • How to set up Time machine for multiple computers

    How to name and select for backup

    A Time Capsule does not require you to do anything.. each computer will establish its own backup in a sparsebundle.. and keep it different from the other computers. It all just works. Mostly..!!
    http://pondini.org/TM/33.html

  • Can I use a Time Capsule for multiple computers?

    Hello,
    after reading various posts on this forum I am now more more confused than ever : bear in mind that my understanding of computing stuff is quite ... limited, so I apologize if this question seems senseless.
    I have several small capacity external hard drives which I uses for back ups and moving files between my computers (1 desktop (2.16 GHw Intel Core 2 Duo: Mac OSX 10.6.5), 2 laptops) but the result is a ton of confusion and multiple files everywhere. I was therefore thinking of getting a Time Capsule 2T which I would use as :
    - a unique external back up machine for all my computers (without adding any other external drives)
    - a wifi modem-router
    Before investing that much money, can anyone tell me if the Time Capsule is indeed appropriate for the above uses, particularly being able to program all 3 machines to wirelessly back themselves up on the scheduled basis.
    When I started seeing questions about adding USB driven external hardrives It made me wonder if i had gotten the purpose of the TC all wrong.
    Thank you for your patience!:=)

    nicaru wrote:
    - a unique external back up machine for all my computers (without adding any other external drives)
    - a wifi modem-router
    Yes, that's exactly what it was designed for.
    You can put other data on a Time Capsule, besides backups, but that will cause some conflicts, sooner or later. See #Q3 in [Using Time Machine with a Time Capsule|http://web.me.com/pondini/TimeMachine/TimeCapsule.html] (or use the link in *User Tips* at the top of this forum).
    When I started seeing questions about adding USB driven external hardrives It made me wonder if i had gotten the purpose of the TC all wrong.
    You can do that as well.
    One purpose is, if the TC isn't large enough to back up all your Macs, you can back some up to the TC's internal HD, others to the USB drive. It varies widely depending on how you use your Mac, but a "rule of thumb" is, TM needs 2-3 times the space of the data it's backing-up, to be able to keep a reasonable "depth" of old backups for you.
    Another is, if you want other data available over the network, you can put it on the USB drive to avoid the hassles in #Q3. And, since you can partition the USB drive (unlike the internal), you could use one partition for backups, another for other data.
    |
    There is an alternative, however, that you might find more attractive (and less expensive), since you do have a desktop Mac, and I assume you already have a wireless router.
    That's to connect one or more external HDs directly to the desktop Mac, and back it up directly to that drive (or a dedicated partition on it).
    Then back up the laptops over your network to a different partition on the same drive, or a different drive, via sharing. See #22 in [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of the +Time Machine+ forum).
    For moving files around, you could continue to use a small external HD, or use sharing over your network.

  • How best to set up multiple time capsules for multiple needs?

    There is so much good information on these discussions about using TCs for extenders or external drives - I am hoping to do both so will ask my own question here. BTW, this is my very first post so please be patient with me if I do not include something important.
    I have a 1/2 gen (2007) Airport extreme and a 5th gen (2011) 2 tb TC. I am buying a 6th gen (2013) 3 tb TC because I am getting the new Macbook Air and want to take advantage of the new ac wireless. I have 2 apple TVs and 1 iMac plugged directly into my home ethernet network (if I'm saying that right - they are plugged into the wall). We have iphones, ipads, and an old macbook as well that all plug in wirelessly. Below is what (I think) I would like to do in the order I think I would have to do it. Could you help me understand if (a) this makes sense, and (b) if so, how do I accomplish these steps?
    1. I unplug the 2 old units (2007 and 2011) and set them aside for the moment.
    2. I plug in the new 6th gen TC to my modem and follow set up instructions to make it my backup area for iMac, Air, and old Macbook. I assume I need to do this because I want it to be the primary right?
    3. I want to use the 2011 TC as a hard drive - I will be transferring all photos and 2 iTunes libraries (mine and my husband's) to it. We watch lots of movies so that is the main use. I think I would want this plugged directly into an ethernet port in the wall so it will be quickest for Apple TVs to access right? Or would it be better (fastest access) to connect it directly to the new TC or even the iMac? Is there something I need to do to make it an external drive rather than TC?
    4. I would also, if possible, like to use the 2011 TC as an extender into a far room in the house. Could I simply plug it into an ethernet port in that room and it magically becomes an extender too? Would this not be ideal for some reason, like it is slower to access? Note that this is not terribly necessary but would be nice if easy.
    6. Would it make sense for me to plug in the 2007 unit in a far room upstairs to serve as an extender up there?
    Thank you so very much in advance.

    There are a few things to get straight..
    This is pedantic but heck I post too much..
    The Gen of the TC is one behind the Extreme.. so a Gen6 AE = Gen5 TC.
    Totally pedantic.. but it keeps me happy.
    3. I want to use the 2011 TC as a hard drive - I will be transferring all photos and 2 iTunes libraries (mine and my husband's) to it. We watch lots of movies so that is the main use.
    I would like you to rethink this.
    You can do it.. but I think you are misunderstanding how iphoto and itunes work.
    Your Apple TV never connects to the library of itunes..
    And
    Your TC is not a media player.
    So all files stored on a TC are going to flow like this..
    TC(ituneslibrary)---Computer (itunes)---stream---TC(network)----ATV.
    If you remove the computer.. then you have nothing.
    The TC is not a great place to store the itunes library for the following reasons.
    It is slow.. much slower than local hard disk.
    It is slow to spin up .. causing itunes issues with losing the library.
    It is fast to spin down.. so streams get lost.
    It has no backup.. and Time Machine cannot backup network drives. That means one day you will wake up.. TC will be dead.. (they do not last forever so this is 100% certain to happen).. And your library is gone. Apple offer no recovery service.. and it costs a small fortune to recover files.. without any guarantee of success.
    iphoto is even worse.. it is strongly recommended NOT TO USE NETWORK to locate the iphoto library. It corrupts easily and a small corruption makes the entire library unreadible.
    Since you have imac it is better to use an external drive for libraries.. use the fastest port available and you can afford.. ie Thunderbolt>USB3>FW800>USB2
    Only the very latest Macs have USB3 but it kills the earlier USB2 and Firewire. And for many people will be as fast as Thunderbolt which is the tops but uber expensive.
    Then the TC serves its correct function as TM backup.
    You can share this hard disk to the network if you want other computers to access it.
    You can store multiple iphoto or itunes libraries on it.
    Follow the specific instructions about sharing your itunes library.
    http://support.apple.com/kb/ht2688
    http://www.apple.com/au/support/itunes/library/
    And your iphoto
    http://support.apple.com/kb/HT1198
    Most of the rest is fine..
    1. Yes.
    2. Yes.
    4. Yes you can extend with the old TC. Ethernet would be better. You might be mixing up wireless extend with Roaming.. you can use roaming if you have ethernet already available.
    http://support.apple.com/kb/ht4260
    6. Yes.. you can use a number of units via ethernet as AP points.
    5. For another life??

  • How to save in time machine for multiple user on one iMac

    I have 3-users on my iMAC.
    How can I save to Time machine?
    Does it save all of files/changes when I save as Administrator?
    Please advise.

    No worries...Time Machine backs up all user profiles with few exceptions (see link below):
    http://pondini.org/TM/26.html

  • Why does getdate() function return same time value for multiple select statements executed sequentially

    When I run the following code
    set nocount on
    declare @i table(id int identity(1,1) primary key, sDate datetime)
    while((select count(*) from @i)<10000)
    begin
    insert into @i(sDate) select getdate()
    end
    select top 5 sDate, count(id) selectCalls
    from @i
    group by sDate
    order by count(id) desc
    I get the following results. 
    sDate                   selectCalls
    2014-07-30 14:50:27.510 406
    2014-07-30 14:50:27.527 274
    2014-07-30 14:50:27.540 219
    2014-07-30 14:50:27.557 195
    2014-07-30 14:50:27.573 170
    As you can see the select getdate() function returned same time up to the milisecon 406 time for the first date value.  This started happening when we moved our applications to a faster server with four processors.  Is this correct or am I
    going crazy?
    Please let me know
    Bilal

    Observe that adding 2 ms is accurate only with datetime2.  As noted above, datetime does not have ms resolution:
    set nocount on
    declare @d datetime, @i int, @d2 datetime2
    select @d = getdate(), @i = 0, @d2 = sysdatetime()
    while(@i<10)
    begin
    select @d2, @d, current_timestamp, getdate(), sysdatetime()
    select @d = dateadd(ms,2,@d), @i = @i+1, @d2=dateadd(ms,2,@d2)
    end
    2014-08-09 08:36:11.1700395 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1720395 2014-08-09 08:36:11.173 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1740395 2014-08-09 08:36:11.177 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1760395 2014-08-09 08:36:11.180 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1780395 2014-08-09 08:36:11.183 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1800395 2014-08-09 08:36:11.187 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    DATE/TIME functions:
    http://www.sqlusa.com/bestpractices/datetimeconversion/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Date and Time adjustments for multiple photos

    Hello, thanks for providing the space for new users, and thanks in advance for your assistance.
    I am currently moving out of apple aperture/iphoto and across to lightroom 5.
    The OCD part of me likes to have my library organized, and I noticed that when I transferred my library across it is in a bit of a mess, so I am currently in the process of organizing the library and cleaning it up (approximately 18000 photos)
    Any how, I have almost settled on a folder structure (YYYY/MM - I feel for the number of photos I have trying to nut down to day might be to much - happy to receive advise on this also)
    For the most part, the photos have correct date and time from the commencement of the digital era (for me 2006 onwards)
    Photos pre 2006 are in negative form, and I am currently in process of having these scanned and imported into library, I have a batch done every month.  Adjusting the date and time from the creation date is where I am running into trouble.
    I have looked around the web and various forums to no avail.
    Firstly, I organize the photos into the correct order.  I then select the first photo and the then select the remaining photos.  I then select the adjust date/time from the menu and select the first option, adjust to new date and time, lets say 01/01/1990 at 1200 PM.
    The result I end up with is the first photo (the more selected photo if correct term) has 01/01/1990 @ 1200 as date and time, the remaining have 01/01/1990 as date (if I am lucky), and the times jump all over the place.  Sometimes it wont even change the date time for the remaining photos.
    What I am trying to achieve is either the same Date/Time for all the photos when I select a batch, or have them increment in time by a standard amount (i.e 1 minute (1200/1201/1202) or 1 second (1200:00/1200:01/1200:02)), and I just dont seem to be able to work this out to automatically do this, currently I have to achieve this by a manual adjusting each photo (some 200 at a time) which is really labor intensive
    Thanks in advance, and hoping an easy solution
    Regards
    Dean

    Thanks, that seemed to fix the problem.
    Workflow is:
    1) In grid view arrange photos in correct order
    2) Rename photos with a name & sequence (i.e. photos-1), this appears to then keep the photos organized as how I had arranged in grid view
    3) Export photos & delete original photos from my master library
    4) Open exported photos in an EXIF editor and change date & time to a common format (I am currently using the seasons as a guide, i.e. the photos that I recall being taken in spring are dated the first day of spring, using noon as the time)
    5) Import back to Lightroom and organizing as per my usual structure.
    This has allowed me to easily batch change date and times, keeping the correct order and has drastically reduce my workload, thanks for the suggestion!

Maybe you are looking for