At the same time perform write and read

Hello

I use
DAQmx NOR-USB-6259

I have problem with parallel
run the analog signal (for example 1000 points of writing
by 1 second) channel Dev1/ao0 physics and at the same time read
1000 points per second physics channel Dev1/ai0 1
How to do this?
I tried to use DAQmxExportSignal, but it does work well, or simply, I
don't know how to do
correctly maybe I should use a different
the function?

Best regards

AndrzejS

Hi Andrzej,

Yes, it's possible, but with your device not at the same time, just with a little delay (about 1 US).

The track is almost the same thing, you need to add 2 more channels of analog inputs to your task and use playback of multiple samples. Just check the VB Clk Acq - Int example.

I can't help with particular code, because I'm not familiar with VB, but daqmx functions are very similar, if this change is 3 click in LabVIEW, then it must also be very easy in VB. You manage tasks, if your task contains more channels HERE you will receive samples of all channels.

I hope this helps and let me know if I misunderstood something.

Gabor

Tags: NI Software

Similar Questions

  • I want to open two different pdf documents and view them at the same time so I can read about everything by watching the other document.  I use Acrobat DC and whenever I open a document it creates a tab and I can only examine a document at a time.

    I want to open two different pdf documents and view them at the same time so I can read a whole watching the other document.  I use Acrobat DC and whenever I open a document, it creates a tab and I can only examine a document at a time. Is it possible to display two or more documents without having to toggle tabs?

    Don't think that will work, but you can drag the tab to a new window. Each window can have a set of tabs.

  • I use VISA 5.3 for reading my serial device... my standard equipment is WELL this device will send four messages for only one comand I need all four messages to display at the same time in VISA SERIES READ BUFFER

    I use VISA 5.3 for reading my serial device... my standard equipment is WELL this device will send four messages of single command given to this instrument... and I read messages through VISA series READ... during the race, the VI buffer displays the messages individually...  I need all four messages to display at the same time in VISA SERIES READ BUFFER, in order to find more than this block, I should add from the palette of function.

    Disable character of endpoint detection or make four readings where you concantanate simply the strings together.

  • When using my computer, all applications and the windows are closed at the same time, got disconnected and the computer turns off as if someone stops manually.

    Original title: it's a virus that's causing this?

    It happened a few times now. While I use my computer, all applications and the windows are closed at the same time, I am disconnected and the computer is off, as if someone manually stops the computer. I turn on the computer and log in and everything seems to be okay. No data deleted, not that I could find and detect anyway. One day when I turned on the computer, it run chkdsk before doing the usual startup. I use the computer for 2 years and this is the first time, she never did a chkdsk on its own. I used Microsoft Essentials and no viruses were found.

    Should I worry?

    Hello

    You can read the following article and try to download the Microsoft Safety Scanner and perform a full scan on your computer and check.

    Microsoft safety scanner

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Check if there are logs of events related to the issue in the event viewer which may help us to solve the problem of the:

    What are the information contained in the logs of the event (Event Viewer)?

  • At the same time, moving audio and video to another layer

    I have all my files audio and video, linked between them on my calendar, so they slide left and right together, but if I try, say, drag a video clip up to V2 V1 layer the audio remains on A1 (even if it remained linked to the extent where your stay directly on the video clip and do not get synchronized). Is there a way to move audio and video of a clip to the same layer numbered in one step, rather than to move them separately?

    Don't let the mouse and the SHIFT when moving the audio part that is.

  • Clocks additional all tell the same time and I can't change the time at all

    I need to understand how the clock on my computer application construction. There additional clocks that are all about the same time as mine and it does not give me any other time zone applied to them. How to fix this? It is said for the moment available only box is there a fix Ulaanbaatar.

    OK did it... now what?

    Back to additional clocks. See all changes if you click on this pointer.

    If nothing changes, then read this tutorial. It's verification options from drives that are designed to right the wrongs of your disks. Read it all first, particularly two method, step 3 and 4, with regard to changes in the disk check.
    When finished I wrapped up ready, start with a method.
    Remember, you will need to restart in order to start the disk check.

    t-4-2

  • I can switch between the code sheet and css html, but I would like to see them both at the same time as well as the design window. Right now and can see rather the design and code html or design and css. How can I arrange to see all at the same time, of

    Hello

    My name is Ellie and I am new to Dreamweaver.

    I can switch between the code sheet and css html, but I would like to see them both at the same time as well as the design window. Right now and can see rather the design and code html or design and css. How can I arrange to see everything at the same time, design, HTML and CSS?

    Thank you

    It ends up something like that...

  • Can Uou cause DC Pro Acrobat installed on a PC and Mac at the same time?

    I have a Mac with Parallels running Windows 7. Can I buy a single license and run both versions at the same time? Mac and PC?

    Hi Robert,.

    With the subscription of Acrobat Pro DC, yes you can. It is not possible with a perpetual license.

    Thank you

    Abhishek

  • How can I have 2 email accounts open at the same time using the apple mail icon?

    How to open 2 e-mail accounts at the same time?

    Hello carroll12,

    Thank you for using communities of Apple Support.

    I see that you do not want to open two e-mail accounts at the same time using the Mail application. I understand perfectly. I have multiple e-mail accounts set up in my Mail application. I'm happy to help you with this.

    You can have more than one e-mail account set up in the Mail application. The first time you open Mail, it may prompt you to add an e-mail account (if you have not already done). Select an account type, and then enter your account information. To add another account, choose Mail > add an account, select an account type, and then enter your account information. Make sure that the Mail check box is selected for the account.

    If you have already both set in place, and I just want to be able to view both on the screen at the same time, open Mail, and then click file at the top.  From there, select the option for the new window of the observer.  This will open a new window where you can see each of the individual mailboxes on the same screen.

    Have an amazing day!

  • Helmet + pregnant at the same time

    How do you get sound from your headphones and speakers at the same time? I played with the settings, but it seems that you select each and make them 'default' to get a sound on their part one at a time.  I would use my headphones and speakers and do not have to continually change the settings.

    Hello MurseIRL,

    Thank you for your message.  To clarify, you try to get a sound from your speakers and headphones at the same time, or you are trying to get sound to play simultaneously on different applications.  It is not possible to play sounds at the same time by speakers and headphones because only can be default at the same time.  You can, however, play the sounds of two different applications (e.g. WMP12 and video game).  To do this, follow the steps below:
    Open WMP12, play a song with headphones being the default player.
    Open your second request and change the default player to the speakers.
    Your music will continue to play through your headphones while playing your second request through your speakers.
    Please let us know if this or do not answer your question.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • [After Effects] How to use "Convert Vertex Tool" for several vertex at the same time?

    Hey guys,.

    I used the "Convert Vertex Tool" to create a curve on a step of stairs and by mistake it curve all the point of my staircase which is what I wanted to do but point by point. I didn't know it was possible to point (s) at the same time.

    And now I keep it again. I want to convert all the points as a curve at the same time.

    If someone has the magic shortcut, please let me know.

    See you soon.

    uncurved.JPGall-curved.JPG

    It's all using the right tools.

    1. Select the layer with the path
    2. Select the tool pen (g)
    3. Press and hold Ctrl/Cmnd and place the cursor on any part of the path to select - you will see a solid filled small arrow
    4. Release the Ctrl/Cmnd key and move the path tool, so you can drag a selection around the verticies
    5. Hold Down the Ctrl/Cmnd key to reveal an arrow small white selection
    6. Drag your selected verticies
    7. Release the Ctrl/Cmnd key and press the Alt/Option key to reveal the convert vertex tool
    8. Click on any vertex to change linear to Bezier or vice versa

    This allows you to convert all the selected vertices. You can't click and drag, but you can convert it to a symmetrical set of Bezier curves.

  • Questions about serial port read and write at the same time

    Hi I create a user interface for the communication serial port, where there are essentially 2 front panels, where the user enters commands one and the other where the prints of UART is delivered. I thought initially using a state machine but the reading and writing may be independent sometimes and so I can't rely on States. I searched a bit on the forum and he left me even more confused. Help, please.

    (1) in a thread that sessions visa duplicated has been used for writing and reading at the same time, is it recommendable? How will this affect performance?

    (2) essentially when the vi is reading data are it must constantly view as well, however, someone said that it takes too much memory to use shift registers, so how do I go about this? If using a State in queue after the loop of reading it affects the playback loop and be sequential?

    In addition anyway is to move the cursor to the latest data from the indicator

    (3) for the control of the user input, assumes that the user has entered an order in the control and press ENTER, then writing visa is launched, but if it comes in another string and press enter then write must be called again... is - it possible? will detect the previous commands in the control of compensation?

    (4) according to my understand the expectation for the event do not monopolize resources and writing can go in parallel, am I right?

    Thank you. I have attached a very basic vi which took me to the point, but I want to make it more robust. Please help especially in the part of the user interface.

    su_a,

    (1) you can have only one session to a port. Several UART can handle full duplex so performance is not affected.  At flow rates of high data and large amounts of data, buffering and latencies of BONE can become a problem.

    (2) who told you that shift registers using too much memory? Shift registers are usually the best way to transfer data from one iteration to another. String concatenation inside a loop (registry to offset or not) causes the chain to develop and may require re-allocation of memory.  Your VI never clears the string so its cold length become very large.

    Generally, you do not have an active cursor on an indicator.  If you want to always display the most recently received characters and turn on the vertical scroll bar use a property node to keep scrolls to the bottom.  This can be annoying for users if they attempt to manually move the scroll bar and find that the program continues to move it back automatically.

    (3) if the user has changed the value in the chain of command, when he hits enter the modified value event fires.  Simply strike brace does not change the value and does not trigger the event.  Not control need to be erased, but the value that he has to change.  If you want to send the same command again, have a button send a command may be a better choice.

    (4) write is a case of the event.  It is not in parallel with anything.  The structure of the event do not monopolize resources.  The other loop will run while it waits.

    The event loop will not stop when you press the STOP button. Probably it wll take two command: change events of value after JUDGMENT before any loop stops.  Replace the Timeout event (which never expires) with a STOP: value change event and a real wire of this judgment to the Terminal endpoint.  Remove the local variable.  Make mechanical locking when released.

    Lynn

  • TCP Read and Write at the same time

    Hello everyone,

    I have a question about parallelism in TCP connections.

    I know that it is possible to read and write on the same connection ID.

    So, if you ReadTCP and WriteTCP block each other, if you use the same TCP connection ID?

    Or to request more precise if I run two while loops, in parallel, with one end by calling WriteTCP and the other called ReadTCP.

    one of the delay of loops (or block) will be the other if both loops call their VI TCP at the same time right?

    The system is Windows 7 and Labview 2012.

    Kind regards

    Sebastian

    They are perfectly parallel.  Just write in one and read it from the other.  There is no conflict.

    See My TCP articles for more details.

  • 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.

  • Read data series and detect the break in series at the same time

    I need to communicate with a serial device that sends messages back, but also sends a break, break, break, break series combo that I need to listen to. I've never worked with before series breaks but the only VI I found which seems to detect pending VISA on event VI with the series Break parameter. I'm not sure that understand how I could detect a break in the series, but also to be reading and writing messages at the same time in the meantime. Isn't this possible?

    If you use multiple loops, I think you can do.  You use 1 loop to check to see if there is data and 1 loop looking for breaks series.  Then use queues, authors of notifications or events to anyone who needs to know what you have experienced.

Maybe you are looking for