Collection of data from more than an instrument via the same labVIEW program

Hello

I have a program whereby I collect data on a scale of and save the data in the text file. Now, I need to collect data of three identical scales and save the data. I wonder if it is possible to do so in the same program? I mean how to manage three ports and save three different text files?

I enclose the current program. Communication with the scale series and I use VI:s. thanks in advance for the help = VISA)

This is easily possible with a single program, and there are several ways to do so.  I recommend the following:

  1. Take data from these devices in a separate loop (this could be in a separate - VI, as well).  These loops should be state machines if you can start and stop the acquisitions in a clean way.  This assumes that the instruments are on separate ports.  If they are on the same port, you probably want to use the same loop.

  2. Write to the file in a single loop.  This, too, should be a state machine.

  3. Queues to send data from the acquisition of loops to the loop of file I/O.

  4. Use still another loop for your user interface.  It must contain a structure of the event.

To do this, you will need to learn more about the State machines and producer/consumer architectures.  Start with the help of LabVIEW, then search these forums.  There are a multitude of implementations of State machines and producer/consumer architectures.  If you have the time, I highly recommend you learn and to use the classes in LabVIEW (requires LabVIEW 8.2 or later).  This will facilitate your work in the long term.

Let us know if you encounter any problems...

Tags: NI Software

Similar Questions

  • Why am getting started on the internet with the message saying that more than one computer using the same ip address

    am is started from the internet for 3 days pass with the message saying that more than one computer using the same ip address

    am is started from the internet for 3 days pass with the message saying that more than one computer using the same ip address

    Thatmessage normally means a another computer on your local network has the same IP as the computer you are on.

    You control your Local network?

  • Drag more than one MC at the same time

    Hi Eo,

    I need to drag more than one Mc at the time:

    n.b.: emc2 is an mc on the main timeline. This code is in a nested MC.

    Prnt: MovieClip = this.parent as Movieclip;

    function drag(e:MouseEvent):void {}
    If ((e.type == "mouseDown") & & (GlobalVar.stat == 'clicked')) {}
    this.startDrag ();
    Prnt.EMC2.StartDrag ();
    }
    If ((e.type == "mouseUp") & & (GlobalVar.stat == 'clicked')) {}
    this.stopDrag ();

    Prnt.EMC2.stopDrag ();
    GlobalVar.drag = false;
    }
    }

    This.startDrag () stop to work when I add prnt.emc2.startDrag ()...

    Why?

    The documents help explain it as follows: "the sprite remains draggable until the Decree of way explicit through a call to the.

    Sprite.stopDrag()method, or until another sprite made draggable. What a sprite is draggable at the time. "

  • How to get the data from more than 100 domains in bulk API V2.0?

    Hi all

    I try to get data from Eloqua by APIs in bulk because of big data.

    But my Contact 186 fields (more than the majority of export limitation 100). I think I need to get all the data by 2 exports.

    How could I corresponds to 2 parts of a line and join together?

    I'm afraid that any change of data between 2 relative to exports 2 synchronizations would make different order.

    FOR EXAMPLE:

    1. any document is deleted or modified (if it matches do not filter) after obtaining data of the first part and before getting the second part, then everyone behind it would have back in part result.

    2. the data in some fields (included in both parts) are changed between the 2 synchronizations, then the values of the second part are more recent but the values of the first part are old.

    All suggestions should.

    Thank you

    Biao

    bhuang -

    I don't know that you ever go to work around the fact that things will change in your database while you are synchronizing the data. You have to have a way to create exceptions on the side of the synchronization.

    If I pushed Eloqua data to a different database and had to contend with the problem of matches change while I'm syncing, I would create a few additional columns in my database to track the status of synchronization for this folder. Or create another small table to track the data map. Here's how I'd do.

    1. I would have two additional columns: 'mapped fields 1' and '2 fields' mapped. They would be all two datetime fields.
    2. I would do only one set of synchronization both. First of all, synchronize all records for email + 99 fields. Do the entire list. For each batch, the datetime value of the lot in 'mapped fields 1' column.
    3. I would then synchronize all folders of email + other 86 fields. Repeat the entire list. For this batch of the datetime value of each batch in their 'mapped the 2 fields' column to now().
    4. For all records that had only 'mapped fields filled, 1' but' fields mapped 2' was empty, I would be re - run the second query Eloqua API using e-mail as the search value. If no results were returned, I would remove the line. Otherwise, update and the value 'mapped fields in 2' now
    5. For all the records that were only "fields mapped 2', I re - run against the first email query API Eloqua, fill in the missing data and define 'mapped the fields of 1' of the current datetime object." If the record has not returned, remove the line because it is probably not in the search longer.
    6. Finally, the value 'mapped fields 1' and 'mapped 2 fields' empty for all records, since you know that data is synchronized. This will allow you to use the same logic above on your next synchronization.

    Who is? It is not super clean, but it will do the job, unless your synchronizations take a ridiculous amount of time and your great data changes often.

  • Can I enable CC on more than two computers at the same time?

    See what adobe is always allow two computers active simultaneously?

    This is a subscription service and, while we're technically downloading the software, we don't really "own" it as it can be 'locked' if we go over our activations.  From what I've seen in many forums both in and out of Adobe, three computers seems to be the standard of what I see if I beg the question...

    What is the problem with allowing only TWO computers active being allowed to run the software at any time?


    And then I imagine that, logically, there is a problem if I wanted to use CC on a mobile device, but also my computers?

    With a music subscription service, once the music unsubscribe disappears and everything is fine - and I can access from multiple devices.  So why is Adobe being so restrictive with PS and LR (and CC in General)?  It seems rather strange that if I want to access PS/LR on a single machine, LR on the other and the first on a third, then I cannot, although there is never more than two instances of any single software used is THREE subscriptions - but it is yet another issue.

    If it can't get it fixed, maybe I should just watch Pixelmator and without having to worry about this.

    Please... give an overview.

    the only possible limitations are:

    1. you can use more than one activation of cc at any moment.  That is to say, you can use one computer at a time.  (not much of a limitation, IMO.)

    2. you must disconnect (your other connected computers) before the signature of the component snap on a 3rd, 4th etc. computer.  Once again, no downside unless you didn't have internet access to important moments and for long periods of time for the computer or computers that you need to connect.

  • Make my MXF project format MXF spews on more than 25 copies of the same file: different sizes?

    When making my MXF project format MXF spews on a ton of makes MXF the same file: different sizes?

    The reason I want to make an another MXF is in the first place, because when I go directly to the project with all the various effects, Magic Bullet Looks, etc, etc.

    in another format, there are always problems.

    Therefore, I have not choice but to descend a generation to gather footage and made an exact copy of what is in the project to the MXF format before I make an MPEG or a H.264.

    The size of my project is more than 100 GB...

    In any case, my most likely choice is to go with the file with most gigabytes. As I say... He spits the different sizes.

    Is there a way to stop the rendering to spit on a ton of MXF files and streamline all in MXF format?

    I searched and searched the Internet for the answer and have checked the forums without success.

    The other thing that concerns me is that a project of more than 100 gigabytes becomes a 3.4 GB file to a 97-minute film. (It also makes a MXF to 1.5 Gig size. Everything is exactly the same thing on this record as far as I know, the rendering of Gigabyte 3.4) that she return 25 to 3.4 GB MXF files. (It's also take up a ton of space on my drive hard whenever I visit)

    It doesn't seem wise because when I visited about 8 minutes from the beginning of the film, he made a 2.9 Gigabyte file contrast with Gigbyte 3.4 file for the entire film.

    Somehow, I think that I can get the same quality when rendering the entire production.

    In addition, it takes more than 5 hours to make a MXF and I feel if it was just on 1 file, such as difference in more than 25 of the exact same rendering MXF files, rendering time would be faster and more efficient.

    Any help or explanations would be appreciated...

    Thank you

    James

    P.S. I deleted a whole bunch of MXF files to make, believeing that they were all duplicates. Of course, they were not, because the one I saved, I put in first to check and it displays only one segment of the film. Therefore, I think that all of the MXF should be connected and when you transfer one in, full MXF is displayed, however... If you delete everything except a MXF thought they are all duplicates, you only this segment of production. Seems to work quite the way to crazy? lol that sounds too wise in what concerns the gigabytes. However, first give the properties for that 1 file that you are importing, even if it is connected to all the other files. Projects likely to be total MXF gigabytes. Because I deleted all the files except one, I'm re - make everything. I'll let him place in case someone else runs into the same situation, I am sure someone will... lol

    the effects were interfering with a good record.

    It's probably not the right explanation.  Many export (which is different a rendering, take note of that) their projects directly from the sequence, effects and everything and get perfectly workable results.  In fact, I would say more that everybody does things like that.  I use MB effects for years, and yes it's hard reading.  But export always out just fine even on my system of $800.

    While your exports come out wobbly, it would probably be to fix it the problem to be solved.  But I would probably start looking for somewhere other than the effects.  Only those should not create the issue you described.

  • Please, I wonder if I can subscribe to more than one accout on the same desktop sync? I mean are we to multiple users to the same office, so we need some personal information.

    I and my siblings use the same office, so it is necessary to subscribe for more than a single sync account, and I don't know how. Thank you

    If each of you have a separate Windows account, then all of you automatically have a separate Firefox profile.

    If you use the same Windows account (not much privacy in this case), then you will need to create a separate profile for each of you and a shortcut on the desktop to start each profile.

  • The monitoring of WVC54GCA camera (more than 9 cameras at the same time) software

    You can view more than 9 cameras simultaneously using WVC54GCA cameras? Software current not allows for up to 9 cameras

    Y at - it other software out there?

    Thank you

    Mario

    It is link 4U with LinksysONE

  • Cannot have more than one item at the same time

    Hello

    I have a WRT110. I have two laptops wireless and a wireless on a network printer. Whenever I turn on more than one thing, it's my connection drop. Example, I have my laptop and if I want to print something, I turn on the printer and bam, I lost my wireless connection. What I am doing wrong? Its to the point where if my husband is online and I turn on my Ipod it connect to internet and my husband ends. We continue to have to reset the router and the modem. Any help would be greatly appreciated!

    On all the computers in Win 7 disable IPv6 under properties cable adapters and wireless LAN.  Restart the computers.

    In the router, turn off UPnP, under settings wireless Beacon interval 75, RTS and Fragmentation threshold to 2304.  Save the settings.  Now connect again and test it.

  • Rename more than one printer on the same network wireless

    I use a HP Officejet Pro 8500 a Premium. We have more than one printer in our office who will use the same WiFi.

    However, it is difficult for the end user to understand on which printer to use as they both are the same except for a random string at the end. We cannot find any rename them so that they can appear with a location. Is this possible?

    Note: I use Mac OS X (Lion) (Hello). I found the 'active' name, but this does not seem to post anywhere. I am limited to the web browser interface, because there is no full software for OS X Lion still.

    Thanks for the reply. This solution renames ONLY for the current user as this information is stored on the local computer.

    However, I found the solution!

    Via the Web Interface, go to the network and then select Hello in the menu on the right. You can then rename the printer to everything you love.

    While you're there, go to Internet Printing Protocol and change these settings for windows machines. Also, click the host name and change the host name so that it might be better in a windows workgroup.

  • LKM to move data from one schema to another in the same DB

    Hello

    I am new to ODI. My question is simple:

    I created a mapping to move data from a table in Figure 1 to another table in Figure 2 (the two schemas in the same Oracle DB.

    What is the best LKM Oracle for performance to use in this case? Most of the LKMs using DB link... but is it really necessary that the two schemas are in the same DB?

    Ive used SQL knowledge SQL module, but I guess it's probably slower strategy.

    Thank you!

    Vitor Moreira

    Hello

    If two phyiscal patterns are on the same database, you want a Phyiscal server with two patterns of phyiscal under this server in your topology, this way ODI will recognize that you don't need a LKM (at all) and mapping will have to IKM / CKM only.

    If ODI is to ask a LKM, looks like the two schemas to belong to their own physical server in the topology browser? In this case, it is not optimal.

    Just make sure that your user has access to two objects in diagrams and you'll be fine.

    If you really want to go Oracle DB Oracle DB then DB link or Datapump for large volumes of data, JDBC/Agent (SQL for SQL) for smaller volumes.

  • How to use more than one address at the same time?

    The Adobe server page that allows entry of a recipients address should not inform users how to add another address?  We separate them by semicolons? Commas?  Or is it still possible to use more than one address?

    Hi orison123,

    You talk about Adobe send? If Yes, you are absolutely right. Who should be written somewhere I had to double check and was able to send to multiple email addresses separated by commas or semicolons.

    Best,

    Sara

  • I can't see more than one file at the same time

    When I try to open two files to compare the text or images, Acrobat Reader DC show me only the selected file, I see not two or more files at the same time.

    The menu of Windows on the Acrobat CD player it has a cascade option, but it does not work.

    This function is necessary to compare the documents.

    I have 10 windows, if anyone knows the solution share here, thanks

    Hi jorgef62,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> General-> uncheck "open documents as tabs in the same window.

    Reboot your system.

    Let me know if it solves your problem.

    Kind regards
    Nicos

  • can I load the creative cloud on more than one computer for the same price.  I would like to put on our other computer.

    I have the creative cloud on my laptop, but find I would like to have on my desk where there is more room.  I can load it on a second computer for the same price and if so, how do I change the email address to download?

    Hello

    Creative desktop cloud applications can be downloaded and installed on multiple computers, regardless of the operating system. However, the activation is limited to two machines per person associated with membership. See terms of use for more information. Learn how to turn off a Creative License on a cloud machine.

    You can download creative cloud under the following link: -.

    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

  • How to hide/show a field based on the data from more than 1 field?

    Hello.

    I'm trying to hide/show a based on the data of field2 and field3, Field1

    in fact using dynamic measurements I can only hide/show Field1 Field2-based, but I need a combination, for example:

    If field1 = 'A' and field2 = 'B', then see the field3, other hide field3

    y at - it an easy way to do it.

    I use Application Express 4.2.4.00.08

    Thanks in advance

    Dynamic action

    On the changes

    jQuery selector: #P1_ITEM_1, #P1_ITEM_2

    Condition: JavaScript

    $v ('P1_ITEM_1') == 'A' & $v ('P1_ITEM_2') == 'B '.

    Real Action: show item 3

    Action of false: hide item 3

Maybe you are looking for