NEITHER 9207 reading current and voltage at the same time channels

I have a cDAQ-9178 chassis USB-three cards NI 9217 RTD, three cards 9263 0 - 10V and one the output OR 9207 16 channels analog card. What I m trying with this kind of things, is to read all the analog input channels (information of transducer, temperature, pressure, etc.) and adjust my controls to process with the analog output channels.

My problem at the moment is the following:

When I create tasks with DAQmx VI:s, how to create a task that reads current and voltage on the 9207 channels at the same time?

When I created a task for RTD-channels (16), a task for the outputs analog 0 - 10V (12), a task for the analog input 4-20mA (8) and a single task analog 0 - 10V input (8) I get an error-50103. I think it s because the tasks of current entry and voltagge are trying to use the same CAD at the same time and LabVIEW informs that "The specified resource is reserved. Tasks are to leave so that the analog output task starts first, then I merged all clusters of the error and the rest of the task are started by an order to current input-> input-> RTD input voltage. I get this error after the current enter task started and enter voltage task begins.

Because I m new on the LabVIEW and stuck in that time, I wanted to try the forum to find answers. I tried to find if someone else was having the same kind of problem, but with a quick search, there was none. I m in a bit of hurry, so I apologize if West a subject with a happy for that and I missed too much according to me.

Really, the best way to do it is just adding 8 channels of voltage at a task, then 8-channel current, somewhat like this:

Then spread over different channels when you read later:

It should run without error.  It always is multiplexed to sampling, but it will be much faster to create two separate tasks.  There will be between 2ms (mode high speed) and 52ms (mode high resolution) between each playback channels, but it will still be much faster than the permutation of the tasks.

Tags: NI Hardware

Similar Questions

  • USBOTG and Charge at the same time on Stream 8

    To keep this thread as productive as possible and efficient for those who find it useful to:

    Unless you have under your eyes

    1. a schematic representation of the 8 Stream USB port (USB port and battery electric circuit etc.)

    2 source code for the firmware BIOS and kernel that controls the material

    Please DO NOT respond or say "is not possible".  In view of the above is true, you do not have enough information to say '' not possible. ''

    If no one replys with a solution, what he calls not possible by default.

    Also please do not answer to say ' I don't know how "or" but I know how to do anything else that ' is also not that useful.

    An update of the BIOS or other software update may be required by HP, Microsoft or both to offer this feature really intuitive and quite possible.

    And I hope that this thread can be an effort consolidated by all who have the 8 flow to make the necessary changes.  The majority of the other tablet PCs are capable of it.  It seems that only the 8 Stream and a few others have trouble with her.

    ~~~~

    I want the ability to use a simple, inexpensive cable and perhaps standard (with electronic active minimum inside) which allows me to host and to use one or more USB devices on the Stream via its USB port B microphone 8 while this cable can also be connected to a charger standard and charge 8 flow simultaneously.  This means that the cable has a minimum of three connectors.  One of the possible configurations are as follows (apart from the normal charging cable):

    1 cable Micro USB B Male - connect to the stream 8

    2 USB male A - connect to the AC charger (IE one that came with the 8 Stream)

    3. USB A female - one or several connectors to plug into the key of USB data, keyboard, mouse or even a hub.

    Connector # 2. above shall provide a power supply to recharge the 8 Stream via conn. #1 and the power supply for external USB devices via conn. #3 so that they are in use - all at the same time.

    A and if the same cable can act as a normal OTG no charger for when no external power supply is available.  This may necessitate a switch or an electrontics active inside.

    The last part of this goal is unimportant for various reasons.  I wish that HP, the manufacturer of 8 flow, to State in writing good mode necessary to do this, so that other manufacturers or even-it yourself can make maximum use of their tablet HP equipment.

    ~~~~

    The neat thing it will alow a person to do with their tablet, it is to work at home using the Tablet as a desktop PC by connecting a keyboard, mouse, perhaps external screen (with USB to the display adapter) and knit for a long time without time limit prescribed by the battery life because the charger provides energy to all involved.

    If there is only a single connector on the cable #3, then an additional node of coarse had to provide support for these multiple USB devices at the same time.  However, it would be better if there were several #3 connectors integrated in the cable itself.  This would be better as a suitable USB hub also requires its own power.  That an adapter is necessary if the whole thing were integrated into one.

    ~~~~

    I really want answers from anyone who has already accomplished USB OTG delivered with simultaneous load with flow 8. (independent of any published 'proper' way is also welcome)

    Today's date is 2015-01-16.  If in 2015-02-16 (one month), nobody has posted a solution and then starts to bug HP and Microsoft on it's us?

    ~~~~

    Technical training:

    I understand the possibility the tablet software and firmware must take a decision on the manner in which power flows on the power port USB microphone B pins.

    I know that with a proper design of the electronic circuit carring these signals of power inside the Tablet could be sensitive to what is connected and without risk to decide for himself what to do without needing to control software.  For example by testing/detecting periodically differential voltage or current management to see what sides of the connector can supply.

    But this is only one of the many "could bes".

    In addition, this can be no standard regarding the standard USB.  What seems to be actually the case with a lot of cables OTG + fresh, is that physical clues embedded in the cable or charger are used to signal to the Tablet what the situation is.  Then the signal of software/firmware of the Tablet, interprets what the situation is intelligently and responds by flipping the bits of correct hardware control to activate, or deactivate the power flow in the port and also control its direction in or out.

    I'm not familiar with the standard USB.  Maybe I could do more research, if I believed that HP followed with 8 Stream or even the standard covered this situation explicitly.

    But to a certain extent, it seems I'll have to invent something that should be intuitively just like it does with other tablets. Isn't it?  Maybe I'm overthinking, but I can't find any USB OTG + cables load that specify compatibility with 8 HP flow.

    In any case, I was familiar with both methods other use of tablets to send the highest mentioned signal to the hardware/firmware/software of the tablet to the idea that it's time to load / time of OTG or both.

    The first method is a 0 Ohm to 200 ohms short between pin USB A 2 and 3.  This is the bidirectional data differential lines D - and D + respectively.  In data mode, all the data passes back and forth on those lines.  When you load with a cable, it's the charger module that puts this short, not on the cable.  I measured the short on three different Chargers.  It is 0 Ohms on two of them, one of those who are the charger that came with the 8 HP flow.  The others 0 ohms was generic.  The third was for an apple iPad and it measured on 53KOhms.  It's probably not the resistance ohms 0-200, but probably it is impedance termination indicating that there is some intelligent serial port communication in the charger itself.  Leave it to Apple to be different.

    This method is somewhat questionable, as this signaling mode would prevent OTG + fee because it seems unlikely that you will be able to OTG when the data lines are shorted each and overloaded with such low impedance.  I could be wrong on this subject...

    The other method I have seen suggested to work with some tablets and phones other than the 8 stream is too short the USB microphone B pin 5 to Terminal 4 with 0 Ohms to 100 000 Ohms.

    USB B has 5 pins.  USB has only 4.  The extra pin on B moves the GND pin 4 pin 5 pin to and makes pin 4 PIN ID.

    If this signal applies to a drop in the ID pin (4) or in some cases, I saw that she proposed, he runs down with 0 Ohms.

    Dead shorting things always makes me nervous.  If ID is a simple normally high impedance high input, resistance could be used to make voltage well below the low or zero threshold while also preventing the risk of damage when cheat on him with a device that you do not have the diagram for.

    Yet, 100K is a bit high for a 'pull down' in most of the situations that I'm used to.  Even a 10K would be uncertain. A 1 K or 2 K seems reliable enough, but then things are weaker and in know more nowadays low...   All but a dead short but if possible.

    So, it seems possible that the device might be able to "indicate" by the specific value of the resistance, which can be found here.  In other words the resistance is not a pull down but in fact a signature analog ID, in which case the exact value will be crucial. So if this is the case, a guess is not going to work.

    Obviously in such a system as described above, a chip inside the Stream 8 should be responsible to support this information. I hope the 8 Stream has such a chip.

    Probably a register inside this chip would be at all times what the State of the pin ID is a binary number.  All that is needed is for the BIOS to the chip and the registry in it and read this number via the bus to determine what happens to the port. Finally, he would use that signals of info to send the order of material to the electrontics of power set the appropriate direction to take etc.  (and change the State of the icon on the screen of the rude)

    I don't know if the PIN ID method described is a standard USB or not either.

    Eventually, there may be a third way. But I do not suspect that it would be possible with a non-active external device. In any case too complicated for the novice DIY for sure.

    The device would need to act is a kind of extension of bus.  As an active hub.  But she would use the negotiation of data USB serial lines and in addition to reproduce one or more additional USB ports, intelligently inform the tablet to get with the program which is "now we're going to otg and recharge at the same time."

    This requires a smart external device with a processor Inside, no doubt.

    It seems to me that many other tablets have been able achieve avecjoint here the need for a smart external device and thus the flow must also be able to do.

    There is a device that claims to be able to work with the HP Jet 7 and 8 and provides same ethernet and USB and big DVI ports so loads the data stream.  But its expensive because it is active.  Se here:

    http://AMZN.com/B00OVDE0GC

    It's called a "Docking Station".

    A reference to a product that does exactly what I want (possibly without active electronic components) is here:

    http://AMZN.com/B00LTHBCNM

    It's by Kirin and it is a device of type squid with four USB ports.  Precisely, which is my goal.  But read in the comments stream 7 user indicated that he would not be OTG and load, not really clear if it worked as a hub USB OTG or not.  Another evaluator stated that she would not support even a single USB device much less fees of 8 Stream.  This device has a switch.

    I forgot to mention that some 'hackers' have claimed success with other tablets to deceive their devices by using a multi-step process to plug things in.  Usually in general they would get connected Tablet and load first, then they would return a switch or something remove some resistance or the signal was introduced by the first position of the switch. For some reason any Tablet would continue to require. Then the data lines would be free and they would plug in a usb key and it mounts correctly even if the tablet was always in charge.

    It's like the power circuit has a lock which does not allow it to return to the mode "power flow" as long as he still feels the power flows inward regardless of what software it is telling.  Full proposal here.

    These tips seem dubious to me.  Changes in the BIOS could change the way it works.  Also you can not be sure what actually happens if you do not have a schematic representation.  You could damage your tablet.  Many people will support icon in the operating system whether the Tablet is in charge.  But I'm sort of a low-risk guy and my policy is generally indicators of intereperet not to have meaning at all once a device is functioning in a non-standard setting.  Especially when it's something that I did not built and could not fix if I FRY.

    Hypothetical reasoning: tell me what data sensory discs really the State of the charging light screen?  This reflect the bit of hardware control programs actually feeding management and status on the port?  Or does it measure the direction of the flow of power, said in the section of the circuit battery monitoring?  Point - none of us have a schema because it's owner. To really be sure according to the smart electronic hardware, the port must be mode flow under advisement "of power. If it's in a "power flow out" mode and power will be delivered externally as well you wind upward with both power supplies the same power at the wheel nets.  In this case, the two opposing regulators attempting both to drive 5 V can have slightly different voltage calibrations.  That could lead to fighting between them, with more than 100% of their capacity.  For example if you try to regulate 4.95 real V and the other and other attempts to regulate 5.05 V.  Current then flows to the tune of 100 mV / a few milliohms in the cables linking the two.  This may be several amperes. (many)  In other words, like I said: you want the tablet to know that power is coming in don't go out and automatically hitting the internal switches needed for that to happen. Probably the icon should indicate this with precision, but in some wacky situation, he could not. There may be a chance that the icon could indicate the load and still be burning or focusing on some circuits of the tablet or the charger.

    Another thing, I could see that happening is if you play with these reported resistance types enough you might find a resistance value that winds up place the device in an intermittent condition.  In other words it keeps flipping back and forth quickly between OTG and fresh.  It can give the illusion that it works.  You can have marginal communication with your USB devices and battery could even load.  But will still be a lot of stress on the power circuit.

    It is difficult for me to risk a Tablet perfectly well if I don't know exactly what I'm doing.

    If a brave individual makes their own experimentation and verifies that it charges and OTGs and you tell the rest of us, you're a hero.

    Maybe one of you has a good knowledge on the USB standard to have more confidence in such an experience... like what the ID pin 4 REALLY supposed to work for example?

    That's what I know so far.  If you think you can help, thanks in advance, or if this helped you, then your quite welcome.

    It works

    http://Accessories.us.Dell.com/SNA/ProductDetail.aspx?c=us & l = to & CS = 19 & SKU = 470-abes & baynote_bnrank = 0 & baynote_irrank = 0 & ~ CK = baynoteSearch & dgc = CJ & cid = 47997 & lid = 4279734 & acd = 10550055-4485850-eb75dcb47e53437680ed323a1f4885fe

    Evidence

    http://targusblog.com/2014/11/25/how-to-turn-a-99-Tablet-into-a-workstation/

    But it's 4 x the price in Europe

    Have fun

  • How read datalog multiple files at the same time?

    Hello friends...

    can someone help me to show how read datalog multiple files at the same time?

    Here is the example of my case.

    I have 500 files in a folder. each file contains a waveform and its setting.

    and then I want to do a card spectral these files, because these files have been saved in the order.

    the point is to know how to read these 500 files at once? I made a program to read these files, but the program can read these files in one by one. So it is very uncomfortable to read 500 files one by one. can someone help me solve this problem? Thank you. I hope you can show me the program. Thank you again...

    Hi jojo,

    Well, in the range of functions daughter, you will find a function to list the contents of the folder. This allows to get the names of all the files datalog, and then use a loop FOR to read.

    No one is obliged to provide 500 names of files manually - that's why we use a programming language to let the computer do the stupid work

  • How do I get the acceleration and GPS at the same time?

    Goal: Get an acceleration and GPS at the same time

    Current situation: I can get acceleration or GPS. When I try to get the data, the code ends.

    Mini Code

    If (bps_event_get_domain (event) == sensor_get_domain()) {}
    handle_acceleration_data();
    }
    If (bps_event_get_domain (event) is {geolocation_get_domain()})

    handle_gps_data();

    }

    Question: Anyone know how to get data in an event or other methods?

    Thank you for your attention,

    Your code shows event handling, but not the request or to obtain events.  Can you show more of your code?  The following should work (note there is no error checking):

    sensor_request_events(SENSOR_TYPE_ACCELEROMETER);
    geolocation_set_period(1);
    geolocation_request_events(0);
    
    bps_event_t *event;
    while (true) {
    
        bps_get_event(&event, -1);
        if (!event) {
            continue;
        }
    
        if (bps_event_get_domain(event) == sensor_get_domain()) {
            handle_acceleration_data(event);
        } else if (bps_event_get_domain(event) == geolocation_get_domain()) {
            handle_gps_data(event);
        }
    }
    
  • How to share the Image and the text on Facebook and Twitter at the same time?

    Hi, I made a text box enter the text and also produce the selector to choose the image.

    So I text and the imagePath.

    How to share this text and image for facebook and twitter at the same time?

    (the example is like checkin on Foursquare app for BB10)

    [* If you use the invocation sharing, I can't pick one, ex: come share on facebook]

    Thank you

    It is not currently supported.

    http://supportforums.BlackBerry.com/T5/native-development/share-text-and-photo-for-the-same-invocati...

  • To scale an imported graphic (framework and content at the same time)

    I read the help files, the knowledge base, even watched instructional videos but can ' t find a way to scale a placed graphic. I understand the difference between a frame and the content. I can put the scale either by using the mouse or digital controls. But to measure these things, what I owe to scale each seseparately?

    For example, I want the picture size to 2.0 inches wide. I don't see a way to do this in a single operation.

    I see that you CAN do in %. Select the image of the object and if you the size to 50%, it works - framework and content go to half size. But if I size dimension (width = 1.5 "), I have the frame, then the content.

    Is there a way to act on the structure and content at the same time?

    It is InDesign CS3 on Mac.

    It is not really intuitive. Select the image, and then look in the control panel for the horizontal and vertical scale fields, which should all two say 100% when you first select an object. The unit of measure in these areas by default is %, but as any of the numeric fields of ID, you can use any unit you want, as long as tell InDesign what units you are using. If you want to 2.0 ", enter 2.0i (you need not nitrogen) in the width field and press ENTER. Your frame and content will scale to 2 ".

  • on the Iphone 7. How to listen to music, if we have a normal headset and charge at the same time?

    How to listen to music, if we have a normal headset and charge at the same time?

    < re-titled by host >

    It sopposed must be a wireless charging dock to be launched shortly if the dock does not so it is a disappointment

  • My iphone 6 does not light, I held the home button and power at the same time and no vibration or no sign of life, any suggestions as to what it could be would be appreciated

    Phone bought 3 days ago and I fight to turn it on, it's just a black screen, the phone records into iTunes but does not turn, I tried holding down the home button and power at the same time and still nothing, I presume that it's a battery problem as if it was the backlight then the phone vibrated when you press the power button help Please!

    Marley6921 wrote:

    Phone bought 3 days ago and I fight to turn it on, it's just a black screen, the phone records into iTunes but does not turn, I tried holding down the home button and power at the same time and still nothing, I presume that it's a battery problem as if it was the backlight then the phone vibrated when you press the power button help Please!

    Put it on wait ten minutes if the phone did not come one, then hold down the sleep/Home button until you see the apple logo and then release, make sure that the phone is still connected to the charger.

  • Satellite M30X-122: how to use the headphones and speaker at the same time?

    Hello

    y at - it a possiblity to use headphones and speaker at the same time?
    When I plug the headphones into the Jack, the speaker is created off the coast of the moment.

    Thank you
    Peter

    Hi Peter,.

    There is unfortunately no way to use both headphones and speakers at the same time. This is because tghere's a disconnection physical power for the internal speakers when you plug in the headphones. It is not by software. The only way around this would be to dismantle the headphones Jack and solder connections that are broken when you insert the headphone permanently.

    Kind regards

  • Satellite Pro L770 - 14 H - the use of WLan and Bluetooth at the same time

    I have a Satellite Pro L770 - 14H and you want to use a Bluetooth mouse.
    With the 'FN' and F8 key I am capable of coding between WLAN and Bluetooth, but it is not possibel to have both at the same time.

    My question is: How can I have WLAN and Bluetooth at the same time?
    To use a Bluetooth mouse with WLAN connection.

    Thank you very much
    Helmut

    Hello

    Using Win 8.1?

    Usually you could turn on and off Bluetooth in Win 8.1
    Settings PC-> PC &-> of Bluetooth devices

    There, you can move the cursor to BT for THE position.

  • Is it possible to use iCloud shares photos with the two opening and Photos at the same time?

    Is it possible to use iCloud shares photos with the two opening and Photos at the same time?

    Non - PEAK is not a feature of iPhoto or Aperture - this is new with Photos

    LN

  • I want to delete email messages on iphone and mac at the same time

    How can I delete email messages on iphone and mac at the same time?

    Use an e-mail provider that uses the IMAP protocol.

  • Unable to connect WiFi and Bluetooth at the same time

    : After that I updated to KitKat 4.4.2 cannot use WiFi and Bluetooth at the same time. Must turn off Bluetooth to use WiFi.can you help with this problem. I have the Motorola droid RAZR maxx hd

  • Lenovo L450 Dock Pro video output DVI and DP at the same time

    Hello

    I have L450 NB and Pro Dock station.

    I have question. Can I connect and use two monitors (1 - DVI, 2 - displayport)?

    In this link (https://support.lenovo.com/cz/cs/documents/pd029622) is writable:

    3 - any combination

    What it means?

    If I connect DP and DVI at the same time came out video only on DP.

    Is possible to use two screens on the digital output?

    Tomas

    maniakum wrote:
    Is possible to use two screens on the digital output?

    No, the DisplayPort and DVI Pro docking station port can be used at the same time. So, you need the Dock Ultra.

  • Why can't acquire data from strain and resistance at the same time with a NI 9219 module?

    Hello

    I use a chassis with a NI9219 module 9172 cDAQ to try to acquire the strain and resistance at the same time, with the Labview SignalExpress software.  Is this possible?  When I try to display two values of signal at the same time, I get an error of assistant DAQ 50103 'the specified resource is reserved.  The operation could not be performed as indicated.  I used to be able to acquire the strain and tension at the same time, but now even that gives me error 50103.  I have hours trying to figure this out.  Any help would be greatly appreciated.

    Thank you

    Justin

    That's all!  Thank you very much, now I can sleep tonight - seriously!

    Thanks again,

    Justin

Maybe you are looking for

  • IMac will not be updated to el capitan

    I have a nine purchased imac in 2013 its been running on the mountain lion 10.8.5 it was slow so I decided to reset to the factory settings. He returned to 10.8.5 as soon as it was factory reset, but I tried the update el capitan... It started to dow

  • Y700 - Dolby Audio does not work after resetting the system

    After resetting my computer to factory settings, audio dolby does not work. This is the error message I get: "Your installation is missing components. Reinstall the audio driver or the stand-alone components available on the support site for the manu

  • TestStand step to call a new instance of Teststand environment

    I am trying to create a troubleshooting step and I would that this step to be able to open a new instance of the testbed environment. I if the troubleshooting step is encountered, the current sequence to stop running, open a new test sequence that wi

  • 3050 a J611g

    I can scan my Android Tablet wireless using spring?

  • Impossible to install Works 8 update KB2431831

    I received a notice of updates to security on 15/12/10 11. They are all charging very well with the exception of the 9-kb2431831 works. I tried 3 times, twice with my off s Norton. I get an error code 646. I'm using vista Home premium 64-bit. I know