Labview 6 arbitrary function generator file format?

Hi,
I have old hardware (e.g. DAQcard1200) which I have to use with old versions of Labview (4 or 6) (as they run on "old" hardware - Pentium1 embedded boards with Win98 etc.). With Labview 8 I can load a file in .lvm format and use it as output for A0. But how is this with the "arbitrary function generator" from Labview 6 (benchtop.llb)? I constructed an arbitrary function manually within the vi and saved it to a file, but its format does not make sense - only "strange" characters are displayed, like dŸ¾ “£¾ˆt÷¾ VJ¾– ¾ ñ¾£úD¾ªÛ˜¾±¼ë¾¸ž, if I open the file with an editor...  
Thanks!!
;-) Torsten

I don't have LabVIEW 6.1, but if the example hasn't changed, then that example writes out a binary file, which is why you get all those "strange" characters. The file should be an array of SGL values. Thus, you can read it into LabVIEW using the Read From Binary File, and wiring an SGL constant to the "data type" input.
Attachments:
Example_VI_BD6.png ‏1 KB

Similar Messages

  • LabVIEW 2015 - Fast File Format and PlugIn Architecture

    In LabVIEW 2015 the new "fast file format" was introduced:
    "Improving Load Time for LabVIEW-Built Applications and Shared Libraries.
    You can build stand-alone applications (EXE) and DLLs that load faster by using the fast file format in LabVIEW. <...> When you enable the fast file format, LabVIEW does not use the Application Builder object cache"
    The question about PlugIn architecture, when lot of SubVIs called dynamically (for example, from external LLBs) from relative small core application. What I observed is - the size of the executable with this option was significantly reduced (roughly twice) and the core application itself starts faster, but PlugIns load time is the same regardless from this option (I understand why - when application fully loaded then Dynamic calls just "normal" LabVIEW code and therefore this option takes no effect). Unfortunately in code distribution build spec (as well as in packed libraries) this option is not available.
    Is it possible to get "fast" application also for PlugIn-based architecture and get LLBs or packed libraries in "fast file format"? Can someone explain, what means "LabVIEW does not use the Application Builder object cache" and how this "fast load" mechanism technically working?
    Thank you in advance,
    Andrey.

    Andrey_Dmitriev wrote:
    In LabVIEW 2015 the new "fast file format" was introduced:
    Is it possible to get "fast" application also for PlugIn-based architecture and get LLBs or packed libraries in "fast file format"? Can someone explain, what means "LabVIEW does not use the Application Builder object cache" and how this "fast load" mechanism technically working?
    Thank you in advance,
    Andrey.
    Hey Andrey!  It's good to see that you guys have been getting some good mileage out of this project.  I'll go through your questions in order ...
    1) These optimization are actually always enabled by default for packed project libraries. In fact, the load time benefits for packed libraries should generally be better than what you observe for .EXEs and .DLLs!
    2) The app builder cache is something that is enabled for EXEs and DLLs that works to cache the results of previous compiles when the source has not been updated.  It is somewhat analogous to the .obj object files generated by a C++ compiler.
    3) I won't get into too many nitty gritty details but the gist of it is... LabVIEWs various non optimized file formats are treated somewhat similarly to the way that we treat 'loose' VIs. In a DLL/EXE/LVLibp we know at build time what the contents and dependencies of a given built binary are going to be.  With this knowledge we can go ahead and construct something that is more similar to a statically linked PE or ELF file (clearly we're not using either of those) while the analogy is not 100% perfect it's the best I can do without going into a couple pages worth of description   In addition to these basic file format changes we did a large amount of work on implementing a new loader which is able to take advantage of the large amounts of precomputed file data that is now included in the format which enabled us to cut a lot of corners that were there previously.

  • Can I Write Data to a *.xlxsx File Without Screwing Up the Excel File Formatting?

    I'd like to programatically add LabVIEW-generated data to a nicely-formatted *.xlsx file, one with all the right borders and column widths, etc.  But every time I try to add the LabVIEW data, the xlsx file formatting gets all screwed up and the file gets corrupted.  Is there a way around this?
    Thanks!
    - FB
    Solved!
    Go to Solution.

    FB,
    I was able to find the following link on the NI website.  I think it addresses the issue you are describing using the Excel ActiveX interface.
    AutoFit Columns and Rows in Excel Using LabVIEW: http://digital.ni.com/public.nsf/allkb/8697100BBFA68902862571D4006D893B?OpenDocument
    Regards,
    Isaac S.
    Regards,
    Isaac S.
    Applications Engineer
    National Instruments

  • DC offset problems in NI-5401 function generator card

    When i give a Dc offset of 1 Volt the output of my function generator reads 1.97v. what is the reason behind this,why is it so what setting have to be made so as to get the dc ofset only when no ac signal is given.

    Hi. The NI 5401?s output voltage is specified in terms of 50 ohms. This means for a 50 ohm load, you should see 1.0 Volts for a 1.0 Volt setting when the load is 50 ohms. For an other than 50 ohm load, there is a voltage divider action that takes place, where the voltage will vary up to double the size for a high impedance load, such as most default oscilloscope settings. The Connecting Signals>>ARB Connector section of Chapter 1 of the NI 5401 user manual describes this in further detail.
    To generate just a DC voltage level, there is an option for DC as the Waveform to use when programming the device. The LabVIEW niFgen Function Generator Example shows this on the front panel. If you are using the Sources Soft Front Panel, when the Standard Function Output is se
    lected, there is a DC Voltage level selection button available to be selected to generate a DC voltage.

  • Creating random timeseries in Labview to Arbitrary wave generator

    I do not know anything about Labview but somehow i need to get this task done.
    How do i make a random data time series using the data arrays in a text file to be generated into the arbitrary wave generator? Can somebody please provide an example file for this?
    Thank you in advance. 

    Hello Nazerrul,
    There are several ways to do something like this.
    First, many Arbs also have function generating capabilities, including random noise generation. What exact arb are you using?
    If your arb doesn't have this capability you could use the Gaussian White Noise Waveform VI to create a noise waveform that you could then load into your arbitrary waveform generator. How to do this part depends on your arb. What exact arb are you using?
    In short, more information is needed, including the arb you are using and what you have done so far in getting this to work.
    Regards,
    Dan King

  • Sending .arb files to function generator

    Hi
     i am  very  fresh to labview  programming.
     I have  created some  waveforms  using  HP BenchLink software(and saved in .arb file  format).  Can i send  these  wave forms  to  a  function generater  through Labview  program . if  possible   how  can i do that
    Thanks
    jith

    Hi
     Yes  i have  downloaded the driver ag3xxx and  installed .  and   also got  some  advise from [email protected]
      Their  comments  follows .
                    Yes you can read the values from the .arb file into LabVIEW and store
    the values in 1D array or text file and then send it to the function
    generator you are using.
         Basically you would have to use APIs such as read from binary
    file(there are examples present in LABVIEW example finder which shows an
    example of how you could read a binary file.) After reading from the file
    you could store its values in an array or a text file and the read from
    this array and send the data to the function generator you are using. If
    you are using a function generator which is not made by National
    instruments you have to install the device drivers for that instrument fro
    LABVIEW, you could install them from www.ni.com/idnet.
                 i have  used  some  eg:  programmes   given in LV to read binary files .
                 The  function name is  "read binary files vi " .  the  out  put  of "read binary files vi "
                 is  data .  I am trying  to store this  data  in an array  , but   got  stucked  ,  in finding
                 a sutable  function to send  this  array valuse  to  the  function generator. Can  i send
                  the  array out  put  directly to a  FG  ?
     Thanks
     jith

  • Create a melody with Labview/ Function Generator

    Hi (first sorry for poor english, not my native language)
    I have a project at school which is creating a melody using Labview and a function generator. I've worked on it for hours now and i still can't get through it.
    I joined the vi file with my post so you can get a look at what i've done so far.
    First, i do'nt know which loop i have to use (u'll understand soon enough if u just take a look at the vi file), the problem is that i want to create 4 arrays using 2 text files.
    The first one is used as a reference : exemple the frequency to play an A is 440Hz, so my first text file looks like that :
    A 440
    B 493
    the second one is my melody, which includes the notes and the tempo (in ms)
     , so it's like :
    B 1000
    C 1500
    I used the first two loops to seperate each string lines of my files so I have at the end 4 different arrays. One containing the note's references, one containing the frequency, one containing my melody's notes and one containing the duration of each notes.
    The problem is that when I use a while loop, it seems that my arrays are not containing every elements it should, it only has the last one. Just try to run the vi file.
    Could anyone give me some help ? Don't hesitate to ask more questions if u didn't fully understand my problem !
    Thx
    Attachments:
    PR.vi ‏19 KB

    Hi claudeuntel,
    Your array contains just the last note because at each for loop iteration a new table is created.
    You have to send the table you created at one iteration to the next one.
    To do this you can use shift register.
    I didn't have tested the VI below but it should looks like that.
    Valentin
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • 33522A Function / Arbitrary Waveform Generator, 30 MHz

    Hi!
        I have got 33522A Function / Arbitrary Waveform Generator, 30 MHz. I want to produce two squarewave signal of 30 KHz, one on each channel. Trick is the wave form should be mirror image. I problem is, wondering if those signal is sysncronise if i drive it via LabView.  
    Solved!
    Go to Solution.

    I have played around with one of these in the past, and these signals should be synchronized without any special commands.
    This can be done on the front panel of the device or via LabVIEW. The simplest way to set these is make the channel parameters identical except for amplitude, make the amplitude of one output the negative of the other output.
    One thing to be aware of ...
    although synchronized, sometimes there is a slight phase difference between the two signals, you may have to adjust the phase of one of the signals to match the other. This is best done with an oscilloscope.
    Cheers,
    mcduff

  • Convert file format into UTF-8 while generating text file on FTP server

    Hi Expert,
    I have the requirement to generate text file store it in FTP server and file format should be in UTF-8.
    ABAP Development is completed but text file format generate in ANSI which not acceptable by client.For generating text file and store it on FTP server by using standard function module FTP_R3_TO_SERVER ,but in this function module there is no any parameter option like CODEPAGE for file format conversion. Is there any method or any function module to convert file format to UTF-8 and directly transfer or store it on FTP server.
    <<removed_by_moderator>>
    Thanks ,
    Edited by: Vijay Babu Dudla on Jan 28, 2009 12:48 AM

    I have come across the same issue.  Try calling the FTP_COMMAND function module to make it go into ASCII mode before your FTP the file, like this:
    data: result type table of text with header line.
    call function 'FTP_COMMAND'
        exporting
          handle        = hdl
          command       = 'ascii'
        tables
          data          = result
        exceptions
          tcpip_error   = 1
          command_error = 2
          data_error    = 3.
      call function 'FTP_R3_TO_SERVER'
        exporting
          handle         = hdl
          fname          = docid
          character_mode = 'X'
        tables
          text           = gt_your_table .

  • Send data using exel file to function generator

    Hi all,
    I have one function generator which I controll with LabVIEW, I attached here the simple code.
    I would like that code read some data from exel file .
    May you please help me?
    Thanks
    Attachments:
    DG4000General.vi ‏43 KB

    I used different example like the one that I attached but I can not connect with m device.
    Now I can read my datas from Exel but how can I send to generator?
    I really confused.
    thanks in advance
    Attachments:
    Untitled 1.vi ‏34 KB

  • How do I use "Generate" to produce multiple file formats from the "Default" layer?

    I have a Photoshop file with ~50 layers, each with unique file names for images I want to create.  I want to produce in both .png and .svg file formats for each layer.
    Rather than adding the code to each layer individually can multiple file formats be assigned on the "Default" layer? What is the correct syntax to do that?
    Something like:
    default  100% .png, svg/ *.svg
    ... to generate the .png versions and then also create a folder called "svg" that contains all the .svg versions of those images?

    Dear Thomas,
    I entered TM and found the sparsebundle under the Filesync library. However, it appears NOT to be recoverable and I tried double clicking on it but it doesnt do anything other than show a summary of what it is.
    By the way, I really do appreciate your comments and agree completely. Something strange happened with my syncing of Idisk (which is set to "automatic"). It has been working fine for years. But for some reason, it stopped two days ago and did not let me know. When I tried to put something manually on it (through drag/drop), it never showed up on the Idisk on the cloud which made me notice and check it out by going to Mobileme through the browser. I then went to the tech service for Idisk and they explained that something probably got corrupted so just hit STOP syncing and then hit Automatic again. Which is what I did. Then everything from the cloud went to my Idisk on my computer and for some reason, the latest version of my excel spread sheet for attendance showed two days ago, not last night. so I lost wed/thursday classes. I KNOW it was on my Laptop which is backed up to TM every morning.. Thats why I believe that the latest file IS on my TM backup for this morning. But I can't get to it. Any other help would be appreciated.
    Skip

  • RWRBE60.exe error when generating a report to a file format

    Hi people,
    I'm employed as a consultant by a major Petrochemical facility in South Africa.
    My problem is as follows:
    Our product dispatching system contains a number of reports which need to be generated to a file format (either PDF, RTF or Text).
    Whenever one of the users attempts to do the above in the Reports Previewer
    (by clicking on "File" -> "Generate to File" -> "Text"); the following error is displayed:
    "RWRBE60.exe - Application Error. The instruction at 0x00281036 referenced memory at 0x00000000. The memory could not be read."
    This error only occurs when they attempt to run a report through the Application itself.
    I've recompiled and executed the same report(s) using Reports Builder 6, and it generates the file(s) with no problems whatsoever!
    Only when running said reports through the Production application, does this error appear.
    Your feedback will be highly appreciated!
    Thanks!

    This certainly looks like a bug, but you should probably check and make sure that you're on the latest patch set (or at least patch set 10 - Reports 6.0.8.19) before contacting support and pursuing further.
    Hope this helps,
    Danny

  • How can we generate the reports in html or text file formats?

    Hi,
    Is there any package that can help in creating HTMLDB reports in .txt files or .html files? (Similar to TEXT_IO in Oracle Forms)
    How can we generate the reports in html or text file formats from HTMLDB?
    Thanks in Advance
    Renjith

    Hello all.
    Bi Publisher is great, but has a very high price tag. It's even more expensive than Forms & Reports Services. We are considering APEX to replace Forms & Reports on the web, but the reporting limitations are still a problem.
    I wonder if there is another option.
    Thanks

  • ABAP custom program to generate HIPAA 834 file format

    Hi Guru's,
    I have a requirement to generate the HIPAA 834 file format for all the interfaces  ABAP  HR programming. Could you please suggest me is there any sample code or program or FM or Class to generate this file format .
    It would be veryhelpful to me as am working on the critical requirements.
    Thanks in Advance.
    Regards,
    pj
    Moderator Message: MYSELF.
    Edited by: kishan P on Dec 10, 2010 4:21 PM

    Hi Svetlin,
    Thanks for your response, still i am not clear what all customization i need to do, to get the desired file from FDTA tcode.
    Any how i have created my own program and linked that program in FBZP tcode.
    File is getting created in Application server and able to download it from FDTA tcode.
    But the problem is the downloaded  file format is not coming in desired fromat.
    I created a file like this this i can see it in AL11 tcode.
    #1(Record1)
    F1(Value1)
    F2(value2)
    F3(Value32
    #2(Record2)
    F1(Value1)
    F2(value2)
    F3(Value3)
    When i am downloading from tcode FDTA all the records are getting written in one line.
    where as i need it in above specified format.
    I am using even page code as 1100.
    Any idea is tehre any page code i need to updated other than 1100.
    Thanks,
    Mahesh.Gattu

  • Generate a report in text file format

    Hello Experts,
           I need to write a program to generate a report in a text file format which is later saved on a directory in the application server. I have the fields with the sources defined and also the filters, selections, rows and columns. For example:-
    0company code (US) as the filter, 0CALDAY as the selection, CUSTNAM as the object in the row with sources coming from BUKRS and ZSD_CCUST. Can someone initiate or direct me to an already existing forum or throw some light on the issue.
    Thanks,

    Hi,
    As mentioned above, the Open Hub service allows to extract data from an InfoCube/ODS/InfoObject and then store it a database table or flat file stored in the application server. You can start in transaction RSBO and create an InfoSpoke there.
    To schedule an extraction using an InfoSpoke, you need to place it in a process chain.

Maybe you are looking for

  • Open hyperlinks from database

    Hi, I have a table in database that has files uploaded from front-end like XLS, DOC, PDF,TXt etc. I need to create a report that shows the filename as hyperlink and when user clicks the link, it should open the attachment in Excel if .XLS, Adobe if .

  • How do I unlock an iPhone 4 with iOS 7 and bypass the activation lock?

    How do I unlock an iPhone 4 with iOS 7 and bypass the activation lock? I can't find the previous owner and I really want to use my new iPhone, I did purchase it Second-Handed.and now I'm stuck. Ive tried recovery mode and nothing still restores and a

  • Need to edit erroneous entries in iTunes Info autofill lists (artist, genre)

    Bad entries in iTunes appear (autofill feature) when i am filling in artist, composer, genre, etc.  Need to correct and clear out these bad entries. TIA for all your help. Regards, Allan.

  • Will iTunes lose my music if I have to do a restore on my pc?

    I need to do a restore back to factory settings on my pc before it finally keels over and dies! Will the music iTunes has in my library still be there even though it will be gone from my pc? Im not talking about purchased music ALL my music? Cheers

  • Illustrator CC crashes when opening large files

    Illustrator CC crashes everytime a try to a open a file larger than 100MB, I have restarted my Mac, reinstalled Illustrator, it solves the problem for a day, but the next day is the same problem all over again. It doesn't show any message,  it only d