How can I hold a value of voltage, which can be used as a numeric value

Hi, I'm trying to read in a voltage value and then hold it when i press a button. This value should then be able to be used as a numerical value, e.g. I can divide it or add constants etc. I realise this is probably a totaly remedial question, but it's for my dissertation at uni and my tutor thought it would be a great idea to program part of it in Labview, which NOONE in the uni knows how to use, and we've never been taught it.
Any help would be awesome,
Grant

Thanks JoeLabView, but maybe I should start by describing the purpose of the program.
I'm reading the voltage going into a DC motor (max 200V) so i'm using a 10:1 voltage divider to reduce the voltage seen by my labjack since it can only measure up to 20V. I read the voltage seen at the voltage divider, e.g.  20V at 200V and then, in labview, multiply this by a multiplying factor to get it back to 'actual' voltage. e.g. 20*10 = 200. But since resistors aren't made perfect, (especially not 5A ones) my divider actually works out at something like 9.8756:1. Therefore I have to set the voltage to the motor to something known (e.g. 100V), then tell labview that value, it reads the voltage input to it through the labjack, and MultFactor = UserInputVoltage/LabjackVoltage.
Using the multiplying factor, I can then display the 'Actual' voltage over the motor.
The motor is also being controlled by LabView, but this is simply using a slider, attached to an analogue_out VI for the LabJack, so shouldn't be too consequential.
Now to answer your questions.
1) The LabJack is a USB device which 'instantaneously' reads the voltage, so as the voltage input to it changes, so does the value output by its VI in LabView. It changes in real time.
2) I will need to continue to use the input from the LabJack once I have generated the mulitplying factor, multiplying the LabJack input by the multiplying factor in real time, so I can plot a graph of the change in voltage with 'real' values.
3) Do you mean what does my program do just now when i release the button, or what i want it to do?
4) I don't know how to structure the program, but hopefully what i've said above should help.
5) The interface will include;
Numeric Control to set the 'actual' input voltage
A button to tell the program when to generate the mulitplying factor
A waveform chart displaying the 'actual' voltage (0-200V)
A slider that I can use to control the motor. (this part i can do myself, it's a reference for a PWM circuit connected to a buck converter)
Thanks again man, hope this is what you need.

Similar Messages

  • Taking my 4S verizon phone to italy,greece. can i safely recharge on their voltage? can i use the phone?

    taking my verizon 4S phone to italy and greece. can i safely recharge on their voltage?
    can i use the phone in europe?

    razmee209 wrote:
    You would probably need to contact Verizon and see if you can use the phone there.  You may need to add some international plans to your phone prior to leaving.
    I think he was refering to charging the iPhone not a calling plan.
    Here is what I found on a Google search:
    From an Electrical Engineer. Short answer: Yes.
    Long answer: The only things that is important for using any AC adapters overseas are the following:
    * You need to have the right type of plug. If you do not it will not fit, and if you force it, it could break.
    * The adapter needs to support the right voltage for input. Some of the world uses around 110 volts. The rest uses around 220 volts. Many digital devices have power adapters that support both, which is often written as 100-240V or sometimes 110-240V. As long as it support both you are good. If it does not things get messier, and I won't get into them here.
    * It must support the correct frequency for input. Again some parts of the world use 60 Hz, the rest uses 50 Hz. Just about all AC adapters support both. If the do they will say 50-60Hz.

  • I want to check that how many users are connected to the wifi which i m using at present

    i want to check that how many users are connected to the wifi which i m using at present???

    Go to Utilities > Airport Utillity
    If you click on your router it should show you the "wireless clients" that are connected

  • How to configure visa to adquire dat from serial port and then converted to numeric value from a home embedded device

    I already stablish communication with my serial port using VISA, selecting COM1 as the resoure name.
    After that, I tried to read the data from the port (as we know the data was in string format )but I need to convert the data to numeric value to hadle it (no arrays).
    Another main thing is that I'm develoing a new based Embedded design and tthe info that will trhow out from the device to the PC is binary.
    How can I solved the problem, and if I want to make bidirectional communication with my system how can I do it? The VISA intructions as *IDN? and so forthetc can be recognize by the external system if the COM1 port is recognized by NI Max as ADSRL1::I
    NSTR1?

    Hello,
    For an example of bidirectional serial communication in LabVIEW, please see the shipping example LabVIEW <-> Serial.vi. This can be found from LabVIEW by going to Help >> Find Examples. From the example finder, select Hardware Input and Output >> Serial >> LabVIEW <-> Serial.vi.
    Once you are able to read the string data in, you can use the VIs in the String/Number Conversion palette to convert the data to numeric format. To access these, right-click on the block diagram >> All Functions >> String >> String/Number Conversion.
    Let me know if this does not help.
    Regards,
    Sean C.
    Applications Engineer
    National Instruments

  • How do I delete caches in Lion and which can I delete?

    How do I delete caches in Lion and which ones can be deleted?

    you can delete all of them, they will be recreated as soon as the app opens again.
    Clearing Local Caches
    quit all open apps
    open Finder press "shift+command+G" and type ~/Library/Caches
    Drag all files and folders to the trash
    Enter login password when prompted
    Reboot
    your system may seem slower after reboot, this is because the caches are being rebuilt.
    Clearing Application Caches
    quit all open apps
    open Finder Press "shift+command+G" and type /Library/Caches
    Drag all files and folders to the trash
    Reboot

  • How to set web job like a ssis which can take xmil file from azure storage to up date azure sql

    Hi,
    I have xml files under azure storage, i would like to set up web job which should be scheduled and
    load xml to update/insert/delete azure database.
    I have done SSIS locally and but cant use in azure.
    According to several advices and forum pages,I need to create azure web job.
    Please advice link or advice.
    Thanks.
    Superman

    Hi,
    To get started with Azure webjobs you could refer the following link:
    http://azure.microsoft.com/en-in/documentation/articles/websites-dotnet-webjobs-sdk-get-started/
    The article shows how to create a multi-tier ASP.NET MVC application that uses the WebJobs SDK to work with Azure blobs in an Azure Website.
    Meanwhile, we will research regarding your specific requirement and revert with our finds.
    Regards,
    Malar

  • How can I get INSTID_B for the documents which are stored using Store Business Document functionality

    Dear experts,
    I had activated the functionality of Store Business document and successfully stored documents in external server.
    My client have a custom function module which is used to send emails.In that FM they used SO_DOCUMENT_READ_API1, SO_DOCUMENT_SEND_API1 function modules.They passed Instance Ident(SRGBTBREL->INSTID_B)(eg: FOL33000000000004EXT39000000000026) as export parameter to the FM 'SO_DOCUMENT_READ_API1' and get the attachment details and content.
    Here my problem is I do not have entries in the table SRGBTBREL for the documents which are stored using the Store Business Document functionality and without INSTID_B I am unable to use the FM 'SO_DOCUMENT_READ_API1' to get the document details and content. Please help me to find INSTID_B for documents which are stored using Store Business Document functionality or please let me know if there is any other way to use FM 'SO_DOCUMENT_READ_API1' for documents which are stored using Store Business Document.
    Thanks in advance.
    Regards,
    Kiran

    Hi Kiran,
    You can use the following method to get the information. For example if you want to get BO documents for a customer
    CALL METHOD cl_binary_relation=>read_links
       EXPORTING
         is_object           = ls_lpor
         it_relation_options = lt_relat
       IMPORTING
         et_links            = lt_links.
    then fill  ls_por-instid with a customer number (KUNNR), ls_por-typeid = 'KNA1' and ls_por-catid = 'BO'.
    Table  lt_relat should contain a line option  for each document type (for example 'I' 'EQ' 'NOTE', 'I' EQ 'ATTA', 'I' EQ 'URL', ...
    In table lt_links you will get your information.
    Maybe some other methods of class CL_BINARY_RELATION may also solve your issue.
    Regards,
    Klaus

  • Security - Can I limit the number of computers which can access a PDF?

    I'd like to set the following specific securities over my PDF document:
    1. Password access
    2. Editing (copy/paste) disabled.
    I already know how to do these two in Acrobat.
    3. Limit the number of computers which can open the document. (i.e. I want to prevent the document holder from sending their copy of the PDF to someone else via email, external hard drive, etc.  Once he/she opens the PDF on their laptop, it can't be opened again on any other cpu)
    4. Expiration (i.e. I want to set a 5/10/15/ or 30-day expiration on the document.  Once it's been opened, it will become inaccessible in 5/10/15/ or 30 days' time.....whichever I would specifiy)
    Can someone help me with the last two items?  Your help is much appreciated.
    --Charles

    If (and this is a big IF) all recipients of your PDFs have digital IDs (PKI-based certificates), you can encrypt your PDFs with certificate encryption. In the encryption workflow you add recipients' certificates (with public key only) to the encrypted document. After that only holders of one of those certificates may be able to open your PDFs. This method does not restrict the documents from opening only on specific CPUs and does not prevent documents from being moved from one location to another but rather restricts the ability to open this document to a pre0defined group of people who are identified by their Digital IDs.
    The caveat here is that all these people need to have Digital IDs and send you their public keys.

  • How to invoke a jsp page from java which does not use Servlets?

    Hello,
    I am working in Documentum. I am trying to invoke a jsp page from another java page which does not use Servlets.
    I tried doing this by just instantiating the java class related to the jsp page from my present java class.In my java class related to the jsp page, I have defined onInit() and onRender() methods.
    Now, I am trying to call the jsp page from my present java class by just instantiating the java class related to the jsp page. This throws a java.lang.NullPointerException.
    Any comments or suggestions on this.Any help would be appreciated.
    Thanks,
    Ranjith M.V

    RanjithM.V wrote:
    Hello,
    Thanks for the reply. One important thing I forgot to mention. I am also using xml component.And?
    As this is the standard way used for coding in Documentum, I do not want to use Beans.Well, JSP's should, in and of themselves, contain no functional code. It should all be only display.
    Without that is it not possible?What did I say? I said,
    masijade wrote:
    It is possible, but I very, very, very, much doubt, that it would be worth the effort.And, if you don't know how, a forum is not truely going to be able to help you implement it (at least not in less than a few years time, at which point it would be outdated).
    >
    Appreciate your understanding and help.
    Thanks,
    Ranjith M.V

  • Where can I find a list of variables which can be used in Firefox preferences?

    Where can I find a list of variables (e.g. %LOCALE%, %VERSION%, %SUBSCRIPTION%) and their definitions which can be used in Firefox preferences?

    %LOCALE% comes from his pref: general.useragent.locale
    Fore some others see:
    * https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIXULAppInfo
    *https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIXULRuntime
    An example can be seen here in getUpdateURL()
    *resource:///components/nsUpdateService.js

  • How to change the frequency of pulse train on the fly using an array of values?

    Hi all!
    First I want to thank U for the great job you are doing for this forum.
    Iam still busy trying to control a stepper motor, by sending pulses from my E-series 6024 to a compumotor s6- stepper Driver. I've managed to get it working. I desperately need to control the motor using the values from an array. I believe we can use two approaches for that:
    1st - I can get an array of the "numbers of pulses". Each element must run for 10 milliseconds. Using that we can calculate the array of frequencies to send the number of pulses within 10 milliseconds for each specific element. Could we use the arrays of "number of pulses" and frequencies in a "finite pulse train " and up
    date with each element every 10 millisecond?
    2nd - Or Could we use of the frequency array in a "continuous pulse train vi" and update it every 10 milliseconds?
    Please note that I must use the values as they are.
    Can someone please built a good example for me? Your help will be appreciated.
    Regards
    Chris
    Attachments:
    number_of_steps.txt ‏17 KB
    frequency.txt ‏15 KB

    Tiano,
    I will try to better explain the paragraph on LabVIEW. The original paragraph reads ...
    "While in a loop for continuous pulse train generation, make two calls to Counter Set Attribute.vi to set the values for "pulse spec 1" (constant 14) and "pulse spec 2" (constant 15). Following these calls you would make a call to Counter Control.vi with the control code set to "switch cycle" (constant 7). The attached LabVIEW programs demonstrate this flow."
    You can make two calls to Counter Set Attribute or you can make a call to Set Pulse Specs which, if you open this VI, you will see that it is just making two calls to Counter Set Attribute. What you are doing with the Counter Set Attribute VIs is setting two registers called "pulse s
    pec 1" and "pulse spec 2". These two registers are used to configure the frequency and duty cycle of your output frequency.
    The example program which is attached to this Knowledge Base demonstrates how to change the frequency of a continuous generation on the fly. Why continuous? Because changing the frequency of a finite train would be easy. When the train completes it's finite generation you would just change the frequency and run a finite train again. You would not care about the time delay due to reconfiguration of the counter.
    If you would like to change the frequency of the pulse train using a knob, this functionality will have to be added in the while loop. The while loop will be continuously checking for the new value of the knob and using the knob value to set the pulse specs.
    LabVIEW is a language, and as with learning all new languages (spoken or programatic) there is a lot of learning to be accomplished. The great thing is that LabVIEW is much easier than mo
    st languages and the learning curve should be much smaller. Don't fret, you'll be an expert before you know it. Especially since you're tackling a challenging first project.
    Regards,
    Justin Britten

  • How can I put data in an array which will be used in SPC plotting

    In my program, it will generate data continuously and I would like to store these data time to time in an array. Could you suggest me a method?
    For example, 1.77,1.67,1.56,1.89,1.99... (these data generated continuously)
    1st second: 1.77 1.67,1.56,1.89,1.99( store in array)
    After 1 second: 1.67,1.56,1.89,1.99,1.33 (remove the first one data in the array and replace it with the following generated data)
    How can I remove the data in the array and replace it with the other data?
    Could you give me some examples?
    Thanks

    Check the attached VI. It includes two methods. You can choose the one you like. I prefer the bottom one because only one extra memory for the subarray is created. The top one makes two copies because of the resize.
    Joe
    Attachments:
    Simple_Numerical_Que.vi ‏26 KB

  • How can I scan my network to determine which PC is using static IP or DHCP?

    Hello friends,
    I`m using Spiceworks for couple of days alreadyand need some help on this - In another post i saw that via SpiceWorks I can see how many PCs are using DHCP or Static IP (http://community.spiceworks.com/topic/37663-how-can-i-scan-my-network-for-static-ip-s-without-checki...) but is for previous version of the program. Currently I`m running version 7.4.00059.
    Can someone point me in the right direction where can I fing this information?
    Thank you very much for the help.

    Get a sneak peek of VeeamCloud Connect Replication– Veeam’s new DRaaS technology for service providers:• Leverage the Veeam cloud gateway to set up customer connections, without the need for VPN.• Use proven Veeam replication technology to create standby VMs.• Use Veeam network extension appliances to give customers seamless connections between their production and DR sites.• Allow customers to start failover in a complete self-service way from a mobile-friendly web portal. See you 7/7. -- http://go.veeam.com/webinar-delivering-draas-veeam.htmlNote: This webinar is for service providers. If you’re a Veeam customer interested in using Cloud Connect Replication in Veeam Availability Suite v9, check out this on-demand webinar:http://www.veeam.com/videos/fast-secure-cloud-based-disaster-recovery-veeam-cloud-connect-6345.html

  • New IPhone 5 and can't sync due to ITunes version, which can't be upgraded due to OSX version 10.5.8.  Appears Apple is forcing my to upgrade my OS.  How do I go about it?

    Or is there another way to sync my apps, contacts, photos, music, etc from my old phone to my new phone?

    Start by checking if you can run Snow Leopard:
    Requirements for OS X 10.6 'Snow Leopard'
    http://support.apple.com/kb/SP575
    The OS 10.6 Snow Leopard install DVD is available for $19.99 from the Apple Store:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    and in the UK:
    http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    but nobody knows for how long it will be available.
    When you have installed it, run Software Update to download and install the latest updates for Snow Leopard to bring it up to 10.6.8, or download the combo update from here:
    http://support.apple.com/kb/DL1399
    Check via Software Update whether further updates are required.
    You should now see the App Store icon in iTunes, and you now need to set up your account:
    http://support.apple.com/kb/HT4479
    To use iCloud you have to upgrade at least to Lion, but some functions are only available in Mountain Lion:
    http://support.apple.com/kb/HT4759
    You can also purchase the code to use to download Lion (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard), or you can purchase Mountain Lion from the App Store - if you can run that:
    http://www.apple.com/osx/specs/

  • How can Java program convert to .exe file which can run on window system?

    Hi,
    I am a new programmer, now I wrote a program on the Eclipse, and now I want to convert to .exe file and make the program can be run on other window office system PC.
    I had downed EXE4J software to make the program to .exe. BUT the exe file can not be run on other PC with the error message that warning the PC have not set up JVE. IS it necessary to set up JVE?
    OR give me your experience on how to do it?
    Thanks!

    >
    I am a new programmer, now I wrote a program on the Eclipse, and now I want to convert to .exe file and make the program can be run on other window office system PC.>If you only code for Windows, why not use dotNet or C# or whatever system MS is pushing at this instant?
    If you wish to code for computers, Java is good, but it needs a JRE.
    The easiest way to get a Java application up and running on a client PC is to launch it via. webstart, and to use deployJava.js to ensure the minimum Java is on the client PC, ready to use webstart.
    Used this way, you link to a web page where the user clicks a link that downloads and installs the application (and adds extras like splash screens, desktop integration, registration of interest in file types, automatic update..).
    As an aside. The best way to ensure answers is to indicate your interest in solutions, by adding a lot of Duke stars to a thread.

Maybe you are looking for

  • Transaction Handling in webservice based partnerlink

    What is the transaction handling mechanism for parnerlink which calls webservice (not native BPEL/ESB)? REgards priyadarshi

  • TS3992 Having trouble with iCloud backup storage-Please help me

    I am trying to setup my icloud storage backup and I have all app turned off and have turned off all other things to store as well, yet my "Next Backup Size" is saying 18.0 GB... Nothing I do will change this 18 GB.  I don't have photos or music set t

  • Passing an option to java command (from JDev31).

    Hi, I need to pass -Dorg.omg.CORBA.ORBInitialHost=buzz to java command. I think it should be added in jdeveloper.ini file but I dont know how. Your help would be highly appreciated, Reza null

  • Filter checkbox disabled in Numbers 09

    I have previously been able to filter a spreadsheet using Numbers 08, but the functionality does not seem to be working in Numbers 09. I cannot get the checkbox checked -- it is always disabled [grayed out]. Has anyone been able to get it to work? Th

  • HP Pavilion g6-2380sa

    Hi, I have purchased HP Pavilion g6-2380sa a week ago. It says on Hp website Discrete Dedicated Graphics card Option. How could i upgrade the graphis card and will it void my warranty?