Storing analog output data in a datatype other than single-precision

I'm using three PCI-6713 AO cards in a single computer to output 24 channels of data using Labview 6.1. The input terminals of all the analog output VI's are of type single precision (32-bit). The output cards only have 12-bit DAC's, so there is a large amount of information stored that is never used by the cards. Is there a way in Labview to store AO data in another, smaller datatype - such as a 16-bit integer. This would greatly reduce the memory requirements for my application.

I just figured out the answer to my own question. There isn't an option for binary in the AO Write vi, but if you go down to the AO Buffer Write vi (which is called by AO Write), you can select binary array.
Thanks for all your help.
Josh

Similar Messages

  • Storing query output data in a DSO

    Hi Expert,
    Can you please tell me how to store a query output in a DSO?
    Thanks in advance for your help!
    Ranadip

    Hi,
    You can store the Query output data into DSO through the APD process.
    Analysis Process Designer Uses:
    In SAP BW, data from various databases from systems available in the company are collected, consolidated, managed and prepared for evaluation purposes. There is often further, valuable potential in this data.
    usefull link:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20b22245-0828-2c10-54b1-a2ddb167df01?quicklink=index&overridelayout=true
    Regards.

  • How can I go to a specific date in the future other than by clicking one month at a time?

    Would like to go to a specific date several years from now and see what else I have scheduled (if any) or to see if that day is a holiday or even just to see what day of the week that day falls on. Can I do this in some way other than clicking on the NEXT MONTH button a gazillion times?
    I am using Windows 7 (64-bit) on a Dell THX computer.
    Thanks,
    DannyBoy

    tried clicking on the year in the calendar?

  • Getting report (rdf) output in different language format other than english

    I have a report registered in apps with the output type as pdf.when i run it,the output comes in pdf but in a language other than english.
    when i run the report in the reports builder the output in pdf comes in english.I am using EBS R12.
    pls suggest.....Thanx in advance...
    Regards,
    Kranthi

    >
    Can you help me how can i implement using xliff file.
    >
    nice guide - Translating Reports - http://docs.oracle.com/cd/E10415_01/doc/bi.1013/e12187/T421739T432386.htm
    >
    To generate an XLIFF file from an RTF template
    Open your template in Microsoft Word with the Template Builder for Word installed.
    From the Template Builder menu, select Tools > Translations > Extract Text.
    BI Publisher extracts the translatable strings from the template and exports them to an XLIFF (.xlf) file.
    Save the file to the desired location.
    >
    >
    One more clarification if i am going for 'create lang-template per lang' then do i need to have MLS configured in my EBS.
    >
    not sure about your point
    what do you mean "configured" ?
    mls is the ability to run you application on different language like italian, russian ....
    so if you want check how many lang do you have then
    select nls_language from fnd_languages where installed_flag in ('B','I');for my test instance i have only "AMERICAN"
    but i can run my report with 'lang-template per lang' in different lang
    so when you run your concurrent then click "options" and indicate "template language"
    if you have
    template name: XXTMP_ru.rtf lang: Russian
    template name: XXTMP_en.rtf lang: English
    then you can choose for "template language" - Russian and English

  • Incorrect XML output data in Report 6i, other formats are ok

    Hi,
    A very strange problem when running 6i report (database is 10g). Everything is fine when running the report, when I tried to use Generate to file from the File menu to different file formats, pdf, html and rtf formats are all good, but xml format gave some extra data, it seems it lost some conditions in where clause.
    Any idea?
    Thanks in advance.
    Andrew

    I still doubt it..
    What ever character you have it in database, is going to be fetched in xml..
    be in Report builder, or sql, pl/sql.
    the way the data is being converted is the first we need to see.. if the character is getting messed here..
    once you got it as xml, and open xml in browser, then the parser finds the encoding in the top of xml, and renders the character . if it cannot understand the encoding character, then it will skip or do some abnormal things..
    oracle apps , is generating xml ?? what is that means ??
    data-template ? pl/sql or sql ??

  • Printing: The outputs print on a printer other than that specified on the u

    We are using activity profile on the shipment to trigger outputs at different statuses set on the shipment document. In order to have the output trigger based on activity profile we need to have the timing for these output types set to “3”. Now the outputs set in the activity profiles are proposed on the sales document the first time the document is saved by the user. The communication details for the outputs proposed have the details from the user data set in the user master (SU01) for the person who saved the sales document as the print parameters for the output is “S” (user parameters).
    The issue is we want the system to print outputs proposed on the sales document to different printers.  E.g. The bill of lading output on the shipment document is required by the shipment planner to provide the same to the truck drivers. However the documents like pick list are required by the loaders loading the packages in the warehouse. Hence the documents need to be printed in different printers. How do we achieve this when the outputs proposed at the time the sales document is saved have the print parameters form the user data of the user who created the document?

    Hello,
    Have a look here:
    http://help.sap.com/saphelp_erp2004/helpdata/EN/7e/36e4c4023411d399b70000e83dd9fc/frameset.htm

  • Transferring primitive data types via UDP other than a String

    Hi ALL,
    I am new to Socket programming in UDP.
    I need to implement a FTP client-server application.
    Now the packet that I need to transfer using UDP as a DatagramPacket consists of multiple primitive data types, (3short types and 1 byte array of size 265.)
    How do I do that?
    All the samples and examples I managed to find on the Internet illustrated the problem of transferring a String type converted to getBytes and the byteArray is transferred.
    However, in my case i need to pass this structure..(3fields) to the other side. If I convert the 4 fields to a single concatenated string there's this problem of finding out where each of the four fields begin and where do they end.
    Please suggest and help...
    thanks..
    : )

    Just create a class that represents your structure and convert-it to a byte array that can be sended over a DatagramSocket.
    Try this sample code :
    import java.io.*;
    import java.net.*;
    public class DP
        /** Creates a new instance of DP */
        public DP ()
         * @param args the command line arguments
        public static void main (String[] args)
            try
                System.out.println ("Starting server ...");
                DatagramServerThread server = new DatagramServerThread ("Datagram server");
                server.start ();
                System.out.println ("Creating your object ...");
                ByteArrayOutputStream baos = new ByteArrayOutputStream (); // Creating byte array output stream ..
                ObjectOutputStream oos = new ObjectOutputStream (baos);// Creating a object output stream that writes to byte array output stream..
                YourStructure newObject = new YourStructure (); // creating your data structure..
                newObject.setShortField1 ((short)12);// setting values ...
                newObject.setShortField2 ((short)45);
                newObject.setShortField3 ((short)4);
                newObject.setArray (new byte [256]);
                oos.writeObject (newObject); // write your structure to object output stream...
                byte data_to_be_sent[] = baos.toByteArray (); // retrieving equivalent byte array...
                // send data...
                DatagramSocket s = new DatagramSocket ();
                System.out.println ("Sending ...");
                DatagramPacket packet = new DatagramPacket (data_to_be_sent, data_to_be_sent.length);
                packet.setAddress (InetAddress.getByName ("localhost"));
                packet.setPort (8888);
                s.send (packet);
            catch (Exception e)
                e.printStackTrace ();
    class YourStructure implements Serializable
         * Holds value of property shortField1.
        private short shortField1;
         * Holds value of property shortField2.
        private short shortField2;
         * Holds value of property shortField3.
        private short shortField3;
         * Holds value of property array.
        private byte[] array;
         * Getter for property shortField1.
         * @return Value of property shortField1.
        public short getShortField1 ()
            return this.shortField1;
         * Setter for property shortField1.
         * @param shortField1 New value of property shortField1.
        public void setShortField1 (short shortField1)
            this.shortField1 = shortField1;
         * Getter for property shortField2.
         * @return Value of property shortField2.
        public short getShortField2 ()
            return this.shortField2;
         * Setter for property shortField2.
         * @param shortField2 New value of property shortField2.
        public void setShortField2 (short shortField2)
            this.shortField2 = shortField2;
         * Getter for property shortField3.
         * @return Value of property shortField3.
        public short getShortField3 ()
            return this.shortField3;
         * Setter for property shortField3.
         * @param shortField3 New value of property shortField3.
        public void setShortField3 (short shortField3)
            this.shortField3 = shortField3;
         * Getter for property array.
         * @return Value of property array.
        public byte[] getArray ()
            return this.array;
         * Setter for property array.
         * @param array New value of property array.
        public void setArray (byte[] array)
            this.array = array;
        public String toString ()
            StringBuffer buffer = new StringBuffer ();
            buffer.append ("Short field 1 is ");
            buffer.append(this.getShortField1 ());
            buffer.append ("\nShort field 2 is ");
            buffer.append (this.getShortField2 ());
            buffer.append ("\nShort field 3 is ");
            buffer.append (this.getShortField3 ());
            buffer.append ("\nYour array field is ");
            for (int index = 0; index < this.getArray ().length; index++)
                buffer.append ("Index [" + index + "] = " + this.getArray () [index] + "\n");
            return buffer.toString ();
    class DatagramServerThread extends Thread
        protected DatagramSocket socket = null;
        public DatagramServerThread (String name) throws IOException
            super (name);
            socket = new DatagramSocket (8888);
        public void run ()
            try
                byte buffer [] = new byte [socket.getReceiveBufferSize ()];
                DatagramPacket packet = new DatagramPacket(buffer, buffer.length);
                System.out.println ("Server is ready. Waiting for packet ...");
                socket.receive(packet); // waiting for packet ...
                System.out.println ("Packet received! : ");
                byte received_data[] = packet.getData ();
                ByteArrayInputStream bais = new ByteArrayInputStream (received_data); // Creating byte array input stream ..
                ObjectInputStream ois = new ObjectInputStream (bais); // Creting Object input stream
                Object readed_object = ois.readObject ();
                YourStructure your_original_object = (YourStructure)readed_object;
                System.out.println (your_original_object.toString ());
                System.out.println ("Exiting server thread. Bye");
                socket.close ();
            catch (Exception e)
                System.err.println ("Server error");
                e.printStackTrace ();
    }

  • Best practice for encrypting data in CRM 2013 (other than the fields it already encrypts)

    I know CRM 2013 can encrypt some values by default, but if I want to store data in custom fields then encrypt that, what's the best practice?  I'm working on a project to do this through a javascript action that when triggered from a form would reference
    a web service to decrypt values and a plugin to encrypt on Update/Create, but I hoped there might be a simpler or more suggested way to do this.
    Thanks.

    At what level are you encrypting?  CRM 2013 supports encrypted databases if you're worried about the data at rest.
    In transit, you should be using SSL to encrypt the entire process, not just individual data.
    you can use field-level security to not display certain fields to end users of a certain type if you're worried about that.  It's even more secure than anything you could do with JS, as the data is never passed over the wire.
    Is there something those don't solve?
    The postings on this site are solely my own and do not represent or constitute Hitachi Solutions' positions, views, strategies or opinions.

  • Exporting data in a format other than Excel

    HI,
    I am exporting data displayed on UI/JSPX page to an excel sheet using exportCollectionActionListener.
    what other types are supported to export the data and whats the procedure.
    I am specifically interested in PDF , CSV and txt formats.
    Thanks,
    Sachin

    Hi,
    as the tag document say, only Excel export is supported
    Frank

  • Possible to print Int.Tab data in a window other than MAIN window in Script

    Hi,
      Can we print a internal table data in a window which is a VARIABLE Window in SAP Script? my requirement is not to print in MAIN Window.
    Thanks in Advance,
    Jakeer.

    Hi,
    You can do that.But main window is must.
    Create a text element and please check it maynot overflow if so data will be truncated.
    For not printing main window :
    Do one thing set the main window margint to the botom of the form.
    Then create a text element in main element
    NEW             
    NEW-PAGE        
    NEXT            
    NEW-PAGE = 'NEXT'

  • Is it possible to subscribe to dates in Address Book other than birthdays?

    iCal can subscribe to birthdays that have been entered into Address Book.  Is it possible to have iCal pick up other dates that have been included in Address Book entries (anniversary, etc)?
    Steve

    Hi Steve,
    I wrote an application that would enable you do this. Take a look at Dates to iCal. It is £4 shareware with a 3 week demo.
    As well as automatically syncing birthday dates from Address Book, Dates to iCal can sync anniversary and custom dates. It can set up to five alarms for each date in iCal and can also set different alarms for birthdays and anniversaries. It allows the option of only syncing from one Address Book group. It application also allows for the titles of the events sent to iCal to be modified.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreementrequires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Php data service with something other than localhost for mysql

    Hello
    I'm trying to use an external host as an mysql source.
    I've used the 'generate from template' option and filled it out with the correct data.
    The php code is on my localhost on my mac.
    I've made a testfile in php to test my service and it seems to work and get the data from the database.
    But flashbuilder doesn't see an operation and when I try to refresh it says:
    java.lang.IllegalArgumentException: protocol = http host = null
    I get the same error if I try to 'generate from database' and I click the 'connect database' button.
    in the hostname field, I've tried the url to the server and also the IP (in case of a DNS problem), but either of them generate the same error.
    I hope some one can help me, so I can really start trying out the new data services.
    Thanks
    Johan Velthuis

    Thanks for replying, it works now!
    At first I got the error below, but after putting a ZendFramework folder in the /Library/Webserver/Documents folder my settings got accepted.
    Warning: require_once(Zend/Loader/Autoloader.php) [function.require-once]: failed to open stream: No such file or directory in /Users/johan/Sites/test/tempgateway.php on line 27
    Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.:/usr/lib/php:/Library/WebServer/Documents/ZendFramework/library') in /Users/johan/Sites/test/tempgateway.php on line 27
    I think this is some kind of bug too, since I let the project wizard create a local ZendFramework folder in my project automatically, but it did not get used.
    It would really be great to have the webroot on a remote server through ftp or maybe afp in a private network to the remote server, but with only tapping into the remote database already solves a lot of problems for the workflow.
    In order to make this work (mysql remote connection) one should create a user on the mysql server with host '%' instead of 'localhost'.
    Since this is not very secure, you could also set the host to your external IP (if its not dynamic), or give that user only rights to your testdatabase.
    Thanks,
    Johan Velthuis

  • Cannot preview or print other than single photo, want mult preview/print

    i download from nikon d90, see photos in organizer, can edit, share but cannot print multiple prints, 4x3.5 or 4x4x5 or preview them which i can do with single prints of any size.  this is new problem in last 3 weeks, was working great prior to this.  i have uninstalled and reinstalled pse7 twice.  i use page layout 8.5x11, package to select what i want to print and get hour glass in preview window and border or preview window.  what can i do to fix this?
    jim

    There might be some problem with the files. Try updating the thumbnail of the files by Edit->Updated thumbnail.

  • Simultaneous analog output 1k sine wave and data acquisition

    Although many topics of simultaneous analog output and input can be found in NI Developer Zone, I have not found a case similar to my project. I'm trying to generate a 1kHz sine wave by using the analog output of NI DAQPad-6070E, and acquire one channel input signal simultaneously. I found most of the examples can not work properly above 100Hz. Any suggestions are welcome. Thank you.
    Jian

    I have sucessfully solve the problem when I observed the increase of
    scan backlog number. Simply increase the buffer size of AI/AO and you
    can make the 1kHz sine wave output and data acquired properly.
    On Tue, 3 Feb 2004 09:03:07 -0600 (CST), jujian wrote:
    >Although many topics of simultaneous analog output and input can be
    >found in NI Developer Zone, I have not found a case similar to my
    >project. I'm trying to generate a 1kHz sine wave by using the analog
    >output of NI DAQPad-6070E, and acquire one channel input signal
    >simultaneously. I found most of the examples can not work properly
    >above 100Hz. Any suggestions are welcome. Thank you.
    >
    >Jian

  • Read Data (ASCII) and send to analog output

    Hello
    I have the following MAX configuration:
    Analog input task, continous, 2 samples, rate 100Hz (PCI-6024E)
    Analog output task, continous, 64 samples, rate 100Hz (PCI-6723)
    The cards are synchronized by the RTSI bus.
    With Dasylab I display signals from load cells by the input task. A "Read Data" module sends values to the output task. The "Read Data" module has the following settings: Output in realtime, synchronisation with analog input task, file is an ASCII, block size 4 values, no ascii time channel.
    Additional settings for DAQmx are done by DasyLab:
    Analog input: Driver buffer 30
    Analog output: Driver buffer 30, output start after 2
    When I start DasyLab I get a DAQmx failure (after a couple hours): DAQmxReadAnalogF64, Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
    Could anyone please explain, how to configure analog input/output task and the DasyLab settings (Read Data)? - Attached the DasyLab diagram.
    Additional information: The application should read and display signals from a test bench (load cells). The output shall feed external controllers. The input and output signals shall be displayed on the same chart (as realtime as possible).
    Thank you
    Regards Samuel
    Attachments:
    DasyLabDiagram.png ‏67 KB

    Thanks for the prompt reply! - I have changed the settings to the following:
    Analog input task, continous, 16 samples, rate 100Hz, driver buffer 32
    Analog output task, continous, 16 samples, rate 100Hz, driver buffer 32, output start after 32
    In the "Data read" module the block size is now 16 at 100Hz
    With this setting, DasyLab runs, but only for around 12 hours.
    The following error occurs:
    "Read date module name" / The data flow is blocked by one of the following modules.
    Followed by:
    Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
    Is there something else I have to care? Could it be problematic to send signals from different modules to the same Chart Recorder module? I use DasyLab version 11.
    Samuel

Maybe you are looking for