Add PXI 6508 to existing Cont Acq to file (binary)

I currently run LV Rt on a PXI chassis that has a PXI 6030E card installed. I have modified the example vi: "Cont acq to file (binary).vi" that NI provides as a DAQ example , to acquire 6 analog channels. I now want to append digital data to the binary stream and save to disk. I'll be reading in 50 digital lines using the PXI-6508 card.
I'd like to know how I might add the digital data acquisition inside my existing loop, make sure that the digital lines are appended to teh analog data, and if possible, I'd like to use a digital signal coming into te PXI 6508 to trigger data acquisition (rather than jhust running at the 240S/s that i currently run).
I have attached my existing code for the data acquisition.
Basically this code controls the release of a sled chair in which a human subject sits. the subject initiates release of the chair by a joystick, a laser fixation point is turned on and off at various times, and data from the joystick as well as various linear acclerometers is acquired. The data acquistion loop is in frame three of the main sequence. You'll notice that i am using some of the digital lines of the PXI-6030E but want to include many more digital lines by using the 6058
cheers
stu
Attachments:
PXI_collect.vi ‏308 KB

Hello,
You would just need additional port configs and some port reads for the ports on the 6508 you are using. Appending this data to the end of the analog data is fine. When writing binary data, the only thing that is important about the formatting is that you read it back in the same format you wrote it. You might look at some of the digital-only examples as well as some of the analog input with start trigger examples to combine some of these concepts.
Also, if you have more questions about this, you might try positing this question to the general data acquisition group. This sort of operation would behave the same way in Windows as it would in RT, and you would get a larger audience there for more possible responses.

Similar Messages

  • Cont Acq to File (scaled) results in unexpected behavior

    I am writing an application based on the "Cont Acq to File(scaled).vi example". The DAQ card on my system is the PCI-MIO-16E-4. I am acquiring only 1-chanel with the following data acquisition parameters: Scan Rate = 30000, Buffer Size = 300000, Number of Scans to Read at a time = 1000. Since each scaled sample is 4 bytes and my scan rate is 30000 scan/sec, I would expect that with an hour of acquisition my file size would be approximately 432 MB (4*108000000 samples/hr). However my data file after an hour of recording only grows to about 1.2 MB. So i am assuming that i've lost lots of data. I am not getting a "buffer overflow" error and my "scan backlog indicator" averages about 2 during the entire hour...so i am
    assuming that i am reading the data fast enough. Help

    Thanks for your response. I found the problem on my program...but it now leads to more questions. The problem was that the output from the "AI Read" (a 2-D array) was wired into the input of "Indexed Array" but instead of indexing column 0 (i needed to extract chan 0) i instead was indexing row 0. The output from the "index array" is wired into my "File Write". After making the correction, my data file is growing at the right size. Now my question is what was written to file when the row 0 was indexed instead of column 0(the data seemed to be the correct value but lots of missing data)?

  • Me ha desaparecido uno de los dos Tradicional NI-DAQ Device PXI-6508 que tengo instalado. Alguien sabe cómo soluionarlo?

    Hola,
    Me ha desaparecido uno de los dos "Traditional Ni-DAQ (Legacy) Devices" que tengo instalado en el equipo.
    En el Rack PXI tengo instalado dos "NI PXI-6508" en el Slot 5 y 6. El chassis PXI-1045 me los detecta correctamente, pero en el apartado "Traditional Ni-DAQ (Legacy) Devices"  sólo me aparece uno de ellos, cuando hace unos meses me aparecían los dos (como device 2 y 3).
    ¿Cómo puedo soluionarlo?
     

    Yes in an STL file the subs have a comma after each In and Out Timecode (as a separator) and also they don't normally have line spaces between each entry. If you want the subs to be on two lines and "force" what goes on to the second line (rather than SP deciding for you) then where you want the return to be you need to add "bar" symbol (the one above the backslash on a Mac keyboard)
    Try it on a couple of lines of your subtitles to see if it works before committing. I usually create my subs as STL files but it should work
    Steve

  • Is there a way for the Yosemite maps app to add address to an existing contact (in contacts app) instead of creating new contact record with blank name (not useful)?

    I was using the maps app in yosemite to look up an address, once I was able to verify the address, I wanted to add that address to an existing contact record in the contacts app.  When I clicked on the option to add address to contacts, it unfortunately creates a new record with the address in it, however, the rest of the contact is blank. 
    My question is: is there a way to prompt the user (me), to select whether they want to create a new contact or add it to an existing contact?
    Thanks in advance for your help!
    Regards,
    Peter

    I was using the maps app in yosemite to look up an address, once I was able to verify the address, I wanted to add that address to an existing contact record in the contacts app.  When I clicked on the option to add address to contacts, it unfortunately creates a new record with the address in it, however, the rest of the contact is blank. 
    My question is: is there a way to prompt the user (me), to select whether they want to create a new contact or add it to an existing contact?
    Thanks in advance for your help!
    Regards,
    Peter

  • How to add blank page to existing Document In Adobe Dc

    how to add blank page to existing Document In Adobe Dc Pro

    Hi thashrifs16749461,
    You can add a blank page using Adobe Acrobat DC by following the below instructions :-
    1) Open your existing pdf document in Acrobat DC.
    2) Choose the 'Organize Page' option form the Tools pane on the right as shown below in the screen shoot.
    3) Now at the top you will see all the tools to Organize the page, Click on 'Insert' & select 'Blank Page' from the drop-down to insert blank pages.
    *Shortcut : If you are using windows computer you can use ' Shift+Ctrl+T ' key to insert blank pages.
    In case if you experience any issue or have any query please let us know. We will be happy to help you.
    Regards,
    Aadesh

  • How can I use the NI PXI-6508 with Lab View 7? what are the first steps to get started??How can I use the channels with lab view 7????

    I have a 8 slot PXI system with 2 NI PXI 6508 and 1 DMM 4070 in it. I want to get started with programming the digital I/O cards (6508)! How can I use this cards with LabView 7?what is the best way to get started, or where can I get examples showing how to use the several channels?
    Thanks!
    Philipp

    Philipp,
    The best way to get started is to decide if you want to use traditional NI-DAQ or NI-DAQmx. Recently we released NI-DAQ 7.1 which provides NI-DAQmx support for the PXI-6508. In my opinion, NI-DAQmx is more efficient and much easier to use.
    To get started with examples, simply launch LabVIEW and go to Help>>Find Examples. Then expand Hardware Input and Output>>DAQmx and select the appropriate digital group for your application. This should help get you started.
    Please repost if you need addition assistance. Good luck with your application!

  • Error while Installing the Java Add-In for an Existing ABAP System

    Hi all,
    I need help, i am Installing the Java Add-In for an Existing ABAP System
    SAPInst stops on the first installation step: "Central Services Instance (SCS) Java Add-In", the step is "Install common system files" on the following sub-steps:
    These are the last few lines on the sapinst.log.
    INFO 2009-05-21 12:35:12
    Execute step createAccounts of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_Users_Create_Do|ind|ind|ind|ind|3|0.
    INFO 2009-05-21 12:35:18
    Execute step setUserEnvironment of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_Users_Create_Do|ind|ind|ind|ind|3|0.
    INFO 2009-05-21 12:35:19
    Execute step InstallJDBCDriver of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_JDBCDriver_DB4|ind|ind|ind|ind|4|0.
    INFO 2009-05-21 12:35:19
    Creating directory V:\sapmnt\BIQ\jdbc.
    INFO 2009-05-21 12:35:19
    Creating directory V:\sapmnt\BIQ\jdbc\tbx.
    INFO 2009-05-21 12:35:21
    Copied file 'V:/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar' to 'V:/sapmnt/BIQ/jdbc/tbx/jt400.jar'.
    INFO 2009-05-21 12:35:22
    Execute step updateNtPatchDlls of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|5|0.
    INFO 2009-05-21 12:35:23
    Execute step sCreateSystemOS4 of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|5|0.
    ERROR 2009-05-21 12:35:42
    MOS-02001  Call of command "CRTR3SYS SID(BIQ) GLOBALHOST(*LOCAL)" failed. Exception is "CPF0006".
    ERROR 2009-05-21 12:35:42
    MOS-02001  Call of command "CRTR3SYS SID(BIQ) GLOBALHOST(*LOCAL)" failed. Exception is "CPF0006".
    ERROR 2009-05-21 12:35:42
    FCO-00011  The step sCreateSystemOS4 with step key |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|5|0|sCreateSystemOS4 was executed with status ERROR .
    Thanks in advance for any help.
    Kiran Chebrolu

    Hi,
    Hope this note would solve your issue, please read carefully and validate with your issue
    Note 1032019 - Java Add-In: Error when you create the SCS instance
    below notes give your suffice information.
    Note 883948 - NW 7.00(2004s): Inst.Add.Java Usage Types/Software Units
    Note 1268493 - NW 7.01/BS 7: Inst.Add.Java Usage Types/Software Units
    Note 1025789 - RUNR3CMD generates CPF0006
    regards
    nag

  • Add value field to existing/ productive operating concern

    Dear All,
    I need to create a new value field and add it to an existing operating concern, which is already in use (there is already transaction data in the live system).
    In my opinion I have to do the following steps:
    1. Create new value field (KEA6).
    2. Add value field to operating concern (KEA0).
    3. Activate operating concern (KEA0).
    4. Transport operating concern (KE3I).
    Is that strategy ok?
    Is it ok, to transport an operating concern, when the system is already "live" and there is transaction data in the system?
    Thanks for your answers,
    Regards,
    Michael

    Hi,
    first create new value field in KEA6. then take those new Value field in your operating concern Data Structure in t-code KEA0. Then generate the operating Concern.
    Regards,
    Sreekanth

  • "Add components to your existing installation" disabled in SQL Server 2000 clustered installation.

    When I try to add the
    fulltext service to a named instance in
    SQLServer 2000, I see the option "Add components to your existing installation"
    in gray.
    I launched
    the installer both ways, with the services stoped and started,
    and always the same result.

    Please check the below link and try..
    http://technet.microsoft.com/en-us/library/aa197936%28v=sql.80%29.aspx
    http://www.databasejournal.com/features/mssql/article.php/3441981/Full-Text-Search-on-SQL-2000-Part-1.htm
    Raju Rasagounder Sr MSSQL DBA

  • Installing Java Add-In for an existing ABAP System -Error SQL compatibility

    Hello gurus,
    We have a system and it has only the ABAP instance! So my goal is install the JAVA iinstance. In this momment I´m reading the section "4.4.2 Installing the Java Add-In for an Existing ABAP System (Optional)" in installation guide "SAP ERP 6.0 SR3" (ABAP+JAVA). So, I want to install the JAVA instance which is the Java Add-In for an existing ABAP system!
    So what I did was followed that instructions on that section in guide!
    As you certainly know this process has three sequential phases:
    1) Central Services Instance (SCS) Java Add-In
    2) Database Instance Java Add-In
    3) Central Instance Java Add-In
    The first phase - Central Services Instance (SCS) Java Add-In - it already finished with success, but I´m faccing with a weird error in second phase  Database Instance Java Add-In when I entered all required input parameters, SAPinst shows an error that says:
    The database PRD has the wrong compatibility level. The database used for the installation of an SAP system must have compatibility level: 80 for MS SQL Server 2000 90 for MS SQL Server 2005 SOLUTION: See the MS SQL Server documentation on how to set the compatibility level for a database.
    I don´t know what´s happen, in fact my database is an SQL Server 2008 (100), but I already change it at management studio, the compatibility level to MS SQL Server 2005, but still the error remains!!!     I also tried to ran again the sapinst process, I restarted it but it still show me this error!!
    Can you tell me why and how can I solve this problem?
    Best regards,
    João Dimas - Portugal

    Hello Sunny,
    I still have this error... I don´t know what do to more for this situation!
    I found one not which report this error of compatibility - Note 1152240 - Setting Up Microsoft SQL Server 2008 (R2) - in chapter "VII TROUBLESHOOTING" which said to follow the instructions in chapter III - "Installing SAP systems based on SAP NetWeaver 7.0 SR3".
    When I read this last chapter (III) it tell us to do:
    If you want to install an SAP system based on SAP NetWeaver 7.0 SR3 on SQL Server 2008, you cannot use the Installation Master and Kernel DVD that you received from SAP or downloaded from SAP Service Marketplace. Instead, you have to do the following:
    Patch your runtime libraries by applying the procedure that is described in note 684106 for your release and machine architecture.
    Use a modified Installation Master DVD
    For more information, see section "VI PROCEDURES" -> "Creating a modified Installation Master DVD".
    Use a modified Kernel DVD
    For more information, see section "VI PROCEDURES" -> "Creating a modified Kernel DVD".
    I did everything that is said in the note (except the "Creating a modified Kernel DVD") because I can not access to the note 1480785 (it say: "The requested SAP Note is either in reworking or is released internally only")
    Can you help me... can you guide me... please!?
    Best regards,
    João Dimas - Portugal

  • Installing the Java Add-In for an existing abap system

    Hi, Currently we are Installing the Java Add-In for an existing abap system.
    Following the steps (Installation guide):
    1) We sucessfully installed the Central Services Instance (SCS)
    2) We sucessfully Installed the Database Instamce Java Add-In
    Our problem comes in the third step
    3) Central Instance Java Add-In
    When the system prompts me the SAP System Identification (Select the central instance of your local host).
    I have a combo with two values: DVEBMGS00 of SAP System DEV and DVEBMGS00 of SAP System DEV
    (The same value)
    I chose anyone, and click next.
    The system send me an Input error and says "Caught EKdException in Module call: single select return more than on row"
    Any help is appreciated, and I will reward points if helpful.
    Regards

    I followed an advice made for a sap consultant, and delete some profile files.
    I had the following files
    DEFAULT.1.PFL
    DEFAULT.2.PFL
    DEFAULT.BAK
    DEFAULT.PFL
    DEV_DVEMGS00_bsomtymx005
    DEV_DVEMGS00_bsomtymx005.BAK
    DEV_SCS01_bsomtymx005
    START_DVEBMGS00_BSOMTYMX0
    START_DVEBMGS00_bsomtymx005
    START_SCS01_bsomtymx005
    after to delete the files, I have the following files
    DEFAULT.BAK
    DEFAULT.PFL
    DEV_DVEMGS00_bsomtymx005
    DEV_SCS01_bsomtymx005
    START_DVEBMGS00_bsomtymx005
    START_SCS01_bsomtymx005
    Then, I restarted the installation, and the sapinst allow me to continue with the installation.
    I really do not know if the installation will be sucessful, but this issue is solved.
    Thanks shanji, I was working in another tasks, but with your help, I will try to resolve again this problem, and found the solution.

  • How to add one column in existing search help.

    Hi Folks,
    My quesion is
    How to add one column in existing search help and also Now search help on that field is not an explicit search help. It should be implement using check table.
    Shivam

    Hi,
    If you want to add a field in Elementary search help, get the search help name for the and go to change mode and add the field in it.
    If you want to add a field in collective search help, go to included search helps tab and a new search help name and add the fields to it.
    I think this should help you to certain extent.
    Regards,
    Kranthi
    Edited by: Kranthi on Jan 14, 2010 11:15 AM

  • Can't add web page to existing document

    I am new to Acrobat 9 Pro (running on Win7). I love the feature where you can convert a web page to pdf and then add a wab page to an existing document. My probelm is that I saved one page as a pdf then went to a different link on that website that appears very similar and tried to add that page to the first one. As many times as I tried, my second page will not appear.
    I did try going to an entirely different website and adding a page to the very same document and I was successful.
    Is it possible that the program won't add the similar page because it is recognizing the page to be the same? Is there a setting to override this? I need to be able to save multiple web pages that appear the same way to one document quickly and easily.

    Thank you for your response. It is possible to do this but I need the 'Add web page to existing doc' feature to work for me. I will be converting a large number of similar pages to pdf and this feature would be perfect if it worked as it is intended. Going back later to insert pages is counter-productive for me.

  • Add Lync 2010 To Existing Office 2010 ProPlus Deployments?

    Office 2010 ProPlus was deployed with Word, Excel PowerPoint and Outlook 2 years ago.  We are now going to deploy Lync 2010 and need an easy way to add Lync to the existing Office installations.  On new installations we will add Lync as part of
    the build image.
    We do not have SCCM.  Is there a user-friendly way to deploy the msp update file to existing Office installations that lack Lync that does not require SCCM?  I have thought of making some kind of startup script, but I don't think it will be a good
    idea for that installation script to run at every reboot.  We only want it to run until Lync is installed and not again.
    Also, some users have already installed a stand alone version of Lync 2010 on their systems that is not part of the Office Suite.  Will we need to remove that version before the version in the Office suite can be added or does the stand alone Lync installer
    actually use and install the same files from the Office suite?

    From memory, Lync2010, although it is an included benefit/entitlement within OFF2010ProPlus, doesn't install as part of the main suite setup.exe, there's a separate setup.exe/installer for Lync2010 ?
    So, it shouldn't just be an MSPfile applied to modify ProPlus, you'll need to run the installer for Lync anyway?
    You might want to create an MSPfile for the Lync installation, to get the desired installation experience+customisation.
    Regardless, you should probably have a "wrapper" script, and in the script, do some kind of detection for Lync=present (maybe check the uninstall regkeys or check for presence of the exe under programfiles).
    if found, then skip the installation step.
    if absent, perform the installation step.
    similar to this:
    http://technet.microsoft.com/en-us/library/ff602181(v=office.14).aspx
    There is also a separate Lync installer, for customers who don't have OfficeProPlus, and you may need to detect for that, and decide accordingly.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • LDAP: Recommended way to add new objectclass to existing entries?

    Can anyone help me with the preferred way to add a new objectclass (with attrributes) to existing entries within a directory (via the javax.naming API)?
    I have an application that uses a directory of users. Each user has objectclasses "top", "person", and "inetOrgPerson" with usual attributes.
    The application needs to change to add a custom objectclass, say "ourAppClass" (and its attributes), to each existing entry within the directory. I have already successfully defined the schema for the objectclass within the directory.
    I cannot find examples showing how to add an objectclass to existing entries. Creating brand new entries with custom objectclassess is straightforward.
    When using DirContext.modifyAttributes must I define all the objectclasses again, or is there a way to send only the new objectclass and its attributes only?
    Attributes attrs = new BasicAttributes();
    Attribute classes = new BasicAttribute("objectclass");
    classes.add("top");  // do I need these?
    classes.add("person"); // do I need these?
    classes.add("inetOrgPerson"); // do I need these?
    classes.add("ourAppClass"); // in-house class
    attrs.put(classes);
    attrs.put("ourCustAtribute", "value1"); //
    DirContext.modifyAttributes(dn, LdapContext.REPLACE_ATTRIBUTE, attrs);Does someone have a good example to follow?

    I think I have answered my own question. I think I need to use a ModificationItem to add an attribute to the objectclass.
    final ModificationItem[] classModification= new ModificationItem[1];
    classModification[0] = new ModificationItem(DirContext.ADD_ATTRIBUTE,
                new BasicAttribute("objectclass", "ourAppClass"));
    dirContext.modifyAttributes(dn, classModification);

Maybe you are looking for

  • Https front end and http backend

    Hi there....I am having a small issue....I have a web app that is https based....I have installed the cert on the CSS, and DNS for this app points to the VIP....the client is wanting to have an https front end, and then load balance in http to the ba

  • IPod will not update iTunes

    My 40g iPod has lost the ability to update from iTunes. iTunes recognizes that the pod is connected but it just freezes on "updating songs". To make matters worse, the entire computer freezes when I eject the iPod. So far, I've been unable to find a

  • 2007 MacBook Pro ctrl key not working

    Hi all, I have used various iterations of bootcamp with my 2007 macbook pro without problem. I have also sucessfully installed Windows 7 64-bit using bootcamp and got it working almost perfectly (sound, video, magic mouse) despite it not officially b

  • My mac pro 2008 is running very very slow. I need to give it a good clean.Any suggestions?

    My 2008 mac pro is running slower and slower, what can I do to get it running faster?

  • Creat inspection setup entries in quality View using BAPI_MATERIAL_SAVEDAT

    Dear all, I am using BAPI_MATERIAL_SAVEDATA to extend Material from one plant to another. I am able to extend Quality view to another plant But unable to create inspection setup entries for the extended view. Please help. Regards, Gaurav sood