several usb-6289 maps and a single task

Hi people!

I use two cards usb-6289 and I want to write 64 samples (one per channel).

Since each card has only 32 e / digital s 16 more lines PFI, I need an adicionnal 16 e / s digital in the second

USB-6289.

When I try to send the data, I get an error saying that "the several maps are not supported in a task.

How to work around this problem?

I also try to read the data of 16 lines of analog inputs in the first card USB-6289.

PS: I am trying to send data are the Bits of the address to 16 multiplexers ADG-406

Any help would be apreciated!

See you soon!

You can go there.

Tags: NI Software

Similar Questions

  • Got a 27 "monitor from Apple, with thunderbolt (error). My MacPro can't love at first sight. Apple won't bring back the monitor. Will using a USB 3 map and then using a hard drive with USB 3 and Thunderbolt works?

    Got a 27 "monitor from Apple, with thunderbolt (error). My MacPro can't love at first sight. Apple won't bring back the monitor. Will using a USB 3 map and then using a hard drive with USB 3 and Thunderbolt works?

    N ° you need a computer logic board which has built in Thunderbolt.

  • The easiest way to add several single-task in a new task of multiple channels

    Hi all users of LV!

    I've created several single tasks in MAX. To simplify things, we will assume that they are all of the same type (analog current - voltage). In addition, each task is characterized by specific properties such as the custom scale, the final value of configuration, max, and min, etc..

    I ask you to show me (if it exists) a simple way to add programmatically (merge) all of these channels in a multichannel new task, now clearly all the specific properties that I mentioned earlier. For 'simple', I mean fast, which is not need too much coding and reduce as much as possible the use of knots of property for these specific properties (see photo).

    Thank you in advance!

    Marco

    aRCo wrote:

    Infact, in this case, my colleague tasks needs to make acquisitions directly in MAX in order to validate the hardware and with virtual tracks overall is not possible, see that a global virtual channel does not have the ability to set the frequency of acquisition and other functions. Furthermore, I can't change all of a sudden the situation and the way that someone else works.

    Then he makes a task using the global chain.  Then you can reuse the channels!

    But it could work for you by creating global channels that you currently have.

  • I use Photoshop elements on Windows 8.1 12.  When I go in the Expert Mode to change the available toolbar is displayed in a single column and missing several tools which foreground and background color.  How to restore the original toolbar?

    I use Photoshop elements on Windows 8.1 12.  When I go in the Expert Mode to change the available toolbar is displayed in a single column and missing several tools which foreground and background color.  How to restore the original toolbar?

    Try to re - set preferences.

    Go to: Edit > preferences > general (menu Photoshop Elements on Mac)

    Click on the button Reset preferences on the next launch

  • synchronize two usb 6289 with a meter

    Hi people!

    I'm trying to synchronize 2 boards of the series M USB-6289 using a counter.

    I searched the forum and that you've already seen the tutorials:

    'Synchronization of series M with LabVIEW and NOR-DAQmx - Developer Zone - National Instruments'

    'Synchronization of data acquisition USB - device to several systems - Developer Zone - National Instruments'

    "The time and the synchronization of the NOR-DAQmx - Developer Zone - National Instruments features."

    However, I still have some doubts (where the post with respect to the following:)

    -If I want to use the meter as trigger for both cards do I need to export to a PFI line and connect to the Member of the Board?

    -I do the same thing with the clock signal (export to the other panel using a PFI line) or using the same frequency for two meters is enough? Or both?

    -can I use the same value for the frequency in the meter and two clocks?

    Hope someone can help out me.

    If possible, underline some examples or detachment would be great.

    Thanks in advance for the help!

    See you soon!

    Hello

    All points depend on what you need to synchronize exactly.

    As you have probably already read in the links you provided, you have the option to share a trigger, or a clock, or both.

    Of course, the best solution is to share together.

    Then, you can choose to directly share the sample of one blade to the other clock (if the two sampling rates are the same), or to move the reference clock, then, both cards will synchronize their sample (with PLL) clock on the same reference clock, as shown in the synchronization M with LabVIEW and NOR-DAQmx series.

    Exactly how you want to use your meter?

    You want to generate a single trigger pulse?

    Then, for examples of synchronization, there are some zip files at the end of the links that you have read.

    Kind regards

  • combine two daq physical channels in a single task

    Hi all!

    I use a PCI-6120 with a BNC-2120 to generate two signals: one is used to control an optical device which must be characterized, and the other signal is sent to a digital video camera to trigger the acquisition so that it is synchronized with the first signal. Everything is controlled with Labview.

    I want to give the possibility to the user to choose which channel to use for the first signal and channel to use for the second signal, depending on how the devices connected to the BNC-2120. So I would like to put two different "physical channel" screws on the Labview command window.

    My question is:

    What I need to create two different tasks to the signals to be generated on the appropriate channel, or can I combine two channels (and how?) think I handle only a single task to two channels always but do not forget that each signal is generated on the corerct channel, depending on the channel selected for each of the two signals...?

    Thanks a lot for your answers.

    Nice day.

    Luke

    Hi LucG,

    If you use only a single Council to create only a single task for two generations.

    You can choose several channels by clicking on "Restaurants" in the channel control physical choice multiple channels thanks ctr + click, or by concatenating multiple channels with a comma as on arrival at the VI.

    Then, when you provide data to the VI of writing, the data should be organized in a table, each channel is on a line and the order of the channels is the same as in the control of the physical channels.

    I hope this can help!

    Thank you

  • USB-6289 digital output signals setting

    I use a USB-6289. I am writing a CVI application that uses this device. I need to put the digital i/o pins as outputs. In the CVI app, I know I can create these tasks with the tools-> create/edit DAQmx tasks. He created this:

    Int32 CreateDAQTaskInProject(TaskHandle *taskOut1)
    {
    Int32 DAQmxError = DAQmxSuccess;
    TaskHandle taskOut;

    DAQmxErrChk (DAQmxCreateTask ("DAQTaskInProject", & taskOut));

    DAQmxErrChk (DAQmxCreateDOChan (taskOut, "USB-6289/port0", "))
    "DigitalOut", DAQmx_Val_ChanForAllLines));
    DAQmxErrChk (DAQmxSetChanAttribute (taskOut, "DigitalOut", DAQmx_DO_InvertLines, 0));

    * taskOut1 = taskOut;

    Error:
    Return DAQmxError;
    }

    So this it puts in place but not to write the data. My question is what is the command to write the data?

    Also I was wondering if the code source of any example that shows how these commands are made? Is it possible to configure the bits individually? I only need to use 5 of these pins as outputs so t would be coll if I could write that the bits D0 - D4.

    Are there documents written on these commands and how they are used?

    Thanks in advance

    A DAQmxWrite writes the data.

    Go to help > examples > material input and output > DAQmx > digital generation.

    If you specify the lines instead of a port, you can use as the number of bits you want.

    First glance using the ICB.

  • How to configure multi analog channels inputs in a single task

    Hello I want to acquire two signals of the two channels (input 1 analog acceleration; analog input voltage 2) without using wizard DAQmx because I have to use standard vi I use usb NI 9234 any suggestion please I tried with a chanel and I got good result but when I try two delivery channels I errors please hep me

    Hi Broutchoux,

    What are the errors you get when you run your code? This is a mistake-50103?  As long as your acceleration and your task of voltage use the same synchronization settings, you can combine the two channels in a single task.  This should fix the error you receive.  The article below has a picture that shows the configuration I describe:

    With the help of different Types of Global DAQmx channels in the same task
    http://digital.NI.com/public.nsf/allkb/3296BA2AEF586B7386256D6D00528E3D?OpenDocument

  • Dedicated for each channel from multiple channels in a single task task disadvantage

    Hello

    My current acquisition software (C + c++ / GCC) encapsulates the methods rather clumsy niDAQmx C to interface with the data acquisition equipment in a class that represents a task of acquisition. This way I can create several instances, for example counter input, analog input, analog output, their terminals and the class supports all work low level as ensuring input analog fake internal is started if there are only counter entries such as the sample clock starts, or configure reminders N-sample, etc.

    It seems to work very well, and also the time seems to be good, because first of all the tasks on multiple instances of my wrapper. For triggered early, that I use

    DAQmxCfgDigEdgeStartTrig(mTask,mTriggerTerminal.toAscii().constData(),DAQmx_Val_Rising)

    in-house.

    Now my real question: what is the advantage of multiple channels, when everything seems to work fine with multiple tasks and only one channel per task? I don't see the disadvantage, it would first classify necessary acquisitions in types (I, ao,...) because several strings in a single task must be of the same type. With my approach I need not care because each channel still gets its own task.

    I don't know I'm missing something here. Maybe someone can explain it to me, maybe some limitation of multi-tasking, I have not yet read.

    Hey!

    Unless you specified for managing the it (simultaneous sampling) or modular instruments and hardware devices (see link )

    You cannot perform two tasks at the same time that access to the analog inputs, for example, because the

    ADC is a shared resource that is connected to a multiplexer, and that only one task can work in it at a time given. (see here )

    Similar restrictions often apply to other types of operations.

    I'm not aware of any performance issues, perhaps a little more memory could be used.

    So as long as your hardware supports what you are doing, you should be ok, I think,

    and it is only a question of clarity and intelligibility, ease of use and structure.

    As you use classes, I'm sure you've heard about encapsulation - so it is a

    question of how you want to design your application.

    In addition, when you work in LabVIEW, tasks feel more natural to the principle of data flow, because you have a thread for your data acquisition,

    and it works very well with our modes of standard design.

    So, if it is better for you (and works with the hardware), you can give all the channels its own task.

    Hopefully this might clarify some things,

    Kind regards

    Rome

    OR Germany

  • USB-6289 DAQmx delay early in the program

    Hello! Anyone help me with this problem.
    I have a new data acquisition is USB-6289.
    I'm only looking for I multiply by a decimal factor, after putting this result on AUG.
    for example
    AO0 ai0 * x =
    I want to do in continuous mode and in real time, with minimum delay. When I start the program, I have a time delay which varies.
    How can I measure this delay time?
    Anyone have an example of program to do (a simple multiplication in real time) and check where I have my mistakes.

    Thank you very much.
    Jonathan

    I put my program and a few cards of my oscilloscope (ai0-signal ao0 drop signal)

    Hi Jonathan.

    The code that you downloaded was not in parallel. Flat sequence structure forces the process to the AO HAVE to wait for the update panel. You can use the "Acquisition and recording of data" model to Create... Project for a reference on how to separate the update of the user interface of the real transformation.

    However, you must keep in mind that it is not possible to "simply to acquire a signal, multiply it and transmit" with DAQ hardware. This is because you must proceed as follows to get a signal and send it through the AO:

    1 acquire the signal in the DAQ card.

    2 send the signal to the computer via USB.

    3. ask the OS and LabVIEW process the signal to multiply.

    4. send the signal via USB in data acquisition.

    5. the output signal.

    This means that, while you can probably reduce the delay, you will always have this delay in the order of milliseconds. If you really need a shorter delay, you have a few options:

    (1) I noticed that the signal you're reading seems to be periodic. If it is a periodic signal, you can enable the regeneration in the AO and drastically reduce the delay, like the acquisition of data will just get the waveform periodical and cycle it. However, if the waveform changes, you will have some glitching.

    (2) use a multiplier circuit separated instead of data acquisition.

    (3) use a FPGA or RIO device instead of data acquisition.

    I hope this helps.

  • Device USB not recognized - device connected USB has malfunctioned and Windows does not recognize it

    I have a HP Pavilion dv4 laptop running Windows 7 Home Edition Premium and the USB ports worked well for a HP deskjet printer and an older Casio digital camera. Then one day, the laptop decided not to recognize the Casio digital camera and gave the error message "USB device not recognized" and also indicated that the device connected to the computer has malfunctioned. This prompted me to buy a new digital camera Canon. Well, a new camera has not fixed the problem. Now, anything that is connected to one of the 2 ports USB will not be recognized by my laptop. Help!  I am at a loss to understand this.  I tried using Microsoft suggested below:

    Suggestion 1: the problem with USB devices, uninstall and reinstall all USB controllers. This allows controllers to recover the port USB of his condition does not respond.
    USB controllers represent the USB ports in Device Manager.

    a. Click Start, type Manager of devices in the search box of start and press ENTER.
    b. expand Bus USB controllers.
    Note: you may scroll through the list to find this point.
    c. the first USB controller under Bus USB controllers right click and then click on uninstall to remove it.
    d. Repeat steps above for each controller USB is listed under Bus USB controllers.
    e. restart the computer. After the computer starts, Windows will automatically check for changes on the hardware and reinstall all USB controllers that you uninstalled.
    f. check the USB device to see if it works.

    This has not fixed the problem.  Then the Device Manager, I tried to update the drivers on all the USB controllers and root hubs. While some may have received software updates downloaded, it still has not corrected the problem of unrecognized USB device after the computer is restarted.  I hope that someone knows the solution to this situation and can pass it on to me. Thanks for reading and any help display.

    Read previous messages revealed the solution for USB devices not recognized on my HP Pavilion as well as several other laptop models.  Shut down the computer and remove the battery and wait for about 15 minutes. Reinstall the battery and restart the computer.  USB ports are working to download pictures from my digital camera from Canon and charging a cell phone, etc...   I hope it helps others with this problem!

  • PXI-13 6133 in a single task OR DAQmx?

    Is it recommended to use the PXI-13 6133 in a PXI-1044 + PXI-8106 in a single task?

    Installation program:

    PF0 trigger every 40ms

    Sample PF8 103kHz clock

    samples of 1020 per channel

    Hello Jainsch,

    just a little addition:

    Please set the speed of the fan in the back to 'HIGH' and insert a Slot-blocker in all empty slots to improve airflow (cooling).

    http://sine.NI.com/NIPs/CDs/view/p/lang/de/NID/206303

    Kind regards

    N. Ralf

  • XP operating system with several iterations of mshta.exe in the Task Manager

    Last week, I saw several iterations of mshta.exe in my task manager. I don't know what it generates, or why the request is not closed properly

    Hi GFar74,

    MSHTA (Microsoft HTML Hypertext Markup Language > Host Application is a process that is running.) The HTA (HTML application) file, usually MSHTA charge once. HTA application must be running and then ends when the application ends.

    This problem may occur if a Windows system file is missing or damaged.

    Method 1: Run the SFC (System File checker) Scan. To do this, follow the steps below

    With the installation of Windows XP in the drive disc

    un) Click Start, click principally made programs, click Accessories, and click command prompt of

    (b) type the following command and press ENTER:

    sfc/scannow

    The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    If the problem persists, this could be an activity of the virus

    Method 2: A scanner online for any threat and try to correct

    http://OneCare.live.com/site/en-us/Center/cleanup.htm

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer
    ---------------------------------------------------------------------------------------------------------
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Driver problem with prolific USB-to-Serial and Windows 7 connector

    I'm trying to connect a UPS to PowerPanel to my new ACER computer with 64-bit Windows 7 via a prolific USB-serial connector software. The convenience store says he has a driver problem the convenience store is unable to correct. However, messages also said that my driver is up to date and the device working properly. I have installed, uninstalled and tried to fix several different drivers, run the troubleshooter, etc.. I tried to run the stand-alone Windows Installer, but it says "not compatible with your computer." Help! Is there anything else I can try?

    Hi Mary,

    Until solve us the problem we need more information on the issue.

    ·        What is the exact error message that you receive when you connect theprolific USB-serial connector to your computer?

    ·         Could you plug the connector on the computer as soon as possible without any problem?

    ·         What is the model number of the connector?

    ·         The ups and the computer manufacturer and what is the model number?

    ·         Who is the stand-alone Windows Installer you tried to install?

     

     

    You can first check if the USB connector to prolific series model if its compatible with windows 7 Access the link below to check the compatibility with Windows 7.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    You can also contact themanufacturer prolific USB-serial connector and check if the device is compatible with Windows 7 and if you need to install any other drivers to get the device to work.

     

     

    Post back with the required information.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Wireless use USB ports locks and prevents the Windows shut down

    Hi all. Faced with this one.

    Computer is the laptop, HP Pavilion DM4 - 1150ca. 4 GB of Ram, 150 GB HD

    OS Win 7 Home Premium 64-bit, SP1 and latest updates installed

    Problem: I have 3 ways to connect to the internet: 1 Dongle USB (Device Manager calls "Remote NDIS based internet device for sharing". No problem connecting to the network and to the internet with this device. 2. built in WiFi adapter, "Intel Centrino Wireless - N 1000 and 3. External antenna for high power USB and USB «Realtek RTL8187» adapter Medium 1 and 2, I can normally connect to the network, get decent speed but he declines quickly and then to a random period, usually within a few minutes, I lose my internet connection, and finally my network shows disconnect icon. At this stage all 3 of my USB ports are locked up, removal of the WiFi device does nothing, don't disconnect sound and no USB device is recognized if I try their connection. In addition, Windows will not stop. I get a "shutting down" screen but it stays that way until the expiration time and finally restarts, screen asking if I want to start normally or in safe mode.

    Action taken:

    Several online sites checked and tried solutions including:

    RTL8187 uninstalled and reinstalled several times

    Uninstalled and reinstalled HP wireless several times

    Deleted (Device Manager, see all) entries while grayed, unused network

    So far, no joy, no change. Anyone have any new ideas? Thanks for any help

    Hi Raven,

    Do you have third-party security programs installed on the computer?

    Basically, if the internet works in safe mode and not works in normal mode, not applications or third-party security programs can be in conflict with the drivers from the internet.

    As a solution, I suggest to uninstall the anti-virus program and check if it works in normal mode.

    Warning: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Answer with the results so that we can help you even the question.

Maybe you are looking for