Calendar in a loop DAQ with write, read, then a bit of transformation

(I use a PXI-6052e, DAQmx and Labview 8.6. I have time real module installed if it would help to solve the problem that I have.)

I am writing a control program that requires a certain sequence in a loop, which is:

1 four of the digital i/o pins on the Board (to set the status of a switch), then update

2. to provide a boost to a brooch (to launch the failover), then

3. take a sample on each of the three analog inputs,

4. processing on these three samples and use the output to update maps.

Now, I know that, separately, my methods of control for the switch and the subsections of sampling/dsp doesn't work. However, when I try to combine them into the same loop there is a problem with the sync the sequence above. Clearly I'm not going to things the correct way.

I have attached the main VI containing the 'main measure loop' so that you can see how I'm trying to do things. The loop is in the last picture of the stacked sequence (the first two are just stuff of calibration - ignore them).

Ideally what I want is to have this loop running at 1 kHz (for example), and each iteration has the above followed by sequence [i] in that order [/ i]. To monitor the output pins and switch output but it is clear that this is not the case.

Thank you very much for any advice. I know that I'm doing it wrong, but I can't work on how it is supposed to be. I tried using a loop timed but in vain.

I've implemented the attached file. If you could have a look to make sure that's not crazy, it would be great.

I use two counters. The first is at 1 kHz and begins immediately. The 500 Hz counter is triggered to start on the front of the meter to 1 kHz.

Also, AI samples are acquired on each rising edge of the counter from 1 kHz.

In the future, I should be able to increase this to have a few more counters, I suppose?

Tags: NI Hardware

Similar Questions

  • problem with write access to truecrypt readers windows 7. The mounted drive is not writing priveliges. Read-only. Cannot change in the security permissions.

    problem with write access to truecrypt readers windows 7. The mounted drive is not writing priveliges. Read-only. Cannot change in the security permissions.

    Hi amcop4591,

    1. How is - that Mount you the drive on the computer?

    2 Di you use any third-party tool to mount the drive?

    I suggest that you remove the external drive using the disk management and check back later if you can change the permissions on the drive.

    If you change the permissions, make changes to the permissions on the drive and then mount the drive.

    Mount or dismount a drive

    http://Windows.Microsoft.com/en-us/Windows7/mount-or-dismount-a-drive

    I hope this helps!

    Halima S - Microsoft technical support.

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

  • Problems syncing with GPIB Read on a SR400

    I'm using LabView to control a meter of photons SR400 of Stanford research systems. Can control the box easily, I'm having problems with reading the correct data in the box of. I get incorrect values of 0 ', 6 and 134' rather than real account numbers. I see the correct values on the display screen, but GPIB reads bad.

    It's what I've tried and what I've learned:

    • At first, I was getting random 6 error LabVIEW (from reading GPIB) which would prevent my program to run. To resolve this problem, I put a case Error statement after she and simply write the word ERR in my data file and move on to my next point data. This stopped my cessation program, but started badly reading the values using reading GPIB.

    • The SR400 takes data for N periods on two channels, A & B. The first column of the channel A every 6 seconds and the rest of the columns on both channels would be regular values. However, the problem got worse and my first column of the channel began to write 0s, the second column of the channel A would be 6 s with some 134 s and the rest of the columns would be nice. But, if I had only 1 time for each column, I now have data lost on two channels A and B. A channel would be of 0 s and channel B 6s and 134 s.

    • This problem is sporadic. I can't control when it arrives. Today he works. Yesterday's didn't.

    • It seems to be a timing issue, but I don't know what I can do about it.

    My questions for you are:

    1. Is it better to use GPIB or VISA to communicate? I use GPIB cabling, so be it.

    2. How can you correct problems of timing in GPIB?

    3. Any suggestions on how to improve this?

    I joined code of 8.2 and 2011. I'm trying to convert our code in 2011 to see if it solves the problems. The VI with GPIB Read is CollectData/TakeData and it is called by a VI, where he gets called frequently, but the reading and writing of all MTP recharge time is done by data files CollectData/Take.

    Thank you all in advance for your help. I'm a grad student and still learn from these electronic and LabVIEW.

    Start by lowering of the busspeed. I think that 1 uS is more fast enough for the handshake and then I would disable autopolling.
    You can do it in Max settings for your gpib card.
    Low level visa uses gpib, but never use it directly. In any case the speed is completely determined by the slowest device on the bus, complaining the sr400

  • Is it time stamp with daqmx read

    Hi all

    Simple question.  I have currently not creating a task or starting a task, I simply create a channel and reading that chanel.

    It is...  Why I don't get a timestamp when you do and do I create a task to get one of this?

    There is a timestamp when you use the DAQ Assistant or when you choose to return a data type of waveform with DAQmx Read.

    You can't do a reading without a blemish. You don't have to create the task in MAX, however.

  • Calendar menu and loops

    Hello world

    I do a few menus animated photoshop first, and then with sequelae. (and then in still of course ^^)

    The duration of the menu is from 03:00 (three minutes) and I want to repeat since 01:30, but I also want my buttons are enabled to 01:00; and here's the problem; in fact I already seen and read even in assistance from adobe that this is clearly linked.

    Quote from Adobe using: "buttons are inactive until the video reaches melting point loop."


    Is it possible to activate the buttons before the loop point please?

    Thanks for the help; do not hesitate if you have any questions or if I was not clear enough.

    Good day

    do you mean that I should do menu two, one with activation keys, which must be performed only once, and then another menu that will run about 1000 times with a loop at 00:00 point?

    If the Mylennium does not fall right away, I think that this is what he hears: menu 1 will be active buttons at the beginning or at any time you wish. His action to end will be a menu duplicate, 2.

    It will be the motion 'closure' of the loop point (which is really the beginning for this menu) and the buttons will still work. You set the looping to 'forever', unless you really want to say 1000 times!

    Still need to create two backgrounds menu still in this scenario? If so, I would create a second motion for menu plus 2 that starts where you want to start for menu 2.

  • SimpleValidator post only versions updated with repeatabler read?

    I was testing the SimpleValidator and my example seemed to indicate that he verifies that the (old) enrolled version is the same as the locked (current version) for the UPDATE of objects if the isolation level is repeatable read (or probably more)! I expect this review to do any was the isolation level... I thought it was ONLY the readings that were not checked in the read committed isolation level compared to read committed...

    It would also be good to know if we can change how versions are calculated from the objects of the cache simply by substituting the method of calculateVersion (my testing indicates that this is possible, but I would like to get confirmation!). After the introduction of POF (using different serializers), I was very happy to not have my busines cached objects implement interfaces or classes of coherence and wouldn't break it again using versionnables...

    / Magnus

    Published by: MagnusE on January 17, 2010 16:09

    MagnusE wrote:
    Hmmm when I get the exception when using repeatable read so not because the wrties overlap, but because writing is overlaid with a reading it or why is it different in this case?

    You get with repeatable read because since you read, there was an entry by another detectable by validating prior to your validation.

    Assuming that your definitions are right I think the documentation for SimpleValidator could be a little clearer on what it actually validates and not...

    No idea why I get an exception where I have just to create a new object (here are some examples of code down - sorry for the indigestion of code!)? This at least seems very strange to me yet...

    Haven't checked that yet.

    In addition, it seems that I have a hard time to write my own validator that would execute checks, I need without also uses the isolation level repeatable read transaction card because even not enlist a play button if level read commited is used (I just tried this by substituting enlist in a custom validator and putting a breakpoint there)...

    Why you have problems? You should check your writing has a larger version than that of the card during validation (when it is locked), because that's what you're going to crash. It's the same what do I do where version + 1 =: mynewversion in SQL.

    Best regards

    Robert

    Published by: robvarga on January 18, 2010 11:41

  • How to open the files .dll automatically with Adobe Reader via Firefox?

    Hello

    When I print labels eBay via Firefox, a .dll file is downloaded. This used to automatically open in Adobe Reader, but now it opens as a text document in TextEdit, so I have to manually open Adobe Reader, change the options to display "all files", then find the .dll file and open it.

    When I try to change the default application in the preferences of Firefox, I can't find anything with the content type "dll".

    Is there a way to have Firefox automatically opens files .dll with Adobe Reader?

    Any help would be appreciated, thanks!

    Steve

    Sorry for the delay, but yes, just stop Firefox so that the mimeTypes.rdf file is released.

  • Open the PDF with Adobe Reader - wonder what must do Firefox - every time

    Hello

    Whenever I want to open a PDF file, Firefox asks me "that should Firefox do with this file.
    I opened with Adobe Reader (default) selected and I have the box 'do this automatically... ". "checked.

    So, it seems to me that Firefox should not ask me every time.

    Hi - I do not always want to ask; I want that he will never ask.

    That said, I changed my setting of the option "always ask" and the next time I tried to open a PDF document, the open dialog box to ask me what to do. The box 'do this automatically... ". ' has been disabled, as expected.

    I checked the box 'do this automatically... ". "and now Firefox is most requested.

    Weird way to solve the problem, but it seems to work fine now.
    Thank you

  • When I open a document in Firefox with Adobe Reader 9, I can't print (no problem if you use Internet Explorer)

    I am running Windows 7 (64-bit), using Firefox 8.0. When I open a document with Adobe Reader 9, I am unable to be with her (printing, recording, etc.) another what to see. When I use Internet Explorer I don't have this problem.

    The plug-in may not work well in Firefox because you are using an older version of Adobe Reader.

    Please note that there is currently a security breach uncorrected in Adobe Reader that is actively exploited by criminals.

         https://secunia.com/advisories/47133
    

    The current version of Adobe Reader (unpatched) is:

         Adobe Reader X (10.1.1)
    

    As an alternative, consider using

    You need to uninstall Adobe Reader unpatched software and install one of the PDF readers alternatives to its place as long as product Adobe is fixed, although you may find you like other products all also, or more.

  • How can I read a pdf with ebook reader Touch samo

    How can I read a pdf with ebook reader and where I could put the pdf in the day

    > where I could put the pdf in the day
    You can put the files on the SD card that can be inserted into the slot for SD card available on the left. Supported file formats are: PDF and EPUB

  • My document Pages when sent in PDF format opens with Acrobat Reader and displays the text pane

    Hey team

    I am a new user of recent Mac and I have some difficulty with the Pages.

    I'll create a new document and save it as a PDF file (save it to the desktop), when I open it again, it opens with Acrobat Reader and the text released along side this one pane. It does not open a document own stand alone. This cause me a problem when I want to send it as an attachment, as it includes this component, as well as all other toolbars with.

    Any help on this would be appreciated.

    SSA56,

    When you send the PDF document as an attachment, it will be sent as a document 'stand alone '. It will be open according to the preferences that are set by the receiving party.

  • I have updated and now when I try to log on to Web sites with fingerprint reader, I get "Firefox doesn't know how to open this address, because the Protocol (dpql) is not associated with any program."

    I have updated and now when I try to log on to Web sites with fingerprint reader, I get "Firefox doesn't know how to open this address, because the Protocol (dpql) is not associated with any program."

    What is the Digital Persona fingerprint scanner? If it's that they have abandoned, for more details, see https://support.mozilla.com/en-US/questions/799388

  • Cannot encrypt files with fingerprint reader

    I just bought a Toshiba E105-s1602 and I can't find a way to encrypt files and folders with fingerprint reader.
    I use it to connect to the computer and in the instructions it says just right click on the file and there should be something that says encrypt or something similar, but I have no option to do with encryption.

    Does anyone know how to use it, I do something wrong?

    Thank you

    AFAIK this option depends on software pre-installed. I'm not 100% sure, but Toshiba offers two different applications for this application.
    If this option is not available then this option is not available with pre-installed application.

  • iCloud Calendar & Contacts used to synchronize with Outlook 2016

    Since I upgraded to 10 Windows and Outlook 2016, iCloud for Contacts and calendar synchronization have been working well.  Today, there was an update from Microsoft automatically installed.  When I went into Outlook, sync to iCloud was no longer work (the menu bar buttons were gone too).  I went to iCloud and made a download of the iCloud for Windows and when he ran that he gave only options to repair or uninstall.  First I tried to fix it, but there was a caveat that I had Outlook 2007 and Outlook 2016 installed and I could have only one.  So I uninstalled all of Office 2007, then run the iCloud to repair Windows.  This time it completed, but on the Setup screen when it has finished, it did not give the ability to synchronize email, Contacts and calendar.  Instead, this option is gone up with a yellow information exclamation that said I could access my email Contacts and calendar on iCloud.  And it did not work as expected in Outlook.  For the next, I ran the iCloud for Windows to install again and choose uninstall.  Then I installed it again fresh, but with the same results, no iCloud Contacts or calendar to sync with my Outlook 2016.

    So I searched Apple Support and see several threads that say 2016 Outlook is not supported yet and an update is coming.  But on the page of the iCloud site Apple where it lists the configuration system requirements, it is said that 2016 Outlook is supported.  I am confused and frustrated.  Help, please!

    I found an answer in the topic Outlook 2016 that solved the problem.  You will need to go to the Windows Control Panel and fix Outlook or repair Office 365 in my case.  Basically, this caused the range of office 2016 to be reinstalled.  Then, without opening Outlook, I went to iCloud and reinstalled the iCloud for Windows app.  This time the option Synchronize Mail, Contacts and calendar was active, so I checked it and then click on apply.  It then proceeds to download all my contacts and calendars to iCloud.  I am more confused and frustrated, but I'm a little angry with Microsoft to get out an automatic update which screwed up my Outlook to synchronize iCloud and making me spend 3 hours of research and the implementation of the solution.  Maybe I'll get an iMac for my next computer.

  • NEITHER USB-6501-24-line digital i/o (OR-DAQ) with LabWindows/CVI 7.0?

    Hello

    Can I use a recent NI USB-6501-24-line e/s digital (OR-DAQ) with LabWindows/CVI 7.0, although Labwindows/CVI 8.x is required?

    Thank you

    Dayne

    Hello.

    In DAQmx Readme, you can see which version of the CVI are supported by the version of current DAQmx. For a map of 6501, 8.7.2 or DAQmx 8.9.5 versions work.

    Concerning

Maybe you are looking for

  • El capitan, no imovie?

    Hello! I bought a MBP used and installed el capitan Unfortunately, I can't find the iMovie app. Where can I find the application? Kind regards

  • Satellite L50-A-10W - cause multiple applications using its crackle

    When I have several running applications, for example:YouTube, video playback, Skype and play a game.They sometimes close down / mute the other application, or cause the sound of each of them crackle. It's getting a little frustrating. The drivers I

  • After installing updates ms error 0x0000008e

    15 ms updates have been installed on January 11 after updates installed, I got error 0x0000008e and blue screen physical memory dumpI did system restore, now I have MSI flashing on the screen when I open that no matter what program clean boot still h

  • Windows Movie Maker_demonstration video

    I just opened Windows Movie Maker an hour ago.  I have trouble understanding how to create an audio-video project.  I looked and read a part of Help Support but am still having trouble learning how to use the program, in particular the creation of th

  • How to create a custom folder shortcut

    In the folder my documents, I created a new folder of element in which I have various things to help the new catalogue items as they come to my attention. Right now whenever I want to create a folder for a new article I have to click with the right b