How can i segregate an array of clusters with channels id in the cluster

Hi All
i am using a keithley 2010 DMM for power measurements,
i am using the 2010 scan read VI which gives the reading output as an array of clusters, these clusters contain the measurement,units,channel.
i have 6 channels for measuring voltage across and i want to make 5 readings per second on each channel which makes upto 30 readings per second.
i want to segregate these clusters from the array according to the channel id and take the results,
please tell me if we have function for this or you have any possible solution for the same.
i would be very happy to hear from you and get this solved
please help
Thanks in advance
Sandeep K Shyam

yeah this looks great...thanks for your response,
i have modified accordingly and attaching the VI, can you please look into this once
also one more problem i have with this VI is whenever i am trying to run the VI, the  sub VI (Scan config.vi) gets popped up and waits for user response (next) cntrl+right arrow,  how can i get rid of this and run the VI in continues mode?
i am attaching my VI along with the kei2010 lib,
please check this
Thanks again
sandeep K shyam
Attachments:
sandeep-FinalKeithley20101.vi ‏822 KB
kei2010.llb ‏901 KB

Similar Messages

  • How do i send an array of clusters with variable size over TCP/IP?

    Hi,
            I'm trying to send an array of clusters with varible size over TCP/IP,. But I'm facing the following problems:
    1) I need to accept the size of array data from the user and increase the size dynamically.
    I'm doing this using the property node but how do I convey the new size to my TCP read?
    2) I need to wire an input to my 'bytes to read' of the TCP read.
    But the number of bytes to read changes dynamically
    How do I ensure  the correct number of bytes are read and reflected on the client side?
    3) Is there anyway I can use global varibles over a network such that their values are updated just as if they would on one computer?
     Will be a great help if someone posts a solution!
    Thank you...

    twilightfan wrote:
    Altenbach,
     ... xml string. ...number of columns that I'm varying using property node s... I solved these problems by using a local variable as the type input ...o TCP read is creating a problem.... second TCP read gets truncated data because
    its no longer just the first four bytes that specify the length of the data, it could be more as my array of cluster can be pretty huge.
    Instead of writing long and complicated sentences that make little sense, why don't you simply show us your code? 
    What does any of this have to do with xml strings???? I don't see how using a local variable as type input changes anything. The user cannot interact with "property nodes", just with controls. Please clarify. Once the array of clusters is flattened to a string you only have one size that describes the size of the data, no matter how huge it is (as long as it is within the limits of I32). Similarly, you read the string of that same defined length and form the array of clusters from it. How big are the strings? What is your definition of "huge"?
    Here's is my earlier code, but now dealing with an array of clusters. Not much of a change. Since you have columns, you want 2D. Add as many diensions you want, but make sure that the control, diagram constant, and indicator all match.
    The snipped shows for a 1D array, while the attached VI shows the same for a 2D array. Same difference.  
    Message Edited by altenbach on 01-31-2010 01:13 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FlattenArrayOfClusters.vi ‏12 KB
    ioclusters3MOD.png ‏25 KB

  • How can I have links within emails read with Seamonkey open on the default Firefox browser and not the Seamonkey browser?

    I use the SeaMonkey 2.0 mailer for my email client and Firefox 3.6 for my default browser. A link embedded in an email (read with SeaMonkey) opens the SeaMonkey browser and not Firefox. How can I have it open on Firefox?
    (SeaMonkey is not set up as the default browser and Firefox is.)

    See here
    *https://support.mozilla.org/en-US/kb/how-make-web-links-open-firefox-default

  • How can I share Quicken and other apps with another user on the same iMac?

    I would like to share some apps including Quicken with anoter user on the same iMac. I have put the Quicken app and the .QFX file in /usrs/share and changed the permissions to R/W on both files but when I log in as the other user and run Quicken it does not use the .QFX file and instead comes up with no accounts.

    The Quicken app. should be in the Applications folder at the root of Macintosh HD. It's accessible to all users from there.
    To share a file, (this from Finder Help menu)
    "Sharing files with others who use your computer
    You can share files with others who use your computer by placing the files in the Public folder in your home folder. Anyone with an account on your computer can read or copy the items you put in your Public folder (except for your Drop Box folder, which only you can open).
    To share files using your Public folder:
    Copy the files you want to share into your Public folder, inside your home folder.
    To give a copy of a file directly to another person, copy it to their Drop Box folder (inside their Public folder), where only they can see it."
    When opening a file just double-click the file - it will open the application automatically.

  • How can I set a symbol to hide with a code in the symbol?

    Hmmm... I will try to explain this question:
    I have my main timeline. It is the homepage of my website. The subsites are symbols filled with content. They are 100% of my composition and should overlay over my homepage.
    So when I click on the menu buttons on my homepage I can set the symbols (subpages, they are turned off, hidden) on and they will show and play. For that I am using this code:
    sym.$("mySymbol").show();
    sym.getSymbol("mySymbol").play(0);
    This works perfectly.
    So I actually looking for the code I put on a kind of closebutton. The closebutton jumps to the fade out transition. Then should close the compositsion - set it to hide. I am back on my homepage where I left it.
    I tried to put
    sym.$("mySymbol").hide();
    on a script in the timeline but that doesnt work. So can anybody tell me the right code?
    I searched a lot but couldnt find a solution.
    Thanks a lot for help!!!!

    There is also the possibility to use a variable but this might not be what you want.
    In this example you can play each page and use the close button to close the current page. If you try to play the other pages without closing the current, it will not work - only the close button with work to reset all the page's button to be able to play.
    Just try it:
    click a page button -It will play that page - now try to click the other page buttons - will not work.
    click the close button - it will close the current page.
    Now you can clck any page and it will play and so on.
    Example: https://app.box.com/s/bfg0lvy0spzwinefqzn7

  • How can i share my iphoto 11 library with another user on the same mac?

    hi
    i recently added a new user account for my wife on my macbook pro. now we want to share the existing iphoto 11 library, which is on my account, with the new user account. i'm using os x lion.
    many thanks!
    davide from sitzerland

    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • How can I tell if my problem is with iPhoto or if the SD card ?

    I'm trying to import photos from an SD card, and when I attach my camera (or insert the SD card - I've tried both ways),  iPhoto shows me thumbnails of the pictures, and tells me they are already imported.  But when I disconnect my camera, the photos aren't in iPhoto.  If I click on "Import Photos" nothing happens, although I get a message telling me to wait until the photos have finished importing, if I try to close iPhoto. 
    Is there a way to tell if my problem is with iPhoto, my iMac, or the SD card?

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?
    Post back with the result.

  • Suddenly some bookmark folders do not open anymore when I go under "bookmarks" if I use them in the sidebar it works. How can I fix this, it is only with 2 folders, all the other work fine.

    I have created several bookmark folders and everything has worked fine until recently. Suddenly 2 folders do not open anymore when you hover the mouse over the folder.
    If I have the bookmarks in the sidebar everything works fine.

    -> click '''Firefox''' button and click '''Exit'''
    Start Firefox in Safe Mode by Holding down the '''Option''' key while starting your Mozilla application.
    As an alternate method, go to Utilities (in the Applications folder) and open Terminal, then run:
    /Applications/Firefox.app/Contents/MacOS/firefox-bin -safe-mode
    -> Firefox Safe Mode window will appear. DON'T SELECT ANY OPTIONS, just click '''Continue in Safe Mode'''
    Firefox will open up with just basic Firefox. Check and tell if its working while you are in Safe Mode.

  • How can I synchronize my iTunes on PC with my iPod on the iPad?

    Hi all,
    I do have problems to synchronize my mp3 files which I do have on my pc with my ipad2. iTunes is already installed on the PC (and the mp3 files are already included there). iPad2 2 is connected with the pc. Nevertheless I am not able to shift the mp3 files to the iPad2. What am I doing wrong?
    Best regards
    Thomsusl

    You need to use an IMAP set-up, and not POP. Go to your email provider and find out if they support IMAP.

  • Array of Clusters with Graph - Y Scale Change Event

    Hello everyone
    I have a Array of Clusters with a Graph inside each cluster. I need to trigger a event when the user type a new value on the graphs' Y scale and hit "Enter" to apply the change. Any ideas how to trigger that?
    I am not considering the "mouse enter" event because I have other events linked with that already.
    Thanks
    Dan07
    Solved!
    Go to Solution.

    dan07 wrote:
    I think that I was not clear. Sorry. Lets thing about two arrays of clusters with graphs: Array of clusters 1 and Array of clusters 2. Both of them have their own graphs insides the clusters.
    I want to do the same thing that you told me to do, but with two arrays of clusters instead of one. Changing the scale range of any graph of array of cluster 1 will trigger case A of event structure (just an example), and changing the scale range of any graph of array of clusters 2 will trigger case B of event structure (just an example again).
    Then try the following. Dynamic Event Registration nodes are expandable:
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • How can I create a new Care Plan with one or more care tasks

    Hello,
    I'm working on a Dutch website in the HealthVault Environment. I got difficulties in creating and updating a careplan with care tasks. Most likely it's due to lack of knowledge...
    Following code works fine:
    CarePlan plan = new CarePlan();
    plan.Name = "test";
    this.PersonInfo.SelectedRecord.NewItem(plan);
    It creates a plan called [test]. But I don't know how to create a plan with one or more tasks in it: the tasks property is read only.
    https://msdn.microsoft.com/en-us/library/microsoft.health.itemtypes.careplan.tasks.aspx
    Half a year ago I was able to add an example of a careplan, which was a feature of the dev tools, but for some reason that's not possible anymore.
    https://developer.healthvault.com/DataTypes/Overview?TypeId=415c95e0-0533-4d9c-ac73-91dc5031186c
    So my question is, how can I add a new care plan with a task like the example from the HealthVault dev tools:
    <tasks>
    <task>
    <name>
    <text>Run 100 miles</text>
    </name>
    <description>Run 100 miles in 6 months</description>
    <start-date>
    <structured>
    <date>
    <y>2013</y>
    <m>12</m>
    <d>1</d>
    </date>
    </structured>
    </start-date>
    <end-date>
    <structured>
    <date>
    <y>2014</y>
    <m>6</m>
    <d>1</d>
    </date>
    </structured>
    </end-date>
    <target-completion-date>
    <structured>
    <date>
    <y>2014</y>
    <m>12</m>
    <d>31</d>
    </date>
    </structured>
    </target-completion-date>
    <sequence-number>279128532</sequence-number>
    <recurrence>
    <interval>
    <text>Once</text>
    </interval>
    <times-in-interval>10</times-in-interval>
    </recurrence>
    <reference-id>p01vil21ckg7k2346y1g60337mmi20sg564l321l8pmpqev39n302572sewu76lh9019s3993e02924</reference-id>
    </task>
    </tasks>
    Any help is welcome 
    Wilfred

    Hi Wilfred,
    Have you tried this?
    CarePlan plan = new CarePlan();
    plan.Name = "test";
    plan.Tasks.Add(someTask) 
    If you have a task list already, you would need to enumerate through it and add one by one...
    foreach (var task in existingList)
        plan.Tasks.Add(task)

  • How can I download and view a pdf with iphone?

    How can I download and view a pdf with iphone?

    If the PDF is an email attachment, you can view it by tapping on the attachment icon while you are viewing the email message. Another option is to set up a dropbox account and then use a computer to drop the PDF into your account. Install the iOS dropbox app and you can view PDFs there that way.

  • How can I convert an array off byte into an Object ?

    Hi folks...
    I�m developing an application that comunicates a PDA and a computer via Wi-Fi. I�m using a DataStream ( Input and Output ) to receive / send information from / to the computer. Most off the data received from him is in the byte[] type...
    How can I convert an array off byte ( byte[] ) into an Object using MIDP 2.0 / CLDC 1.1 ?
    I found on the web 2 functions that made this... but it uses a ObjectOutputStream and ObjectInputStream classes that is not provided by the J2ME plataform...
    How can I do this ?
    Waiting answers
    Rodrigo Kerkhoff

    There are no ObjectOutputStream and ObjectInputStream classes in CLDC. You must know what you are writing to and reading from the DataStream. You should write the primitives like int, String to the DataOutputstream at one end and read those in exactly the same sequence at the outher end using readInt(), readUTF() methods.

  • How can I use my array in another method.... Or better yet, what's wrong?

    I guess I'll show you what I am trying to do rather and then explain it
    public class arraycalc
    int[] dog;
    public void arraycalc()
    dog = new int[2];
    public void setSize(int size)
    dog[1] = size;
    public int getSize()
    return dog[1];
    This gives me a null pointer exception...
    How can I use my array from other methods?

    You have to make the array static. :)
    Although I must admit, this is rather bad usage. What you want to do is use an object constructor to make this class an object type, and then create the array in your main class using this type, and then call the methods from this class to modify your array. Creating the array inside the other method leads to a whole bunch of other stuff that's ... well, bad. :)
    Another thing: Because you're creating your array inside this class and you want to call your array from another class, you need to make the array static; to make it static, you must make your methods static. And according to my most ingenious computer science teacher, STATIC METHODS SUCK. :D
    So, if you want to stick with your layout, it would look like:
    public class arraycalc
         static int[] dog;
         public static void arraycalc()
              dog = new int[2];
         public static void setSize(int size)
              dog[1] = size;
         public static int getSize()
              return dog[1];
    }But I must warn you, that is absolutely horrible code, and you shouldn't use it. In fact, I don't even know why I posted it.
    You should definitely read up on OOP, as this problem would be better solved by creating a new object type.

  • Is it possible to/how can I create an array of arrays in Labview 6i?

    I am trying to create a data structure based on a tree where each limb is an array of arrays and each of those arrays is an array of arrays...etc. My ultimate purpose of this is for multidimensional (infinite) data saving/data recovery.

    I suspect it won't work for your intended application, but here is an answer to your question:
    You can't create an array of arrays, because that would be the same as increasing the number of dimensions of the array. However, you can store an array in a cluster, then have an array of clusters with arrays in them. So, indirectly it is possible. This gives you the possibility of each array being a different size.
    Bruce
    Bruce Ammons
    Ammons Engineering

Maybe you are looking for

  • Regarding Selection Screen

    Hi All, I have a requirment that: I need to refresh my selection screen at every time i selected back button. Following fields are maintained in selection screen. PARAMETERS     pc_chgno TYPE ZTB1 OBLIGATORY MEMORY ID zbc_change_number. PARAMETERS   

  • HOW TO REVIEW STATSPACK REPORT

    dear all i have sucessfully done with statspack i know how to analyse with 1.Instance Efficiency Percentages (Target 100%) 2.Top 5 Timed Events 3. Buffer Gets Executions Gets per Exec %Total Time 4.tablespace but i want to explore more on statspack p

  • Anyone smart enough out there to answer this?

    Hey I can NEVER get through to the right dept in Apple to get an answer to my question, so hopefully someone can help, here goes. OK I have DSL at my house, I just have one modem at the house for my PC laptop, just standard, not wireless. The problem

  • Multiple receiver without condition

    hi,   I hava a scenario of multiple receiver without the condition. I used 2 send step but i don't find any parameters in send step to specify the receiver channel in send step. Please let me know whether to specify it. regards, Dhil

  • An error occured while trying to copy the needed DB driver jar files

    When I try to run my web app, I see this error in the Output window. Creator will also put up a window essentially saying that I don't have a particular data source. But I do have that very data source there. The error seems to be pointing to this li