Select a Vi to acquire, save and read continuous analog voltage

Hi,
i'd like to get a Vi to acquire a continuous voltage in a chart or graph to measure a load cell. I would like to save it in binary format (ASCII) or DIadem format and then to be able to display and use it in Diadem.
I have already tried lots of vis but it is not easy to find one that can do all those functions.
At the momemt I am using the Continuous Acq&Graph Voltage-Int Clk and I mixed it with other vis to be able to save it in a binary file. So at the moment I can save it witout errors if the samples number, the frequency rate and the loop time are not too high.
But I have sometimes errors and I don't know how to read this saved file in LabView or Diadem.
In Labview the VI that normally read binary file (graph or chart) doesn't read my chart...?
Attachments:
Continuous data acquired (diagram).jpg ‏162 KB

Hi Intern2005,
For continuous streaming, I would recommend to create the binary data file yourself with the standard LabVIEW file I/O VIs, then create a header file to describe the binary file that you've streamed.  Here you have the choice of a TDM header file or a DAT header file.  The DAT header file approach requires downloading the LabVIEW-DIAdem Connectivity VIs:
http://digital.ni.com/softlib.nsf/websearch/5121C7F322C9392886256EDF005BB4FF?opendocument&node=13206...
The TDM header approach requires using a new set of TDM header VIs wrapped around a C++ DLL, which you can not yet download, but which I'm providing below.
Both approaches are wrapped up in the ZIP file below, with examples, and both approaches are 100% readable by DIAdem.
Ask if you have questions,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Attachments:
TdmHW.zip ‏1246 KB

Similar Messages

  • Can I save and read text files on a server that I host?

    Hello everyone,
    I am a java hobbiest. I was wondering if I set up my own server, running out of my house, could I have my applets save to my computer and read from my computer without having to learn JDBC and a DATABASE language. In other words could i just have my applet save and read text files from and to my server?
    I'm trying to set up a sight for my 5th grade class where parents can log into. Thanks for your time.
    Oh yeah, which is easier, learning how to set up a server or learning JDBC and a DATABASE language?
    If you have any other good idease please tell me them
    Thank you, Bryan

    Short answer: This isn't gonna work
    Long answer: For this to work, the first thing you're going to need is a static IP address and a DNS name registered -actually you don't necessarily need #2 but you're probably gonna want it and it's by far the easier of the steps.
    As far as I know to get a fixed IP address you've either gotta be directly attached to a larger network (ie university network) or get a leased line from an ISP.
    Once you've got that done come back to us.

  • How do i add selection when closing firefox to save and quit, the tabs?

    how do i save and quit when closing firefox?

    '''cosmos''':
    For illustrated example and explanation of entering/using '''''about:config''''' see: http://kb.mozillazine.org/About:config
    <br />
    <br />
    '''Other issues needing your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe PDF Plug-In For Firefox and Netscape "9.4.1"
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • What kind of code structure is good when target is to save and read huge amount scalar parameters?

    Hi All,
    LV 8.5.1 + DSC
    In my project I need to save many scalar parameters to file and also read them. There is about 100 logical parameter groups and inside those groups there is about 10 to 50 parameters. Every parameter have own describe name e.g. "TAG1_measurement_upper_limit". Parameter type is string and length about 1 to 7 characters. 
    In my first solution I made a typedef rings for every parameter group. This structure is not good because when there is a new parameter I must update many things manully. This means that number of parameters can vary. One good thing in this structure that it is documenting my code very effcient. I also like to keep my code simply as possible so I wan't write and read all parameters by using only two VIs. All parameters were saved to one CSV-file. Every column is one parameter group and every row is certain parameter. So there are many empty "cells" in this structure.
    I have consired different structures as database, CSV-file etc.. Does anyone thought this same issue before? Is there efficient way to solve this issue.
    -Jim

    Values of FP variables can be easily captured.
    1. Create a reference to the pane of the FP.
    2. With that reference you can fetch all the controls(/indicators) on the FP.
    NOTE: make sure that the label of the control/indicators is unique and have a distinct pattern e.g. IOgrp_IOitem_parameter (use caption for user viewing and label in blockdiagram)
    3. Using the label naming pattern you can store them in a file.
    The label can also be used to restore the value of the control.
    1. Read the file
    2. Get all control references
    3. For each value in the file
    3a. Find label name in control references
    3b. if found set value
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • I'm new user. I like to acquire, save and process the dynamic signal data

    My signal is from 5-10KHz and I'm using NI4551. I would like to acuire data for 5-10 sec, save it on the file and then perform frequency spectrum analysis. I realy appreciate if somebody refers me a vi, that I can modify to perform this particular task.
    Also I know there are good examples in Labview 6.1 but I don't know which would be appropriate for my application, and how to integrate separate vi's and achive my task.
    Thanks for the help

    In this case, you will not be able to use NIDSA.
    In order to program the 4451, you need to use the NIDAQ functions that are available in LabVIEW.
    I attach an example that shows how to save data acquired on a single channel to disk.
    Things you may want to add are :
    - Gain (input limits) depending on your sensor
    - AC/DC coupling
    I also compute a power spectrum on the whole waveform.
    You probably want to analyze your data in smaller blocks or analyze transients and modifying this example should be very easy.
    Please note I've been using the "waveform data type" to save data to a file in binary format.
    If you want your data to be "readable" by humans (ie save in XLS file format), you will have to use the "Export waveform to
    spreadsheet file" available in the waveforms manipulation palette
    I also would like to point you to the "Sound and Vibration 2.0 toolset" user manual :
    http://digital.ni.com/manuals.nsf/websearch/AC7BC1​9618C720BD86256BB2005AB842?OpenDocument&node=13210​0_US
    You may find useful information about signal processing in this manual.
    Hope this helps !
    Gerald
    Attachments:
    4451_Save_and_Process.vi ‏75 KB

  • Save and read an image on compact flash

    hi ;
    I want to save an image in compact flash and i want read  this image from this compact flash to display on the monitor  ,i work with an FPGA spartan 3400a for dsp but i don't know how to do that ,any one help me please with a video or tutorial

    Hi,
    There are some reference user guides 
    http://www.xilinx.com/support/documentation/boards_and_kits/ug514.pdf
    http://www.xilinx.com/support/documentation/boards_and_kits/ug458.pdf
    http://www.xilinx.com/support/documentation/boards_and_kits/ug455.pdf
    Regards
    Praveen
    Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
    Give Kudos to a post which you think is helpful and reply oriented.
    ----------------------------------------------------------------------------------------------

  • Hello. I have tried many times to download Adobe Reader (so I can create, save and read PDF files. I just cannot do this, I even disabled my anti-virus but still no luck. Please can you help?

    Can you please help in downloading Adobe Reader - I have tried many times but just cannot. I have Windows 8

    Hi deaconb62772367,
    Please try downloading using this direct Link: ftp://ftp.adobe.com/pub/adobe/reader/win/11.x/11.0.10/en_US/
    Do let me know if this helps
    Regards,
    Rahul

  • Generat two signals at the same time and reading voltage

    Hii
    i have try to generate two signals at the same time and read voltage from another port on the board(not have to be at the same time), i have not alot of expriens in labview
    and i based my code of example(http://zone.ni.com/devzone/cda/epd/p/id/5197) from yours site and try to suit to my needs
    now my problem is when i generat the 2 signals(that work perfect) i canot read voltage from another port on my CB-68LP
    i can not find the problem  and make it over i hope there is away to figer out and fix it.
    i have two cards 6229, and two CB-68LP board.
    labview 8.5.
    my code is look like this - http://img142.imageshack.us/my.php?image=scrennshot2no2.png
    (this works perfect).
    and this is my code after suit to my need - http://img183.imageshack.us/my.php?image=scrennshotfl5.png,there is  error exception at  the right side.
    the exception-
    Possible reason(s):
    Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
    Property: RefClk.Src
    Source Device: Dev1
    Source Terminal: 10MHzRefClock
    Required Resources in Use by
    Task Name: _unnamedTask<0>
    Source Device: Dev1
    Source Terminal: None
    Destination Device: Dev1
    Destination Terminal: RefClock
    Task Name: _unnamedTask<1>
    eyal

    sorry...
    The AO tasks is very important they will be synchronize ,it is very importent the two tasks will start at the same time
    and after it run at synchronize mode i will need to make reading of voltage
    i gust try to make simulation of machin (i give that machin AO and reading from it voltage that all)
    first of all i make the two signals(synchronize signals).
    and after it i will need to reading voltage.
    i can make two signals synchronize together.
    i can make reading voltage
    but i can't make two signals synchronize together with reading voltage
    it throw to me this error message.
    i am looking for away to figer this out.
    thank's for any help 
    eyal
    Attachments:
    test11.vi ‏130 KB

  • Starting analog read corrupts analog write waveform

    I have come across an odd condition that can occur if I am running a diagnostic routine on my system.  My diagnostic routine is basically four while loops, each containing code to control specific items in the system hardware. Two of the items are DIO's and always work no problem.
    (Am running LV 2013 on Win 7 with a PCI-6014 daq)
    Another contains an analog read using AI8 and the last contains an analog write on AO0.
    When I run the analog write task, I am feeding in a waveform that essentially pwm's the output.  By itself it works fine.  The only parameter I edit for the waveform generation is the total duration in seconds.  I set at two seconds and I get the modulated output for 2 seconds.
    The problem occurs when I try to do this and read the analog input (a simple voltage in from a pressure transducer) at the same time.
    If I start the read task while the write task is running, the modulation goes away and the signal goes high and stays there, not shutting off until I force it.   If I have the read task already running (in a loop remember so I can monitor pressure)  the write task acts even more wiggy.  When I start the task it runs for maybe 100-200 ms with the modulated signal and stops.  On about the fourth start, the signal goes straight to high again and stays there until forced off.
    So, is there some kind of limitation on this older hardware on reading and writing (at least a waveform) at the same time?
    The write task was orginally created in front of the loop and I tried creating it in daqmx and using that but it made no diffference.  I use a daqmx timing vi to set the sample clock rate based on the same waveform with a setting of finite samples.
    Any thoughts are appreciated.  This isn't stopping me from going forward but I would like to know why it's acting the way it is.
    Thanks....
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."
    Solved!
    Go to Solution.

    As I have not got this figured out yet, I am posting the guilty code in hopes someone might shed some light on what is causing the issue.  Code is pretty generic in nature with only one sub vi (also attached) and a couple simple tasks for reading the analog-in.
    This is on LV 2013 on a win-7 32 bit system using a PCI-6014 daq.  Analog read tasks are both on AI8. One task is configured to read the straight voltage from the transducer (0-10vdc) and the other uses a custom scale to convert to pressure.  Either one causes the conflict.
    Pressing the button to start the motor run works as intended by itself.  Default values for waveform are correct for my application though total pulse time (4 seconds) can be adjusted without consequence. (Note, waveform output controls an isolated SSR that contrls the higher level voltage)
    Running either option on the read pressure routine causes the analog out for the motor to wig out.  Stops pulsing and goes to a straight high condition.  If it is on first, starting the motor causes just a little blip of output for 4 - 5 clicks then eventually just sets the AO to high as well.  Continued clicking of the start eventually returns it to blip mode but not to the regular waveform that it is configured for.
    I have removed all un-related code from the routine that exhibits this behavior.  I returned the analog out to creating a task in the vi as was the original approach used. I had tried a preconfigured task in MAX but it made no difference.
    Small loop inside of motor state is to allow minor adjustments in power supply voltage while motor is running.  This has not even come into play at this point.
    If anyone can point out the error in my ways, I would much appreciate it.  I know the power supply vi is not the most robust and I will end up changing that to something better that uses the dll supplied by the mfg.  Current code is legacy material that I inherited.  Everything else though looks on the up and up from my persepctive.
    Thanks for any insight........
    (just had a thought, if the ground between the two drive voltages is made common, could that impact things ?  will have to see what the internal grounding connection on the daq is)
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."
    Attachments:
    Analog_Conflict_.vi ‏43 KB
    Serial Pwr Sply Driver.vi ‏68 KB

  • How do i expand my labview program to read 8 analog inputs?

    I am an electronic tech learning labview, The program I developed drives a solenoid high for three seconds, takes an analog reading, and then goes low and takes another reading.
    Program seems to work well. I would like to expand it to drive 4 solenoids and read 4 analog channels. Any sugggestions on how to create multiple instances and info on other design implementations would be appreciated. Thanks in advance. I have attached vi.
    JohnG.
    Attachments:
    write_and_read Dig Port9b.vi ‏40 KB

    You can define multiple channels in your DaqMX controls.  In your write and read statements, you change them from 1 channel to N channels.  You will need to send in an array on the Write Booleans, and the output of the Read Analog will also be an array.

  • Reading videos with iphoto and select iphoto in the screen saver

    Since I've upgraded my mac with mavericks, I can not read videos in iphoto'09.
    I have an other proble: I can't select iphoto in the screen saver module.
    Can you help me? thanx

    About videos in iphoto'09: before upgrading my mac with mavericks, in order to read videos I just click on it. Now, itunes don't find the good software to read the video in iphoto.
    About selecting a new screen saver: my mac can not find the iphoto library in the right place when I'm in the screen saver module

  • Using applet to select a part of an image and then save it

    Hi ,
    I want to use applet to select a part of an image and then save that particular selected part to a server. can anyone provide me a code for this. I have found codes on the sun site which help in uploading an image but I am having trouble in trying to select a part of the image.

    Sorry to get back to you so late, but I was away from my computer this afternoon.
    I'm not sure just what you are after. I do see that you have positioned the tree on the labels. I went to the web site for the label company, and their instructions are not too helplful.
    http://www.pixentral.com/show.php?picture=15sBkl9OZE9xSkHoLMxgwjTFv2VCg1
    I changed the white portion of 1 label to black - - this can be any color. To do this use the magic wand tool, tolerance=10 worked for me, then go to Edit>fill selection.

  • I deleted my download folder and now I can't download anything. I can't select the folder to "save file to" and when I select "ask me where to save files" I still can't download. it says your file will start downloading, but then it doesn't. Help!!

    I deleted the folder that saves everything that is downloaded from Firefox. After that I can't download anymore. I've tried clearing my download history, reset the download folder, reset the download action by renaming the mimetype.rdfs file and it's still not working. I've tried to choose a different download folder but it doesn't let me select any folder at all. If I select "ask me where to save files" and then try and download something, the download doesn't start after I select save to. The only time it does actually download is when I select "open with...windows mediaplayer" when downloading then the download will start. Please help. Thank you.

    You broke your phone by getting it wet.  Nothing more to say.  Bring it in to Apple for an out of warranty exchange or buy a new phone.  There's really nothing else we users here can help you with.

  • Save as text and reader mode

    Firefox needs a save as text setting. There is a save as text add on. However, twice the add on ceased working. Twice, I had to uninstall firefox, reinstall firefox and reconfigure the settings.
    In the alternative, Firefox needs a 'select text' in its settings. The stock android browser has 'select text' in its settings. Click on 'select text', touch webpage, two arrows appears, spread arrows apart, touch screen, a pop up menu offers: share selected text or copy. I select copy. Open 920 text editor, create a new plain text file and then touch screen.. However, text is not copied. I have to repeat this whole procedure several times because text is copied into a new plain text file.
    Whereas, Firefox cannot even bring up the pop up menu. I long press a paragraph in firefox. The two arrows appears. I spread them apart. I touch the screen. No pop up menu offering open to copy.
    Nor is reader mode an alternate to saving as text. I have not be able to save a webpage in reader mode because the book icon is rarely displayed in the title bar. Why? Firefox's article on reader mode does not disclose what file format the files are saved as. Can the reader mode files be converted to plain text files or PDF to be later read on a computer?

    Hi badbiosvictim,
    I see in the device information that you are running version 21. There were some improvements made in Firefox since then and I encourage you to see if the update helps resolve your copy and paste issue.
    However there is also save page as pdf that you can save on the device and read in a file reader.
    I hope this helps!

  • How can I save adobe reader file from gmail into my adobe reader app?? i would like to open one file in place where I'm not able to access internet and for that reason i would like to save it. is that even possible?

    How can i save adobe reader file from my gmail into my adobe reader application. or is there any other way i can save it into my phone so I'm able to open in any situation not just from my gmail???

    Long hold on the document in mail and it should give you the open in... option, select adobe reader and the file is now saved locally for viewing even while offline.

Maybe you are looking for

  • Color Correction in Final Cut Express HD

    I'm editing a stage production of A Midsummer Nights Dream that was shot on two different cameras. The set is very bright and vivid, and i have read and re-read the FCE Help page on the color correction topic. I have corrected my master shots (wides)

  • InDesign / Color Separations / BW Laser printer

    In the past, I have always used an old HP Laserjet 4MV/PS for our spot color separations from Pagemaker. Most InDesign (CS2 & CS3 / PC) files are too big for it to handle, so we create pdfs and output that way. The 4MV has now died and we want someth

  • CR2008 - How to run a Stored Procedure using Command Window

    Hi everybody, To generate my reports, I always adopted the foll. strategy:   (a) Create a SQL Stored Procedure (with Input parameters) in Management Studio   (b) Design a report in Crystal Report using the SP as datasource I want to experiment someth

  • IDOC to Suppliers

    We are going to send our (PO)IDOCs to our suppliers. From XI point of view I know the configuration. 1) But on the R/3 side how do they send the IDOCs to R/3? what are all the configuration needed 2) Once the configuration are made, then how to test

  • N95 third party program for e-mail anyone knows on...

    Hello I need a program that can sync my e-mail on my pc with my N95. Hope that anyone know a program. Thanks