Can you have multiple nested DAQmx writing VI?

Hello everyone. I'm pretty new to Labview and am trying to find the best way to manage several instructions 'if' using a table of clusters and outputing to the various pins on a data acquisition module. Going to work to have a dozen DAQmx live write in the nested case statements, or will it cause errors?

The goal is to take the entries by the out of control and front panel based on schedules and user input values. Any suggestion would be appreciated.

I thank very you much in advance!

James

Of course, you can have several writing VI DAQmx.

Here is a tip that will save programming time you:

The Index Array feature is re-sizable!  You don't need to break a wire table and 4 tables to Index and thread of the constants for each of them to get the individual items.  Just drop a, and then drag the bottom of the knot to the bottom until you get 4 outputs.  By default, they start at 0 and increment by 1 when you get off.  You will get the elements 0, 1, 2, and 3 without having to associate the constants to the index entry.

I also recommend that, instead to use local variables, you keep the table of boolean in a thread that runs through all cases in a shift register.  Just replace the item array for any element of the array you are editing in a particular case.

I have also modeled the code, you have no need for dozens of instructions box nested.  For example, you have one ON and OFF cases in one of the nests.  I'm assuming that the only difference is that you are wiring is real or fake.  Wiring just the Boolean value.  Various other code is duplicated between each case.  The same for the upper levels of the nest.  If you write to the acquisition of data in all cases, who move outside the structure of the case and just control what Boolean values to change the Interior structures of the case.

Tags: NI Software

Similar Questions

  • Can you have multiple packages in a source code file, or you have several files?

    Can you have multiple packages in a source code file, or you have several files?

    ExampleClass must be saved in a directory as well as your main fla.

    This directory must have a subdirectory named samples containing SampleCode.

  • Can you have multiple forms of contact in a single site of Muse?

    I have a site created in the Muse who need to use multiple forms of contact of a sort.  One is a simple contact form.  Other two are sign up forms. In two of the three forms, I have to separate the first and last names.  Also in people there are several custom fields and Message fields.

    The original simple contact form works very well and has been.  However, I modified a page by adding a second form, the first of these two forms of registration.  She was beautiful in Muse, but when the downloaded from the site, all fields have disappeared, leaving only the labels in a single paragraph.

    Is this to say that I can't have contact multiple forms in a single site?  If I can, then what might have caused the problem?  And what would suggest you for me to try to fix it?

    Thank you

    Laura

    Blog and sign is outside what Muse is built for, but there are two basic alternatives:

    1. let Business Catalyst handle them with a marketing plan or

    2 Wordpress blog and point to him with an iframe or have your bar manu go IE host it off-site.

    Have fun mate!

  • Can I have multiple records of ra_interface_distributions_all against a ra_interface_lines_all record?

    Hello!

    Can I have multiple records of ra_interface_distributions_all against a ra_interface_lines_all record?

    Thank you.

    I was able to create multiple lines of distribution for a command line. Just ensure that the total amount or the total percentage of distribution lines is equal to the amount of the line or per cent = 100. You use either amount or percentage based on what is found on the source of the transaction-> account assignment of revenues.

  • I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    Hi sindres79946597,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> General-> uncheck "Open Documents in the new tab in the same window.

    Now, reboot your system, when you open multiple PDFs that all will open in a new window so that you can easily compare.

    Kind regards
    Nicos

  • How can you affect multiple windows open at the same time

    How can you affect multiple windows open at the same time

    You can not.  Only a calendar can have several windows.

  • can you have a version of CS and several version of the software installed for example Lightroom CC both?

    can you have a version of CS and several version of the software installed for example Lightroom CC both?

    Yes, you can have multiple versions installed.

    Please see this link:

    Download previous versions of Adobe Creative applications-

    Download previous versions of Cloud Creative applications

    You can have both CC and CS6 installed through creative cloud. You can also leave the old purchased software installed.

  • You have to have a pro to use the pencil of the apple iPad, or can you have a regular iPad?

    You have to have an iPad Air to use the pencil of the Apple, or can you have a regular iPad?

    The pencil to Apple does not work with iPad Air. It only works with the iPad Pro. -AJ

  • Can you have two tunes i going on a Tablet

    Can you have two iTunes accounts on a tablet.

    An iPad is a unique device - only one account can be registered both in shops (and iCloud, iMessages etc.)

  • Can you have notifications to both your iPhone and your Apple Watch?

    Can you have notifications to both your iPhone and your Apple Watch? It's a problem for me if I am away from my iPhone and my Apple Watch does not receive the notification.

    Hello

    How notifications behave depends on the State of your devices. In order to provide notifications to your attention as soon as possible:

    -If your iPhone is unlocked, you will receive notifications on your iPhone instead of on your watch.

    -If your iPhone is locked or asleep and that your watch is unlocked and on your wrist, you will receive notifications on your watch.

    -If your watch is locked or allowed to do not disturb, notifications will be sent to your iPhone.

    About notifications on your Apple Watch - Apple Support

    You can see that if you turn off your wrist detection (on your iPhone, in the application of the watch, go to: Watch My > General > wrist detection) it will make all notification alerts to be delivered to both devices. However, you will not then be able to benefit from features including Apple pay and one unblock after placing the watch on your wrist.

    If you want Apple to consider adding an option for notifications to be delivered for both devices regardless of the other settings, you can suggest to Apple here:

    https://www.Apple.com/feedback/watch.html

  • Can you have windows load from USB?

    Originakl title: USB to load Windows?

    Can you have windows load from USB because I received a laptop without the dvd disc and I was wondering if you can load the USB Windows operating system?

    See http://www.microsoftstore.com/store/msusa/html/pbPage.Help_Win7_usbdvd_dwnTool.

    You can install, but does not work, Windows 7 from a USB key.  A DVD USB drive also lets you install Windows 7.
  • Can you have CC installed on 2 computers AND have the app on your phone?

    Can you have CC installed on 2 computers AND have the app on your phone?

    Hello

    You can have the creative cloud installed and signed in on two computers as long as you don't use it on one at a time. Download and install as you did on the first computer, sign in to your Adobe account on the Adobe using your Adobe ID website, download the desktop app from clouds, then download the software. Sign on a computer that should not be used: log in and log out of the desktop Adobe Creative Cloud application

    You can have various applications of creative cloud on your phone as well:-Adobe mobile, iPhone, iPad, Android apps | Adobe Creative Cloud

  • Can you have CC Lightroom on a desktop and laptop

    Can you have CC Lightroom on a desktop and laptop and use only 1 at a time? I get a saying that I only get functions limited on my laptop.

    Hello

    Creative cloud apps can be installed on Win, Mac, computer laptop desktop or both.

    On your laptop it gives you an error that it runs with the limited functionality so it could run as a trial.

    Please refer to the following links and see:

    Connect and disconnect activate Cloud Creative applications

    Applications creative Cloud back in test mode after an update until 2015 for CC

    Let us know if this help.

    Kind regards

    Bani

  • Can you have two different fonts related to adobe software?

    Can you have two different fonts related to adobe software?

    I have a folder of fonts on my computer and the other is located on one drive 3 another computer that can connect to... Is this possible?

    Thank you!!

    Nope, in order to have the first see the fonts they need to be installed in the operating system.

  • Can you have folders in you folder of images and the images are visible?

    Can you have records in your image folder and the images still be seen? I have a graphic file with images and they can be seen on the site, however if I insert files in the pictures folder, the images are not displayed, are what I did or is not possible with dreamweaver?

    I.e. graphic > pendants > outdoor shots.

    Inside or the other of the two last records images do not appear on my site!

    Images can be shown no matter where they are in your site. The only downside is that you have a working image link.

    For example, Graphic/Pendants/Exteriors_Shots/myImage.png note underscore in the path. This is because many browsers interpret too much space. This means that your subdirectory should be renamed accordingly.

Maybe you are looking for

  • I can rearrange the icons in the dock?

    I would like to rearrange the icons in the dock on my iMac for my preferences

  • Satellite Pro U300 Expansion Chassis problem

    Hello fellow users. I am trying to use an expresscard with my satellite pro expansion chassis. Problem is that in Device Manager, I am getting error code 12 for PCI bridges in the chassis and the error code 31 for the PCI bridge on the card I want to

  • Why not a contact on my iPhone displayed in iCloud?

    I have the iPhone 5. A single contact, among hundreds, on my iPhone refuse to appear on the iCloud. All other contacts are very good. What would cause this a touch of get not synchronized to iCloud. I am access iCloud through Safari on the Net. In se

  • How to copy the list of sites allowed in the handler access to another PC?

    I have set up a pc using Access Manager and do it properly, which allows that the sites I approved.  I would like to copy this list on other PC and I was wondering if there is a way to do it?

  • More than 15 lines in a report

    HelloI use a report and you want to display more than 15 rows without using pagination. I already tried to increase the number of lines of 15 to a higher value, but I does not work.And is there a way to avoid to reload the entire page after clicking