Exit DAQmx problem

I have a few simple problems that I can't solve.

What can possibly be evil in this VI?

I have the much larger application but my USB - 6361 did not have an output signal, so I wanted to see what it can cause. Creating the function of output from scratch, I came very quickly in this State and it does not have anything. (Application of simple output: create + Write (Autostart True) + clear works well).

It is very surprising to me that I did an application more complicated in the past using DAQmx and it was preety work well.

I found what the problem was. Function killed Clear task before he send anything

Topic should go in the trash.

Tags: NI Hardware

Similar Questions

  • Windows 7 displays the error message when you exit + cursor problem

    Two issues here. Phoshop CS5 on Wind 7 64-bit.

    Number of physical processors: 8
    Processor speed: 3073 MHz
    Built-in memory: 12279 MB
    Free memory: 9577 MB
    Memory available to Photoshop: 10934 MB
    Memory used by Photoshop: 80%
    Tile image size: 128K

    First issue is since the last update automatic Adobe (why fix what is not broken?) Whenever I go out now Photoshop I get the message "Server QT Adobe has stoped working" and sometimes when I go out the bridge. InDesign behaves as evil. I can no longer start a previous document in the file without ID Manager crashing on.

    The other is the sliders in the Clone and delete lose their advantage (become invisable) without any reason - well not quite. Noise Ninja crashed in Photoshop when I tried to use it. I reinstalled it and all is well. The issue of cursor seems to be intermittent but came back (for no reason), after that I reinstalled NN. I can't seem to change the cursor, no matter what I do. The problem now seriously affect how I work. Almost any return to Win XP, who ran perfectly in Photoshop CS5.

    Any help will be accepted with gratitude.

    Doug

    Cursor problems are known to be caused by outdated video drivers (nVidia).

    Assuming you have a nVidia (which model?) video card, go to their web site and download and install the latest video drivers for your card.

    Also, this could very well solve your crash.

    Don't forget the video drivers to apply the OpenGL system, on which Photoshop relies heavily.

    -Christmas

  • Cannot undo the Trigger on DAQmx task configuration

    Hello

    I'm running into a DAQmx problem where the type of trigger for departure does not properly get sent to the material in the case following (using X with DAQmx 9.5.1 series):

    1 set up and run an output meter task finished with a trigger digital start (I have not tested other channel or other types of triggers).

    2. stop the task before a trigger is sent to hardware (I have not tested what happens that if you send the trigger first - hardware in my real application, the task is redeclenchables anyway).

    3 try to configure the task to use no trigger to start and start the task.

    4 do the trigger type queries in the software at this point says 'none', but the material is still configured to use the trigger to start.  It seems to be a way to configure the hardware to do not use the trigger at this point.

    It is an embarrassment to me because I would have liked to keep the same task autour handle, but in order to switch between the modes of trigger and no trigger I have to erase the task completely and re - initialize everything that's embarrassing for me since in my application, I have at least 2 son can stop the task and I can provide is no longer simply the task manage for each thread during the launch it.

    A simple way to reproduce the problem, just try to start the VI below:

    You can tell that the trigger is always configured as none pulse is generated, and the loop is not closed until a trigger is provided on PFI0.  Re-reading the trigger type using a property node you find it inconsistent with what really material.

    I don't need really workaround (I should be able to lead a myself who is to clear the task each time that trigger properties are task parameters changed and storage myself rather than relying on DAQmx) but I wanted to just report it as a bug.  The solution is, but it adds a lot of complexity to my request and is as ineffective as it is clearing unnecessarily and re-creating a task.

    Best regards

    Hey John,

    Good to hear from you.

    I've reproduced the problem and filed the application of Corrective Action (365307) to follow up the matter.

    Thank you.

  • good resources DAQmx

    Ive just started trying to play with a box daq for my current project. Ive been searching google to find good resources out of which continues, but most things seem to be quite lacking. specifically, I'm trying to use events and I had a push button to work the activation/deactivation of an indicator, but now im trying to read in the accelerometer data and which seems to be a bit more complicated.

    all links to the good info on the use of the acquisition of data with events would be great.

    Thank you

    Hello

    You can share your code?

    Have you searche the examples that come with LabVIEW? There is an example in the material of entry and exit-> DAQmx-> Analog Input-> voltage (events) - continuous Input.vi

    Good luck.

  • has triggered the numerical sequence of read/write

    Hello

    I'm pretty sure it's impossible to do in Labview, but thought I would ask the question just in case:

    On a digital falling edge I need to define a digital line on a highest PCI-6224 and a low, then read sixteen lines as a port.  Output high and low lines should change status then and sixteen lines should be read again.

    The process is repeated on the edges of successive falls.  The time between edges may be as short as 11 microseconds (90kHz).

    We have currently a program written in C++ to do this job, but I want to create something a little more friendly and have virtually no C++ experience myself.

    Thank you.

    Hi Simon,.

    I have an idea how to do that using the DAQmx card.  This has not been tested, but I think it should work with just a few tricks with DAQmx.  There are three tasks that will be required:

    Meter output
    ==============

    This should be a task redeclenchables meter.  Take a look at the example in the example finder LabVIEW under Hardware Input/Ouput > DAQmx > generating digital pulses > Gen dig Pulse Train-finishes-redeclenchables.

    1. This should generate two pulse whenever the external trigger is received so your 11us impulses are the trigger for this task.
    2. these impulses are then for each reading of digital lines:

    Rising edge - changed lines to enable
    Falling edge - read data.

    By making these large enough pulse (> 140ns) that will take care of the running lines.

    3. the gap between pulses must be long enough for any delay required between the readings.

    Digital output
    ==============

    It must be a regenerative continuous power - see example material entry and exit > DAQmx > digital generation > Cont writing Dig Ext Clock.vi - Port.

    1. the clock source should be set by right-clicking on the source control.  Select i/o filtering name and then check the box advanced terminals.  You can then select him appropriates the in-house production of counters.

    2. you need to set the clock for the front edge.

    3. the entrepreneurs that the buffer with two outputs that we require for example 10 and 01 and then sending a pulse to the clock pass effectively between the two.

    Digital input
    =============

    This should be a task of standard continuous input as in the example of the input and output material > DAQmx > digital measures > Cont read Dig channel-Ext Clk.vi

    1. set up the VI of timing almost identical to the output task.  Same source, but this time on the front clock down.

    2 do with the data you want!

    Overall program
    ===============

    The main consideration is that you should start the meter output last as soon as it runs other can start synchronization of data.

    I hope this helps and is clear enough.  I would like to know if it makes sense or if you would like more information or even no matter what assistance this program construction.

    Kind regards

  • Fastest time expected update - NI 9265 current of output

    I use an output module current 9265 with 9174 chassis.  Basically, I want to read in a text file, analyze a value to a certain dt (at the present time, I am 20 Hz) and writing a value to the card, which will control a valve.  Break down: adjustment points (1) read a 4-20ma 2) output the value of EI file to a certain dt for each iteration in the while loop.  Can I expect this system to be close to 20 Hz?  I need my timing to be very close, but I understand that by using a Windows system (Windows 7) will cause the jitter in the system and avoiding the near-perfect.  Thank you.

    Hello Mr._Bass,

    The NI 9265 updates its output values each 9.5 US, that only calculates over 100,000 samples per second.  Therefore, the hardware itself has the ability to maintain this speed.  Depending on your system and the amount expected from the jig, this number can vary quite a bit depending on your machine.  If you have typical tasks such as antivirus, firewall, or any other thing that Windows is running in the background, jitter will increase.  On average, the amount of jitter in a windows system is the order of the hundred nanoseconds, but can vary considerably.  Outputs at 20 Hz will be an update with a period of 50 000 (0.05 s), so even if your system jitter is high and about 50 US, it would affect only your calendar of 0.1%.  Please keep in mind that these amounts of jitter are estimates and may be not accurate for your system.

    If your application must be very closely controlled, and you see higher levels of jitter that your system can support, there are steps to take to reduce jitter.  The best way is to use LabVIEW Real-time, but this option would probably a bit of review to implement.  I recommend just using a timed in LabVIEW for Windows hardware output operation.  Because the jitter occurs in the operating system, you can write your data to the physical buffer of your NOR-9265, where the sample clock will have no interference of Windows.  "To see the difference in hardware and software timed operation, launch the Finder for example OR by browsing in LabVIEW for Help" find examples.  "" "Then select hardware entry and exit" DAQmx "analog generation ' current.  You can see two examples, Gen Mult current updates-Int clock VI and Gen Mult current updates-SW Timed VI.  The main difference between these two screws is the use of the VI DAQmx Timing for timing of setting material being controlled.  More information on the implementation of operations of timed material are available here: http://www.ni.com/white-paper/2835/en#toc5

    I hope you find this information useful.  If you are concerned with the jig in your system and need an easy way to measure and control, you might also look at using the NI LabVIEW Jitter analysis tools.  Good luck with your application.

    Concerning

  • How to use NI9474 and cdaq9172 to generate the right variable cycle pulse 1 kHz

    Hello, I would like to use a NI9474 (in a cdaq9172 chassis) to send a square with a frequency of 1 kHz wave. The cycle will change just about every second (based on NI9205 voltage readings in all separate loop, by controlling the local variable 'duty'). It is important to have a temporal resolution of decent output; that is the difference between 50% and 51% of duty cycle must be determined. 9474 says that it has a speed of 1, so I expect that this is possible. This is used for a buck converter. The output is switching on and off a MOSFET, which only needs 5 volts, and less than a mA, when on. I tried a "simulate" with a square wave signal using a frequency of 1 kHz and 100kS/s and introduced in a DAQ assist with dynamic data to the converter Boolean between (probably not the best approach I admit). I tried also implemented using the DAQmx screw (without help). In both cases, I got an error that says that I need an external clock. I know that the chassis has an internal counter. This could be used for synchronization? I looked at examples of Pulse counter, but which seems to be to use a meter as output, not a digital channel, so I'm a little confused. The numeric examples do not seem to be what I want either. If I can't use the chassis for synchronization, it is possible, that I could get a NI9401. Could I use this counting or establishment of a clock (I could attach a function generator using a square wave of 1 Mhz for example)? For example with a 1 Mhz clock, then for a 50% duty cycle signal 1 kHz, after 500 clocks range from low to high and high to low after the other 500, (or 510 and 490 in 51% duty). Is something like that possible? Thanks for any advice, Thomas I should confess do not understand the things of meter too well at this point. Many of the examples I've seen, are apparently complicated screws.

    Hi Thomas,

    You can certainly do with a counter pulse train generation by using your 9474 in a cDAQ-9172 chassis.  Make sure that the module is in the slot 5 or 6 (latest chassis do not have this restriction).  Examples of pulse train located in the finder example under entry and exit-> DAQmx hardware-> generating digital impulses.  The example of Gen dig Pulse Train - Continuous.vi is probably in the neighborhood of what you want.

    To update the market on the fly factor, write the Co.Pulse.DutyCyc channel property after the task starts.

  • LabVIEW 2009 NI USB-6225 example

    I am awaiting the arrival of my acquisition of data NI USB-6225, and I'm looking for a sample VI in Labview 2009 as a starting point for my own stand-alone application.

    Any direction to an example would be appreciated...

    See you soon,.

    TJL

    First of all, make sure that you have installed your dvd driver DAQmx and click Help > find examples. Go to the hardware section of entrance and exit > DAQmx. You can emulate the DAQ card in MAX and run a sample while you wait for the current device.

    If you have not reviewed the before examples, you have been missing a little bit.

  • Update X 3000 Modem Router

    Hello

    I recently bought two devices x 3000.

    Both come with the 1.0.01 installed firmware.

    Updated a device in one place at the 1.0.03.001 exit without problem.

    A day later I don't try a second location to perform the same action.

    I downloaded the FW_X3000_1.0.03.001.bin firmware from the Cisco downloads for the device and receive a pop up

    "The image file is incorrect.

    I downloaded the image twice and it seems correct in size. I'm following the same process that worked without problem the day before.

    Ideas / suggestions please?

    Thank you very much

    Mike

    kardek wrote:

    Hello

    I recently bought two devices x 3000.

    Both come with the 1.0.01 installed firmware.

    Updated a device in one place at the 1.0.03.001 exit without problem.

    A day later I don't try a second location to perform the same action.

    I downloaded the FW_X3000_1.0.03.001.bin firmware from the Cisco downloads for the device and receive a pop up

    "The image file is incorrect.

    I downloaded the image twice and it seems correct in size. I'm following the same process that worked without problem the day before.

    Ideas / suggestions please?

    Thank you very much

    Mike

    Have you tried another browser?

  • the host performance, no update values not returned to the orchestrator script...

    Hope someone can tell what I'm doing wrong.

    I'm still on 5.5 and trying to get the load data for ESXi hosts (via connected to the orchestrator Server vcenter) to decide on which host is the best target for vmotion-action.

    As I could not find any workflow builtin or efforts to get data to load, I tried to dig myself via a script.

    • find all hosts
    • for each reading of the host.summary.quickStats.overallCpuUsage host

    I have values, but they are static and do not get updated.

    If I use perl-sdk and perform the same actions to vcenter I get updated for each esxi host values.

    Browse objects via the web on the server vcenter watch also updated these values.

    If only my orchestrator workflow seems to be wrong.

    I do not suspect that the workflow in orchestrator performs a query only the inventory and not the living objects. It is much faster than doing the same thing with perl-sdk.

    My little script (which could be run in a single Scriptable task with no impression one journal entry/exit). Problem can be seen by newspaper printing. Total used MHz does not change in my environment.

    --------------------------------CUT

    var host = System.getModule("com.vmware.library.vc.host").getAllHostSystems ();

    var tothz = 0;

    for {(i in hosts)

    var cpu_used =. summary.quickStats.overallCpuUsage of hosts [i];

    tothz = tothz + cpu_used;

    }


    System.log ("tothz:"+ tothz ");

    --------------------------------CUT

    Q1: I am doing something stupid in my script?

    Q2: I have to do some extra steps to get the updated values?

    Q3: Is there a better way to find/load-performance data for ESXi hosts?

    Stupid enough to write the sollution myself

    It is possible to force an update of the inventory values for objects that are important to your script/workflow.

    It can be done by the following function in a script.

    VcPlugin.refreshObjects (object-to-update - in - stock)

    So for my specific problem, I could solve it with a single additional line.

    --------------------------------CUT

    var host = System.getModule("com.vmware.library.vc.host").getAllHostSystems ();

    var tothz = 0;

    for {(i in hosts)

    VcPlugin.refreshObjects (the hosts [i]) / *.< my="" new="" line="">

    var cpu_used =. summary.quickStats.overallCpuUsage of hosts [i];

    tothz = tothz + cpu_used;

    }

    System.log ("tothz:"+ tothz ");

    --------------------------------CUT

    This seems to force an update of the inventory values before I use them.

    It will certainly slow down my script a little, but it's part of the game.

  • Help with esxtop

    I need assistance with esxtop please.  I want to record some disk stats.  Here's what I'm doing and what's happening.

    1. I enter esxtop and press "u".

    2. I then press 'f' to change my fields and select the settings that I want.

    3. I then press 'W' to save the information

    4. I then return to esxtop and press 'ctrl-c' to exit.

    5. I then run "esxtop b d 5 - n 500 > esxtop.csv.»

    Once the stats were captured that I open it in perfmon, I have all these different statistics - I'm not interested by the cpu/memory/etc.  I want only disk stats to be captured.  I did something wrong with steps 1-5?  is by pressing 'Ctrl-c' resetting information?  Actually by pressing ctrl-c to exit the problem?  Any advice would be great!

    Please keep in mind that launch ESXTOP in typing simply 'esxtop"will always load the configuration stored in/root/esxtop41rc.

    To launch a custom configuration file, you must specify the option 'c '.

  • Problem with the release of DAQmx not adjusted

    Hello

    I'm trying to convert a recording program generally written in Labview to exit of the floating numbers of unsigned integers. I use the DAQmx read where I choose the unadjusted output (2D U16 NChan), the Board of Directors is a PCI-6023E. I have the program running, but the output is a little strange. The input range is of +/-10 V. For positive voltages I get integers from 0 to 2047. For negative voltages I get integers from 2 ^ 16-2048-2 ^ 16.  I want to have is of course 0-10 V and 4096 for 10 V. I'm looking through the different options in lu DAQmx etc. without a bit of luck. If someone has an idea that could shed some light on my problem it would be greatly appreciated.

    Best regards

    PAL Egil

    The type U16 represents numbers as unsigned quantities.  In particular, I16 (signed integer) value of-1, hexadecimal FFFF, is 65535.  If you save the values as I16 (assuming this is possible with your device) or simply convert (using the auxiliary palette of Conversion of the digital palette) I16, I think you get what you expect.

    Bob Schor

  • Problem syncing DAQmx

    I'm working on a data acquisition system for my company and we are currently running on a problem with the DAQmx code.  The program follows the following general algorithm:

    1. the value digital outputs control material

    2. read 32 inputs analog using traditional DAQ

    3. read 32 for thermocouple with DAQmx (we are using this because recent material will not support ACQUISITION OF DATA trans.)

    4. processing of data, look for entries user and other functions of the program.

    5. loop at 1 unless the user has ordered the program to exit.

    I'm trying to let him run as fast as possible so that we can acquire data at a reasonable rate, and my goal is to get the loop to take less than 10ms.  The problem I encounter is that I'm getting error-200279 of thermocouple DAQmx code.  As I understand it, this means that I read in the buffer zone that is slower that data are put into the buffer, and the data that I'm reading are getting crushed.  This is not a problem with the acquisition of data analog, since we put in place the traditional DAQ to buffer any.  When the loop is at setp 2 it draws just in all that is on the analog channels at the moment.  Thermocouples will read, but will not make it to a uniform rate.  All the secondes.25 or the time to complete a loop jump of 8ms ~ to ~ 80ms, and I'm pretty sure that the problem is with the DAQmx code.

    My question: what is the easiest way to get DAQmx to behave like a single traditional DAQ scan?  I don't want / need an acquisition in the buffer, and I'm only using DAQmx because I can't get DAQ traditional to work with my new thermocouple material.  What I would like is to configure DAQmx so it will just read the current from the thermocouple data (whatever it is) whenever the program gets in step 3.  If I can do it without the loop of the program beyond 10ms by trolling line, it'll be great.

    Any help on this is appreciated.


  • Problem after update DAQmx 15.5.1

    Just updated DAQmx 15.5.1 on the host computer. Try to use MAX to update the DAQmx software on the PXI system at 15.5.1 as well, but I received the following error message:

    I would appreciate any suggestion to determine this.  I'm using LabVIEW 2015 SP1.

    I use the OTR (pharlap) on the PXI system.

    I think that MAX has some issues to resolve dependencies. I actually fixed this problem manually set these 4 packs of resettlement in MAX and the update of DAQmx. MAX will become meaningless and crash if I was not choosing these packages in a certain order, so it took me some trial and error. In the end, when I select all packages associated update DAQmx together these 4 packages to reinstall, the installation process would go through.

    I suppose that if I format and reinstall the system on PXI system, it can also work, but I wasn't looking at it.

  • Problem with DAQmx Schedule VI (sample clock)

    Hello to you all,.

    I'm new to this forum, please bare with me. I have some experience with LV, but I am relatively new to data acquisition projects. I use LV2009.

    I want to make sure that I use the hardware timing (instead of software distribution) in my project so I followed some of the threads here as sugested to use DAQmx Schedule VI. The problem is that no matter how I set the system I get the same error-200300 invalid calendar
    type.

    The project is simple. I encode with 1000 pulses per
    Rev and it is mounted on a shaft of a turbine water goes thru. I'm watching the frequency
    and so the rotation of the shaft which tells me that the amount of water flows through the turbine. In the end, there will be 2 channels
    by every encoder and ~ 3 encoders (turbines) total and calibrated the main meter that will give me constant impulses and all encoders will be compared to this master frequency.

    I'll use PCI6602 DAQ, but
    now, for the development, I use USB6221. Let's say that the
    frequency is between 500 Hz and 10 kHz. What I am doing wrong? Or maybe better to ask - what would be the right approach for this project?

    Thank you

    Marty

    Hi Marty,

    It seems that your question is already answered here, but Jason is correct that the 6221 neither the 6602 support a clock sampling for frequency measurements.

    As Jason mentioned, your best bet is also likely set the mode of synchronization for "implied". This means that the frequency value is sampled at the end of each period of your input signal. In addition, a solution that is clocked by the software (On-Demand) might be acceptable.

    X Series DAQ devices allow an external sample clock to use for frequency measures (described in the Manual of X series). Frequency of sample-clocked measures are useful in very specific
    circumstances, but it does not seem that you need this feature based on what you've described so far.

    (621 x) bus-powered M series can also be configured to use an external sample as the X series clock but do you not have the same features described in the manual of the X series.

    I hope this helps!

    -John

Maybe you are looking for

  • Relink 'Library of Photos' to iCloud photo library

    This question relates to a clean install of Mac OS Sierra I have my library of Photos in pictures file, and there all my uploaded images. When I format my computer, how can I create a link to this file with iCloud photo library, so I don't have to do

  • iTunes sync from (images)

    Hello together, for some time I have a problem during synchronization of my images (jpg) from my pc to my apple devices. Used equipment: -10 Windows x 64 -latest version of itunes (I tried the different) -iphone running ios 9.2 6s Question from-->: s

  • Need help to change the security settings on my computer.

    My computer does not allow me to download anything this either on the net say security settings do not allow this file to download what should I do to change this?

  • Create a person using NSAPI

    I'm trying to create and update a new user using NSAPI and PSC 11.0 and get state 415 Unsupported Media Type. Is there something that I am missing? I publish this customer postman of Chrome. The request is: / RequestCenter/nsapi/directory/people/udpa

  • BlackBerry smartphones can not record memos

    When I press SAVE in the menu for Memo Pad, my BB returns to the application of the memo but I just wrote and tried to save the memo disappeared. It seems not have been saved, either, because I can't find it when I search. I have a BB 9530 Storm 5.0.