About virtual channel in different device and/or different type channel

Hi all,
  I am looking for a way to write to several analog channels at the same time. In my code, I didnt' pay much attention to that, I just have them placed in the the same frame in the flat sequence such that they might be started to write simultaneously. However, sometimes they might not working perfectly. I am reading something on DAQmx and I found that there is something call virtual channel so I have put more than 1 channel into a unit (called virtual cahnnel), so I can write something to it at the same time. Here are my question
1) what's the different between virtual channel and channel group? If I write a array of 3 elements to a channel group (consists of dev1/ao1, dev1/ao2 and dev1/ao5),  am I writing to channel group or virtual channel?
2) can I bind different channels from different devices to form a virtual channel, e.g. dev0/ao0 dev1/ao0 dev2/ao0?
3) can I bind different type of channel to form a virtual channel, e.g. dev0/ao0, dev0/port0/line0?
4) last question is about synchronization on writing to a virtual channel (or channel group?) Last say I have a pulse train each pulse is separated in time by 1.2ms and total time is 122.4ms. The pulse train will be sent to dev0/ao3, and at 12ms after start send very first pulse of the train, I need to write two analog signal to dev1/ao1 and dev1/ao5. In my current code, create a flat sequence, start the task for sending the train in the first frame, put delay in second frame and delay for 12ms, write dev1/ao1 and dev1/ao5 in the third frame. For some times, this gives me acceptable timing but not always. I wonder how does it help to use virtual channel?
In the similar situtation, what about if instead of writing to two analog channel, I write to one analog channel and one digital channel?
Thanks.

1) virtual channel is created per task and contains a collection of settings such as a name, a physical channel, input terminal connections, the type of measurement or generation, and can include scaling information.. A virtual group is specific to digital IO and has to deal with the way you read/write data off/to the port
2) yes you can create a task with physical channels from multiple devices assuming they are comparable writes (ie all analog or all analog read, or all digital) but they will have the same channel characteristics (see answer above)
3) no you cannot create a task that handle an AO and a DO from with in the same task
4) if you created a task you are using a virtual channel. The only way to ensure timing is to use hardware timing (ie onboard sample clock of you DAQ card) otherwise the reads/writes are basically interrupts and you are at the mercy of the OS to service the interrupt request
if you need more information please repost with more questions, include your DAQ hardware, and any code pictures to give us a better idea of what you are trying to accomplish and how you are going about it
Applications/Systems/Test
National Instruments | AWR Group

Similar Messages

  • Can two people share the same Apple ID on two different iPhones and maintain different passwords?  Yes, there is more to the story.

    I have an iMac, and iPhone.  I've had my Apple ID for a few years. 
    My wife got an iPhone 4S a few months back and the salesperson at Verizon set her Apple ID the same as mine, but gave her a different password.  I don't know if this was ok, but that is what happened.
    So, yesterday, we both upgraded to IOS6 and I had no problem logging in to my iPhone with my Apple ID.  When my wife went to log in, she was told that she was entering the wrong password. We entered the password over and over again and still was wrong.
    The question is... can two people share the same Apple ID on two different iPhones and maintain different passwords?  (I have the feeling her iPhone is thinking that since it's my Apple ID, it wants my password.)
    If not, can I still set up a new Apple ID for her even through she's had the iPhone for a few months?
    Thanks.

    Hi
    You shold follow your feelings, its probably right most of the time.
    You can have 5 different devices hucked upp to one Apple ID. What I have done is that my wife and I have one Apple ID, when I bye a new app on my phone, She gets it to. Thats nice.
    You can allways set upp a new Apple ID for your wife.

  • Syncing on 2 different computors and 2 different itunes?

    OK, I have 2 different Laptops and 2 different i tunes libraries. How can I sync both libraries on my nano. Every time I hook up to my other laptop it gives me a warning that all previous songs will be erased.I have made purchases on one of my laptops and I'm not sure if or how I can transfer to my other laptop?

    Click here and follow the instructions.
    (35378)

  • Can I have the same Apple ID on 3 devices and have different Game Centre accounts ?

    Please help

    Sign into Game Center on the devices under a different Apple ID. If it is already signed into another account, I think you can go into settings and change it.

  • HT3406 when using my old iphone as a itouch how do i get itunes to recognize as a different device and not the new phone?

    When using my old iphone4 as an itouch - how do i get itunes to recognize as a new and seperate device

    You don't need to do anything. iTunes will automatically recognise different devices as different devices. Just plug it in.
    You can rename the device by clicking the name in the side panel in iTunes for your own identification purposes, but this name does not matter to iTunes.

  • Sharing apps on different devices and computers

    Hi - I am not sure if this is the right place for this question, but maybe someone can help me out.  My school district purchased an app that can be loaded on up to 5 devices. The district does not have their own Itunes account, so it was loaded on to someones personal Itunes account (with all of her personal purchases as well).  I am trying to figure out how to get just this app onto my device, and then not have to use her account for anything else? My question then is, once she loads it onto my IPad, how do I go and sync to a different ITunes account - is that even possible?  Hope this makes sense to someone....! Any help would be appreciated.

    Hi jacyjflorin,
    Having multiple iTunes accounts can cause confusion.
    Would Restrictions on the iPads work for you?
    iOS: Understanding Restrictions (parental controls) - Apple Support
    Check out the options you can set, including Installing Apps.
    Thank you for visiting Apple Support Communities.
    Nubz

  • Error -200279 with simultaneous analog input (different devices) and digital output.

    Hi guys,
    I am a beginner in Labview and have been dealing with this problem for a couple of weeks now and just can't seem to get it completely right, I have a feeling there are a few small bugs in my code/hardware setup.
    I am running an scxi-1000 chassis with a 1600 module and 1302C along with a 1303 accesory for temperature measurements, this is connected to four thermoucouples. Unfortunately I have a limited number of modules available so I am also using a PCI-6221 DAQ card with an scb-68 breakout box used for a digital output and analog input voltage channel. Attached is my labview program. When I run the code at a 50 Hz sampling rate it runs with no errors but the data file comes out extremely wrong, this is also attached. When I run the code at 100 Hz I get error-200279 after a few loops. I used to have 2 daqmx timing VIs (one for each input), but the same error would eventually happen, I have also tried increasing the buffer size on said timing VI. I am also using an old computer (Pentium IV) could this effect the program?
    I have learned a lot going through forms for similar problems to mine but I just can't get it to for an extended period of time, I have posted my simplest code.
    Thanks in advance,
    Luca
    Attachments:
    tc_2.txt ‏1102 KB
    FinalCombined_2.vi ‏128 KB

    Ok this makes sense. I have made the suggested modifications but still getting the same error with sampling rates of 100 Hz or higher. Could you check that I have implemented the queue VIs properly (new file attached)? Also when running at 50 Hz in debug mode it does not look like the second while loop (with the dequeue element) comes into play until I hit the stop button, once I hit the stop button I get the following error:
    Error 1 occurred at Dequeue Element in FinalCombined_2.vi
    Possible reason(s):
    LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    =========================
    NI-488: Command requires GPIB Controller to be Controller-In-Charge.
    This leads me to believe I have programmed the queue elements incorrectly.
    Thanks for your help, any suggestions are greatly appreciated.
    Luca
    Attachments:
    FinalCombined_2.vi ‏102 KB

  • How to synch two different devices with two different Apple ID's without merging them?

    I have an iPhone 5 and iPad linked to my Apple id. My son just got his first iPod touch with his own Apple id. We use the same PC to backup and synch our devices.
    The problem I have is since he got his iPod touch, all his downloads get installed on my devices, and we don't want that. Can someone help me by explaining to me how we can use the same iTunes and the same computer to backup and synch our devices, without having his apps install on my devices?
    Thanks in advance!
    Pablo

    How to use multiple iPhone, iPad, or iPod devices with one computer

  • I downloaded a program and it never shiowed up in the download box. I can't find it anywhere on my computer. I tried it a few different times and from different sites but still nothing. What can I try next?

    I downloaded a program several times and from different download sites. It never showed up in the download box but it said all downloads have completed. I searched for it anywhere on my computer but the search produced no results.

    I suppose there is a possibility that you have security software than may be blocking quarantining or even deleting the downloaded file.
    Normally if Firefox says in the download manager that the file is downloaded then it is on your computer, and if you right click you should get the option to open the folder the er the downloaded file is in.
    #Use keyboard keys '''Ctrl + J''' to open Firefox's download manager
    #* or use ( press''' alt''' to display the menubar) Tools -> Downloads
    # in the downloads window find the file entry you are looking for and right click
    # use the option ''open containing folder''
    * see [[downloads window]] <-- clickable link --
    * and [[unable to download or save files]]
    Please post back with how you get on.

  • Question about sampling data of same device from two different sub-vi

    Hi all:
    Now I am using NI 6040E DAQ card, 1001 chasis, SCXI-1102 (32 channel AI) , SCXI-1300, SCXI-1160 16-ch realy, SCXI-1324 to implement  measurement data collecting.
    But I meet a problem, when I  run two sub-vi at same time, and sampling data from different channel the SCXI-1001 chasis. 
    (For example:    in the 1st sub-vi, the system samples data from channel 0-10. and  in the 2nd sub-vi,  the data from channel 11 should be collected)
    It seems, it is not possible,  anybody have a good idea about it.
    Best regards

    Hi Hanwei,
    All the channels in the SCXI use the same multiplexer, ADC and sample clock; that is the reason why it is not possible to run multiple applications in one SCXI module. There is a knowledge base that could be helpful in this case: Can I Use One SCXI Module in Multiple LabVIEW Applications at the Same Time? Hanwei, is there a specific reason why you have the acquisition separated into two different tasks? Is it possible to have channel 11 in the same task with the other channels?
    Regards,
    Ana P
    National Instruments
    Applications Engineer

  • HT5312 ever since i got an iphone, i have never been able to buy any apps or music on it because it says its a different device, and it asks me to answer my security questions, but the problem is i forgot them?

    help!

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                             Apple ID- All about Apple ID security questions.

  • Multiple different devices and one email account

    Hi guys,
    Is it possible to receive emails immediately to the ipad or iphone? I know that the settings have to be on push messages which it is but the actual settings for the email account is for fetch only. Does that affect the time that the email gets received on either device? The email account is not an icloud email or the others that are listed as possible options, does this also affect download time?
    I know there is an option to link many devices to one account with out affecting any of the devices but I cannot remember how. Assistance in this regard would be much appreciated!
    Thanks

    An email account must support push access, which is not supported with a POP account.
    Push access means as soon as an email is received at the incoming mail server, the incoming mail server pushes the email out without having to automatically or manually check the account for new email, which is Fetch. With Fetch, you can set the Fetch setting to automatically check the account for new email at a designated internal - every 15 minutes or every 30 minutes along with being able to manually check the account for new email in between the automatic check time interval.

  • "Copy Control" for different customer and also different sales area

    Hi, expert.
               I would like to copy sales order from one to the others. However, I would like to change only "Partner Information and its sales area". For "Item Data", I would like to keep it same as original document.  <b>For example</b>,
    Sales Order1:  Customer ID = "1111111" and Sales area = "1000/10/10". 
    I would like to copy to Sales Order2:
    Sales Order2:  Customer ID = "1111112" and Sales area = "2000/20/20".
    <u>P.S</u> "Sales Organization 1000 assigned to company code 1000. And Sales Organization 2000 assigned to company code 2000"
    I have tried to do combination between different "Data transfer routines and Copy requirements". However, I am still not get my solution
    Everyone please share idea.
    Thank you,

    Dear John,
          Actually, I have tried with copy requirement 2.However, it works for copying a different customer with the same sales area as original. Yes, I may need to ask developer to solve my solution. But I would like to keep it to be the last choice. I tried to search "How to copy document between inter-company businees"; but the I still not get what my custome's want.  Anyways, thank you very much for sharing idea.

  • IPhone 4 unresponsive, shows as being uncharged despit having been charged from 2 different chargers and 2 different power outlets, help anyone?

    Screen shows a red uncharged symbol but has been properly charged. then when i plug into itunes it shows as a flashing apple symbol in centre of screeen. This happened before and the phone was repaired at Apple dealer and returned to me within 5 minutes. The system was working fine and showing a fully charged battery when he gave it back to me. Please help!

    try the DFU, connect your iPhone to iTunes, Hold the home button & Power button together, after 10 sec release the power button but continue holding home button until the iTunes detect the iPhone

  • I bought an iPhone 4S last year. Today was the 5th time that one of my Audible books was suddenly cut off 3/4 into the book.The solutions offered to correct the problem did not work. Next phone won't be an iPhone. And books will go on different devices.

    Does anybody else have problems with Audible books being cut off in mid-listening, and none of the solutions suggested comes even close to being applicable? It's my 5th time in a year. And I've had it. The interruptions and consequent time consuming attempts to find a solution, and once I do, again spending way too much time finding the place in the book, where I was so rudely interrupted have pushed my patience to the limit. I downloaded my books on different devices, and use my iPhone for calls and texting. Once it's time to get a new Smartphone I'll stay far, far away from any Apple product. I don't care to waste time to get my smartphone to do what it is supposed and offering to do. And I am really getting ****** of when I am driving in the middle of nowhere, listening to a good book and Apple decides that that would be a good time to put a stop to that. Mostly I wanted to get a response from Apple Support, and am not sure how I was channeled into an Apple Support Community (what a ridiculous term!). My problem is with Apple itself. But not for long anymore......

    Anything?

Maybe you are looking for