Model generation with USB-6341?

Hi all

We have developed a software quasi multifunction 'device-independent '. This sw is capable of generating the sequence shot timed with the device really used. Up to now, we have used devices PCI-6025 and USB-6221, but now we bought a USB-6341 and when I try to use a message of 200565 error pops up: "specified digital channel contains more bits supported by the version 8 bits of the Port DAQmxBase write.» Use the version of DAQmxBase Port write who takes in charge the broader digital ports. Minimum size of write in bits: 32 "

I tried to change PORT0, PORT1 and PORT2 but only PORT0 is legal for the model generation process and it requires DAQmxWriteDigitalU32 function...
I don't understand why.

a / 6341 contains 24 DIO lines
b / only 8 DIO lines are clocked by material

Then there are 24 DIO lines (i.e. 24-bit 32 no!), but only 8 lines are timed by the hardware and I want to use only this 8 lines for model generation!
Our whole software is based on 8-bit pattern-berries (writeArray type is "uInt8"). If we cannot use this structure, we must rewrite dozens of functions...

So, how can we use the function of DAQmxWriteDigitalU8 with USB-6341 or what can we do?

Thank you

-George Cs.-

Dear George,

It is an interesting question, which may seem a bit unintuitive at first. The main reason for the 32-bit write operation (although the USB-6341 has only 24 DIOs) is that the functions and the driver support other devices too. As you can see in the manual of the unit (http://www.ni.com/pdf/manuals/370784d.pdf) X Renault series supports digital IOs up to 32 bidirectional signals.

To keep things consistent exploitation of 32 bits is required even if you use only a subset of the available ports.

I hope that this helps to explain.

Best regards

Tags: NI Hardware

Similar Questions

  • Problem with USB-6341

    Hello all-

    I'm looking for more help with an acquisition of data USB-6341 X series. I am trying to acquire samples N at a specified sampling rate, using a very basic interface of Labview 2012 on a Windows 7 machine - front panel is a waveform graph, and the block diagram is the DAQ Assistant wired the chart (I change the number of samples and the sampling to the DAQ Assistant interface). If I choose the number of samples and the sampling rate that multiply on in 10 seconds or less, I have no problem. 10 samples, 1 Hz? Ok! Samples of 10K, 1 K hz? Don't panic!

    If I chose a number of samples and the pair of rate which is equivalent to more than 10 seconds? Error 200284, 'some or all the requested samples aren't yet vested."

    Continuous in Labview, or looking at the test panels, testify without problems. The displayed voltage works with the digital display on the instrument that I'm sampling, so other that do not take data for more than 10 seconds, everything seems to work.

    Source of any reflection on a problem or difficulty?

    Any help will be appreciated.

    John

    Additional parameters of timing under the "Advanced Timing" tab and increase the time-out...

  • problem with / s digital correlated on USB-6341

    I'm testing an application that fact/s digital correlated, written in C++ with a USB-6341. I use NEITHER-DAQmx version 16.0.0f0.

    Because this application will be used by people with a variety of different DAQ hardware, I tried to write it to manage a lot of contingencies. Then when I put in place a DIO task correlated for the release, I'm trying to determine the width of the channel:

    uInt32 dataBytes;

    If (NIerror = DAQmxGetWriteRawDataWidth (h, & dataBytes))

    On my USB-6341 dataBytes returns 1, so I try to write data using DAQmxWriteDigitalU8(), but which returns an error saying:

    device USB6341:-200565: specified the digital channel contains more bits than supported by the 8-bit version of DAQmx Port write.

    Use the version of DAQmx Port write who takes in charge the broader digital ports.

    If I remove the test and force it to use DAQmxWriteDigitalU32(), then it works.

    I'm afraid that if I try to always use DAQmxWriteDigitalU32() I may be wrong with other devices that do not support 32-bit channels.

    Is this a bug in NOR-DAQmx associated with USB-6341? Have I misunderstood something about how it works?

    John,

    It seems that it is a known issue with DAQmx and a corrective action request was filed for this problem. For now, using the DAQmxWriteDigitalU32 should work fine if the device has ports 8-bit or 32-bit.

  • 3 USB with USB transfer speed

    I have a HP Pavilion dv8-1110ea laptop with Express Card 54 slot (also supports ExpressCard/34). I bought logic FL1000 USB 3.0 Express Card controller. I installed the driver without problem and the USB works fine, but at the speed of transfer USB 2. I use it with a WD Elements external hard drive. Thank you for any assistance.

    RonBarker wrote:

    Thanks, but what I really want to know is if there is nothing in my computer model that does not allow the use of the card Express as a walk of 3 USB as it would on a compatible computer.  Also, the readings show a write speed much slower than the speed reading.  This could be a problem with the post.  Thank you

    It is unlikely that there is something in the hardware of your laptop that is the problem of writing speed.

    You will get different results with different devices depending on the size and the type of file that is transferred as test or real.

    It is as @banhien says, if you want really high speed usb 3.0, then you will need to go to a notabook of latest generation with native usb 3.0 ports. Read up on it. There is a lot of information on usb 3.0 of the firmware and hardware available online for your reading pleasure.

  • Frequency of maximum output with USB-6008

    I have a digital circuit containing 3 exits, 3 inputs digital and analog 1 entry in labview with my USB-6008. When I connect to the entrance (via the DAQ assistant) analog, the output frequency is reduced to a maximum of 27 Hz, but I need 50 Hz. is possible to do?

    Ah.  You'll need a DAQ better than the 6008, to do.

    There is no train generation feature buffering or the pulse on the 6008.  The outputs are all timed by the software, you cannot build a table and tell the 6008 in the output array.  Out of the 6211 must be able to produce this signal.  Series X-series Renault will do what it takes; the USB-6341 is probably your best option.

  • Apple TV 3rd generation with no App HBO GO.

    I have an Apple TV 3rd generation (model A1469), with software 7.2.1 version (8011) and still don't see HBO GO app. What should I do?

    This application is available only in the United States?

    Thanks in advance!

    I have an ATV3 and HBO Go.  I am in the States.  I assume you have checked the main menu in the settings to make sure its turned off the coast...

    Not sure where you are but you can contact HBO here:

    https://help.hbogo.com/HC/en-us/sections/200613537-international

  • Amnesty International and counter sync + USB signal stream (USB-6210 vs USB-6341)

    Hi all

    I'm at a stage of identification of a material suitable for the following tasks:

    • 5 analog inputs (AIs) of reading at the same time, tensions at a rate of kSps (at least) 10,
    • application captures 2 inputs using timers (detection of contours with timestamps), square wave entry with duty ratio of 50 percent and about 1.5 kHz frequency and variable pulse width / frequency (from 2 sensors hall, representative of the DC motor rotation speed and direction, quadrature signals), resolution of timestamps should be (at least) 50 ns,
    • AIs and counters should behave in a deterministic way, and must be synchronized in a way,
    • data to be transferred via the USB port of a host computer with Matlab Data Acquisition Toolbox (unfortunately not LabVIEW).

    I've identified the long USB-6210 USB-6341 and potential candidates of material to accomplish the above tasks, but after reviewing several documentation and the topics of the forum, I'm still a bit confused, if both are fully working and my approach described below is not working properly.

    Counters: I intend to use the internal time base available 20 MHz as being the source of meter to get into account the resolution of timestamp 50 ns. External impulses hall are used as sample clock (about 1.5 kHz, see above). As the pulse width varies, the sample clock is not constant.

    AIs: Using a 10 kHz internal clock signal derived from the time base of 20 MHz for timing and analog inputs (trigger) start-up and counters simultaneously material should translate into the required synchronization and deterministic behavior.

    It work? Other recommendations?

    Next is the USB data transfer: all HAVE 5 and 2 data entry of the meter must be correctly transferred to the host computer (the corresponding rates are shown above). USB-6210 is capable of 4 USB signal flow, device USB X range (6341) offers 8 of them. Unfortunately, I could not understand the exact meaning of the expression "signal flow" still. Do I need 1 flow of input signals (would be 7 for my application described) or 1 stream for all analog inputs and 1 for counter inputs (lead 2 streams for my request). Is there no further details on this approach (more than Streaming of signals of NOR) USB signal flow?

    Any challenge to the described application that I might have forgotten? 6210 USB seems to a very limited number of entry PFI, maybe even too low for my meter participate application?

    Looking forward to your comments and advice.

    Concerning

    jAwA

    1. I recommend the X-6341 series on the M-series 6210 sake of counters/timers.  It is more of them, and each of them is more capable.   It can also have a great FIFO embarked for meters that may be important in certain tasks, although I don't think that you currently deal with one of them.

    2. your general concepts on timing & sync are satisfactory.  You will be able to share and to route signals that help ensure synchronization and determinism between the timestamps for your various tasks.  Note that for meter entry tasks, you need set up the trigger 'Arm Start' rather than the regular start trigger.

    3 is not authoritarian, but I believe that the flow of signal # will correspond to the tasks #.  For you, it would be 1 task of HAVE and tasks CI 1 or 2.  (Not clear if you have 1 Encoder with 2-channel quad that would require 1 task of CI, or if you have 2 encoders with 4-way quad).

    4. pay attention to the hall effect signals that are not virgins.  Digital filtering is available and probably better on the X-series, the series M.

    5. strictly speaking, edge detection is a type of digital input task that produces samples but no timestamps.  Ideally, I would like to parallel wires on the two digital inputs for the entries of detection and counter change to position quadrature decoding.   Then I would sample the counters Encoder 1 or 2 using the internal pulse 'event of detection of change '.  I would create another counter timestamp change detects pulses as well.

    -Kevin P

  • Mark on the model generation

    Hello world

    I'm working on a project where I take a lot of measures in real time (I have to display during the test-> 0.6 s all data as position 0 or 1 sensor, speed, etc.).

    And I need to display these data each 0, 01 s.

    The goal is to have a table in Excel that contains all data: 0 or 1 if it comes to sensor and a real number if it is a measure.

    I already tried different solution but without success, and this morning, I found an example include in LabVIEW, called the model generation.

    According to the example, if we have obtained several writing data in the front panel, it is easy to view in Excel software with a bit of code. I created this file as a template of excel file, but now it's my problem!

    In the example, all the data have been writing in a table, which was not automatic, was in writing, track by track. But this isn't my goal!

    I save my data after the test in a Board of Directors, then link them with Excel in order to have all the data of each 0.01 s to follow the event in real time and a good report.

    I had several screws, obviously my code works, I guess I can enter my assistantDAQ in the Council, it will be in real time, but how can I save in each data board each 0.01 s? : s

    My Board have obtained 15 columns, so it's a very big Board finally. and when the test done again, these data will change and will be replaced by new data. And then, if it works for things, it will be easy create my file as I want

    Here's a picture to show you the office which is an example.

    So can you help me find a way to complete this picture as I want? : s

    Thank you in advance for your answers, I hope that I was clear (sorry for my probably really bad English: s). If you need more accuracy, or if you missunderstanded one point, do not hesitate and ask me what's the problem: 3

    Kind regards.

    Maxim L

    Hi Bob,

    Indeed, this is a sample .xls file, I just save these data to be linked with VBA code.

    I know the report generation tool (thanks to you), but after some research it was not the right solution for me.

    I found another, easier in my opinion and it's enough to do what I need.

    Here you can see my solution, I just put my various data like this (this is an example, I'll put assistant DAQ in entry and not a simulation). It works, but the problem is that I can not put 2 different assistantDAQ in the same program, so I'll get that way).

    The report generation tool was interesting, but I did not understand how should I use it to solve my problem.

    Thanks in any case!

    Kind regards.

  • USB-6341 not on the list of simulation devices

    I want to create a USB-6341 siumulated, but this model is not in the list of available under devices simulated in MAX X series devices. I don't see in the devices of series X available for the simulation are PCIe devices. I have MAX 4.7, 9.1.5 DAQmx and LabVIEW 2010. I did this on other computers running older versions of the software and saw this device on the list, so there must be a software component that I have installed, but I can't understand what it is. Any suggestions?

    Richard

    Material of the series X USB were not released before DAQmx 9.2; you need at least this version in order to use a simulated.

  • Computer does not start when connected to USB-6341

    Hello

    When my board 6341-USB is connected to my computer and the device is on, if I start the computer the USB-6341 module, the computer crashes before windows starts.

    I said that the computer is an HP with Windows 7 64 bit computer. All Boot on USB configuration are disabled.

    Is it possible to start the USB-6341 before the computer or not?

    Best regards

    CFOE

    Hello

    Unfortunately with my HP computer, because the HP hardware, the computer cannot be started if USB-6341 is connected and powered.

    Best regards

    CFOE

  • Problems with USB 3.0

    Hello people!

    I'm here with a need for help to solve a problem that I recently got after reinstalling my windows 7.

    The problem is with USB 3.0 driver, which does not react to any device I plug on two of the ports, and they are not dead I checked that. I tried to re - install USB 3.0 drivers as well and downloaded from HP site for my model, the latest version has failed so I tried with the other older and did not work as well. Only my two USB 2.0 ports work.

    I don't know if there are any other versions or drivers that I could use, those for my model don't work for some reason, and this is the first time I did re-installation of windows for that.

    I would be very grateful if someone could help me solve this problem!

    The laptop model is HP Pavilion dv7 - 6113cl

    Kind regards

    Ed1Ross

    Hello

    Uninstall all the existing USB drivers and then try to install the drivers from this link:

    AMD Chipset drivers

    Restart and check.

  • connect multiple signals card NI USB-6341

    Hallo,

    I'm trying to connect the signals of several NI USB-6341 map.

    This map has 16 channels but not 32 pins available.

    for example if I want to connect a signal on channel 0 I connect to pins 1 and 2 and for channel 8, I have to connect to channels 2 and 3.

    If I connect only channels 0-7, it works but if I connect channel 8 I do not get the real value of this signal.

    any ideas?

    Thank you

    Theodore

    Theodore,

    This sounds like it should work.  Basically, you use AI0-3 and AI8 - 11 for your four differential signals.  This leaves you AI4 - 7 and AI12-15 free for single operation is complete.  The configuration of the terminal can be defined on each channel.  To do this, you can use DAQmx create channel several times to add channels with a different configuration to your task.  If you need details on it, let me know what environment you'll be programming, and I'll see if I can provide more specific assistance.

    Hope that helps,

    Dan

  • Measure the time of the rising edges of a digital stream using a USB-6341

    I have a DAQ USB-6341 map.

    I use Measurement Studio (writing code in c#) on a Windows 7 computer.

    I'm relatively new to the DAQ cards, programming, so I could ask something that is obvious (sorry if this is the case).

    I went out a stream of digital pulses to an analog output channel.  I wired this channel to one input of the meter channel.  I am able to measure the number of edges upward to the inlet of the meter channel (since the digial flow is continuous, the number of rising edges increases with time).

    I would like a time stamp of each rising transition and I like to keep these timestamps in a table without ever growing (or maybe bin these timestamps in a histogram).

    Set up the meter channel to provide the timestamp data? (rather than just count)

    Thank you for your help.

    WRB,

    The meter must be able to measure the relative time between the different edges of your signal.  To do this, you will take care to set the meter to measure time.  It will measure how long a full period of your signal takes.  You can configure edge that you want to start with.  You'll want to set up your timed 'implied' measure.  This sets up the meter to automatically take action whenever a period is over.  While it's not exactly a timestamp, you can find the distance between two edges by adding the time periods between the banks in question.

    I see another technique that you can use.  This would put the counter to edges of County one of the basics of time of your device (it has 100 KHz, 20 MHz and 100 MHz bases long).  Then configure the task to use your signal as a sample (configuration to use rising edge) clock.  Whenever the song occurs, you will get the number of ticks ticks selected timebase that took place at that time.  One thing to note here, however, is that the counters are 32-bit wide, so your code will have to manage the overthrow of this charge if you are using a fast time and base running for long periods of time.

    Hope that helps,

    Dan

  • USB printing support is a USB device that is older and may not work with USB 3.0

    Separated from this thread.

    Mahesh,

    I had a same problem, followed your recommendations and everything worked fine for a day and a half. Now I get the same error again.   Are there any additional settings or changes I do that can keep it works?

    Thank you!

    Hello

    Please contact Microsoft Community. I will surely help you this question.

    To better understand the issue, I would need more information on your side.

    1. What is the brand and model of the USB device?
    2. the problem occurs only with a specific USB device?

    3. What is the brand and model of the computer?

    This problem might have occurred because of these reasons:
    1 USB drivers are corrupt.

    2. USB port does not work.

    3. hardware issue.

    I suggest you run the hardware troubleshooter to check if it helps.

    (a) press the Windows key + C on your keyboard to display the bar of charms.

    (b) type of Troubleshooting , and then click solving problems under settings.

    (c) now, type Hardware Troubleshooter in the option Search .

    (d) click on hardware store to run the troubleshooter.

    Hope this information helps. Reply to the post with an up-to-date report of the issue so that we can help you further.

  • How to add the new model feature with tables of another data schema?

    Hi all

    I am trying to add an entity data model to my request. The tables I need are on a schema that does NOT have a default schema of connection of the connection. So I go through the Wizard add new Entity Data Model, generation from database, but then when it comes time to choose your database objects, the only thing that shows is all that is on the default schema. How can I access stuff to another schema with an entity data model?

    (Tangentially: it is also a problem with the old Server Explorer simply itself - when adding an oracle db, I see the other schema object in the treeview control to break.) But when I right click the db and the new query, tables of other scheme become available to me here. "So it is less of a problem in the case of Server Explorer).

    I found this small excerpt to reach other patterns, but I couldn't make it work in the case of the ora db. Any suggestions?

    Thanks for the tips,
    -sff

    Suppose that schema_a has granted privileges to schema_b on database belonged to schema_a objects by running the GRANT statements.
    You add a connection in Server Explorer using schema_b, and then add the schema_a in the "Filters" menu... ». Don't forget to click on
    the button of update in "Filters" dialog box and confirm schema_a illustrated with schema_b in the column 'value '.

    When to use EDM Wizard to create a database data model, choose the connection that you added by using Server Explorer
    schema_b. You will see the database of objects belonging to both schema_b and schema_a select and generate your data model. Schema_b
    should be able to use the database objects belonged to schema_a according to the privileges granted.

Maybe you are looking for

  • Disruption of Mozilla

    Gentlemen, I used Mozilla for years... no problem until today. I turned on the computer (by normal) and a Mozilla icon opens to allow access to Mozilla. OK, I did. Once you have done so, I proceeded to download my files as usual. Now, I can't get in

  • Can save image only as a bitmap file

    For some reason when I now right click on an image and then go to send to "My pictures" I get only the options to save as a file art or bitmap file. can someone help so I can save it as a Gif file as I have always in the past

  • HP Pavilion: Pavilion bios Locked

    Hi all... I have a bios locked on a pavilion... my code is 13215783 Any help would be greatly appreciated. Scott

  • You use the cellular data (3G) a lot about your xoom? Could miss you if you don't have 3G?

    guys do you miss not having does not have access to cell phones? you are perfectly ok with WiFi only? have you been in situations in which you want to that you had access to cell phone? I would be acknowledging all responses from users only wifi... I

  • Any traffic sent through my IPsec tunnel

    Hi support community, I've been struggling for days which is - I guess - something very basic. I have a router that I want to connect to my ASA via the VPN. This router has a dynamic IP, so I managed to make it appear the tunnel with a dynamic crypto