Problems with the Stanford Reseach Systems DS345 Function Generator

I'm writing a labview program that will allow operation of the Stanford Reseach Systems DS345 Function Generator. The problem that I'm having is in the amplitude calculation. The way the driver finds the amplitude is by recieving an array of what are essentially y-coordiantes (on a cartesian graph system), finding the max and min of the array, and subtracting them.
This is where the problem lies. I've designed my program so I can type in an equation, see the graph of this equation, and send the y values into a the subvi provided by the driver. This subvi is the one that finds the amplitude...etc and sends it to the oscilliscope. However, when I use a formula for something as simple as sin(x), it caclulates the amplitude as 2. This is because the max/min values of sin(x) are 1 and -1. So the function generator reads in an amplitude of 2. This amplitude of 2 results in a sine wave that oscillates between 2 and -2. Obviously, this is not what I'm looking for. I know by dividing the sine wave coordiantes by 2, or just using the max/min value to be sent to the function generator as the amplitude will work in this case, but not for all cases (ex: sin(x)*e^(-3x). I'd appreciate any suggestions on how to fix this amplitude problem for all cases.
In addition to having this sine function, I wrote a subvi that essentially generates a series of pulses depending on the user preferences. It's relativly complicated to explain how it works, but it just sends an array of y-coordinates (similar to above, and they are sent to the same subvi to be sent to the function generator). This array is the one that truly puzzles me.
For example, I have a single pulse, with height 5. The y array is 10 places big. At index 0 to 3, the y value is 0. At 4 to 6, the value is 5. And from index 7 to 9, the index is zero again (Imagine a pulse "_|-|_" , it may help understand this).
I send this array of 10 places to the same subvi as the one described in the sine function earlier. I would expect the amplitude to go in as five (max - min), and it does. However, when determining the actual value from the oscilliscope, it turns out to be 10.8 peak to peak voltage. The values range from -.8 volts to 10 volts. I can't imagine why they do not range from 0 to five as specified in the array which is sent.
If anyone has any answers, suggestions or questions concering this description, I would greatly appreciate it. Feel free to post answers or email me at: [email protected]
I'll be more than happy to post the files if someone wants to look at them.
Thanks again,
Jim Dalton
North American Lighting
[email protected]

I am taking these measurments using the measurment and automation explorer test function. I set my range on all channels to 0-8khz and Have been inputing no more than 8khz. What leads me to believe I have a software or config problem is that I sent in a module to NI for repair and this is the brand new one they sent me back. While testing this module, I also have a 1102 module and 1124 module on the scxi-1000 chasis and both of those are working as specified. I also moved the 1126 module to slot 1 and ran it that way as well when I replaced the chasis.

Similar Messages

  • I am not getting any sound input on my microphone. There is no microphone input on my new macbook pro, so I am using my old one. Is this a problem with the new operating system? Did they simply remove any microphone software?

    I am not getting any sound input on my microphone. There is no microphone input on my new macbook pro, so I am using my old one. Is this a problem with the new operating system? Did they simply remove any microphone software?

    Check System Preferences > Sound > Output
    Make sure the correct device is selected.

  • Re: Does partitionning cause problems with the Toshiba Recovery System ?

    I'm french so don't be afraid of mistakes !
    I wonder if I can repartition my HDD as I want
    First of all, I explain you what I've understood with the FAQ:
    If Vista fail to boot, Toshiba Recovery in the hidden partition WinRE ( eisa configuration) offer to repair and use either the DVD we have burn or the directory HDDRecovery in the partition E: to repair.
    My question is if I don't have the DVD (or if I lost it) :
    Can I repartition my HDD (not the Recovery partition but enlarge the partition C: en reduce the partition E:) without causing problems of recovery ?
    In other terms will the Recovery partition at boot update the position of recovery files in E:
    And if it works, can I simply copy-paste the HDDRecovery directory from E: to C: and then to E: while I format E:
    Thank you for your answers
    Juju313

    Hello
    I think you mixed up something...
    The hidden Windows partition (Recovery Environment) has nothing to do with the Toshiba recovery disk or HDD recovery procedure. This is a Windows feature that is on all PCs and notebooks available so my suggestion is you read this good Wikipedia article about this:
    http://en.wikipedia.org/wiki/Recovery_Environment
    The HDD recovery files are stored on the second partition of the HDD in the folder HDDRecovery. So if you use the HDD recovery function only the first partition will be formatted and you can only use this feature if you have access to the advanced boot menu. If you dont have it you must use the Toshiba recovery disk because the disk formats the whole HDD and restore the factory settings of the notebook (the HDD recovery too but only with the first partition).
    You can change the partition size of both partitions but there should be enough free space on both partitions. Otherwise the HDD recovery does maybe not work.
    About the Vista partition tool I can prefer this useful article:
    http://aps2.toshiba-tro.de/kb0/TSB7101OB0006R01.htm
    I hope you understand it better now and if you have more questions please let us know.
    Greets

  • Major problem with the BLOG COMMENT SYSTEM - Please advice.

    Hi there!
    I am having some trouble with the way the added Blog comments system appears on my iWeb created site's blog section. The "Add a comment" etc, always get pushed down into the black browser background everytime a new comment gets added rather then the page background actually expanding WITH the added comments and being a part of the page background. Below you'll find a pic of the phenomenon...
    Please help, is it supposed to be like this and i'm doing something wrong or is it a bug in the software?
    I have to add more footer height to the page for every comment that someone will leave me on the blog, otherwise the comments will end up outside the page.
    The page is not yet live and ready but it's like this with all major browsers and platforms when checking...FF, Safari, IE - Mac and PC...
    So, the pics...the first pic is of how it looks inside the iWeb software and is how it should look obviously..the second...well, is how it looks when actually published. It's driving me crazy! I don't want to set the footer height to 1000 to prepare the pages for future comments as it looks real bad. The page should expand with the added comments.
    [IMG]http://i136.photobucket.com/albums/q181/GentleMidget/Temp%20folder/BLOGCOMMENTPR OBLEM1.jpg[/IMG]
    [IMG]http://i136.photobucket.com/albums/q181/GentleMidget/Temp%20folder/BLOGCOMMENTPR OBLEM2.jpg[/IMG]
    /Rich
    Right now? Intel mini   Mac OS X (10.4.8)   A few laptops, a few stationary ones...i like macs
    Right now? Intel mini   Mac OS X (10.4.8)   A few laptops, a few stationary ones...i like macs
    Right now? Intel mini   Mac OS X (10.4.8)   A few laptops, a few stationary ones...i like macs

    Thank you, i'll get on it.
    ***** though, as i can't achieve the same effect with one colore based backgrounds.
    Why don't Apple just fix it in one of their updates? Left a bug report as this need to be fixed.

  • Datasources . problem with the new Source System

    Hi friends!
    The ECC client were copy and now I have a new source system for this.
    If I select source system / verify, the msg is: ok
    In can read some data from the new ECC (ie: exchange rates updated), but I can not read any records using the datasources.
    The replication in Bi were done, and the data in source system is ok.
    -> What is wrong?
    Thanks!

    Check the profile parameters in WE20,We21... and also check scc4

  • All of my emails have vanished from inboxes on ipad and servers - is this a problem with the ipad operating system?, All of my emails have vanished from inboxes on ipad and servers - is this a problem with the ipad operating system?

    Last night I went to check my emails on my ipad and noticed that all of my inboxes (gmail, yahoo and exchange) were completely empty. I logged on to each individual site on my computer and the inboxes were empty there as well, with no trace of the lost messages in any trash folders or other folders. Obviously this is completely unacceptable as I have lost hundreds of important emails. Upon searching online I found that other people have experienced the same exact thing  but apple has provided no explanation. As the only device that I use to access these 3 email accounts is my ipad I feel like it must have come from there. The chance of all 3 servers malfunctioning and clearing my inboxes at exactly the same moment last night is too ridiculous to contemplate, despite being suggested by the customer service advisor that I just spoke to. And I have no other evidence that my accounts have been compromised, and they have separate usernames and passwords anyway. Has this happened to anyone else? Or can anyone provide any sort of explanation? Thank you

    You're welcome. As to checking speed go to http://speedtest.net/ and it will choose the closest server for you. BTW, whatever you do, don't click on the robot icon that says "Start Scan" or MacKeeper below that. Only use the speed test in the middle that has the button BEGIN TEST on it. It will run a download speed test first and then an upload speed test. The download test will give a much faster response.

  • Many problems with the 'Export to Text' (.txt) in CR Xi

    Hi,
    I have listed many problems with the 'Export to Text' (.txt) function of CR Xi.
    These problems are related to this export format only (meaning everything works fine in the Viewer or in the 'Export to PDF')...
    - Multi-columns layout do not export as Multi-column (export only a one column);
    - Numeric values with parenthesis for negative values or with a fix currency sign at the leftmost position are not exported correctly;
    - Fields having a Suppress formula which is "WhilePrintingRecords" do not appears when exported;
    - Fields with 'Suppress double value' checked are not always suppressed when exported to Text.
    - 'Keep Group Together' flag is not working.
    - 'Reset Page Number After' simply does not works when exported to text;
    - 'Keep object together' on TextBox/Section is not working.
    - Whenever a group is ending on the last line of a page, the the following page as the same Group header as the previous group with no records until the page is filled, then the PageBreak and PageHeader is missing but the records of the following group appears.
    I would like to know what is the status of the 'Export to Text' function (is it a deprecated function not supported anymore???).
    If still supported, when will these bugs be fixed???
    Thanks

    Hi Rene
    Export to Text is supported till date. Crystal Reports 2008 also supports this with Keep together working however when I tried with format with multiple columns, it didnot show up in the exported text file.
    Regards
    Sourashree

  • 'A problem with the cooling system' error message on Satellite A660

    Hi all,
    Hope I can get some help here. I've had about 5 HP laptops after all of them had problems and faults. I got sick of them and therefore got a refund and bought a high spec A660-1FH.
    The A660 has been a great laptop for two days until yesterday when I started getting a warning message saying 'A problem with the cooling system has been detected. Please turn off the computer immediately, and return it for service'.
    The cpu fan works fine as you can here it spinning and the temperature of the i5-460m processor is around 40 degrees for both cores - which seems normal to me. I've noted that it happens only when running on battery and if you switch from eco utility to power saver mode. Its fine when running on the 'balanced' power setting. The fan is louder before when this message appears.
    As its under 28 days my retailer swapped it for a brand new one straight away. Got the new one home, and the same message appears again. Has anyone else experienced this. As two laptops have had this, I'm wondering if this is normal for the A660 series laptop or if there is really a hardware issue?!
    I have tried to upgrade eco utility and the bios of the laptop but both are the latest versions. Can anyone help or share if they experience a similar issue with their laptop?
    Thanks

    In front of me I have Satellite A660-13Q (PSAW3E) and I have it about 6 weeks now. It runs almost 10 hours daily and until now I didnt notice such message or anything else that can be suspect for hardware functionality.
    I really dont know why this happen on your notebook and dont think there is anything you can do about it.
    I would exchange it again. What you can also try is to contact nearest Toshiba service. Make a call, explain the situation and ask if they can help you with this.

  • Error thread java : problem with the function "resume 0x***"  (forum sun)

    One problem with the function of jdb occured when I tried to use it to
    pilot the processor with differents threads. In fact, I use a simple example with 2 threads.
    I stop the two threads with two breakpoint, and I want to resume one or the other (with the function "resume 0x****"), the one wich I resumed stop again on the breackpoint and I decide again to resume one or the other. All of that to obtain a tree of execution.
    I give you the code of the class and the code of jdb.
    CLASS: (it's just a object Room with a variable degre that I increment and decrement with two threads increase and decrease)
    public class Test{
         public static void main(String[] args){
              Room r = new Room();
              decrease de = new decrease(r);
              increase in = new increase(r);
              de.start();
              in.start();
    class Room {
         private volatile int degre=20;
         public void more(){
         degre += 4;
         public void less(){      
         degre -= 3;
    class decrease extends Thread{
    private Room room;
    public decrease(Room r){
              room =r;
    public void run(){
    try{ 
         while (!interrupted()){ 
              room.less();
    catch(InterruptedException e) {}
    class increase extends Thread{
    private Room room;
    public increase(Room r){
         room =r;
    public void run(){ 
         try{ 
              while (!interrupted()){
                   room.more();
    catch(InterruptedException e) {}
    JDB:
    Initializing jdb ...
    stop at Test:7Deferring breakpoint Test:7.
    It will be set after the class is loaded.
    runrun Test
    Set uncaught java.lang.Throwable
    Set deferred uncaught java.lang.Throwable
    >
    VM Started: Set deferred breakpoint Test:7
    Breakpoint hit: "thread=main", Test.main(), line=7 bci=30
    7 in.start();
    main[1] stop at room:16
    Set breakpoint room:16
    main[1] stop at room:20
    Set breakpoint room:20
    main[1] resume
    All threads resumed.
    >
    Breakpoint hit: "thread=Thread-0", room.less(), line=20 bci=0
    20 degre -= 3;
    Thread-0[1] threads
    Group system:
    (java.lang.ref.Reference$ReferenceHandler)0x10d Reference Handler cond. waiting
    (java.lang.ref.Finalizer$FinalizerThread)0x10c Finalizer cond. waiting
    (java.lang.Thread)0x10b Signal Dispatcher running
    Group main:
    (decrease)0x146 Thread-0 running (at breakpoint)
    (increase)0x147 Thread-1 running (at breakpoint)
    (java.lang.Thread)0x148 DestroyJavaVM running
    Thread-0[1] resume 0x147
    Thread-0[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] print degre
    degre = 24
    Thread-1[1] resume 0x146 //It's here the problem, thread 0x146 have to stop on the //next breakpoint of decrease but nothing happen
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] clear
    Breakpoints set:
    breakpoint Test:7
    breakpoint room:16
    breakpoint room:20
    PS: I tried many other examples with other class and other kind of breakpoints, but, in any cases, on thread doesn't manage to resume. When I try with general resume (no specification of the thread), It works but it isn't interresting for me because I want to decide wich thread continue his execution.

    Hi,
    I have read the FAQ of the JMF.
    The problem was the jar files of the JMF were not in the JRE\BIN\EXT
    folder of the Java runtime!
    now it works!
    thanks
    Reg

  • Problems with the function RFC_GET_TABLE_ENTRIES

    Hi experts,
           We have a external application named P-Synch that is used when a user needs to change or unlock their password on our SAP system. The problem we are presenting is that in our PBP system the application is working fine but in our BW and XI environment when the P-Synch application call the function RFC_GET_TABLE_ENTRIES in SAP it can't take the result of the field 'expiration_date' because for some reason the output for this field is not in the same position that is in the PBP system.
    Example:
    This are the output that we receive in the environments with the function RFC_GET_TABLE_ENTRIES :
    PBP:
    000001ú320020401*99991231*AESSUSER
    BWP:
    0000200408039999*1231AESS*USER
    As you see in PBP P-Synch can take the expiration date (in bold) in the correct position '99991231'.... but for some reason in BWP the function present the expiration date in the incorrect position '1231AESS', for that reason the P-Synch application can't change or unlock the user of a person because terminate with error with the expiration date.
    Exist a way that I can fix this?
    Thanks a lot!
    Edited by: Carlos Mercado Aponte on Oct 16, 2009 3:42 PM

    Hello Carlos,
    Few days back i also faced some problem with the RFC_GET_TABLE_ENTRIES.
    May be you can try with RFC_READ_TABLE instead. Not much difference in the way you call the 2 FMs. From my experience i can tell, RFC_GET_TABLE_ENTRIES returns some garbage characters which RFC_READ_TABLE does not.
    For details refer to this [link|RFC_READ_TABLE v/s RFC_GET_TABLE_ENTRIES;.
    BR,
    Suhas

  • HP Officejet Pro 8600+ "There is a problem with the printer or ink system..."

    I have an HP Officejet Pro 8600+ that is coming up with an error message. This just happened out of the blue yesterday. The printer is just over a year old.
    It says:
    "There is a problem with the printer or ink system. Print head missing not detected incorectly installed or incompatable" 
    I have removed and reinstalled ink cartridges, the head, unplugged, cleaned, etc. etc.
    HP Officejet Pro 8600+
    Product Number CM750A
    Serial Number {Content Removed}
    Not under warranty
    Please advise.
    This question was solved.
    View Solution.

    Sorry that you are experiencing this problem. Here is a link that may assist you with the ink system.
    http://goo.gl/BXDFf
    It seems to be a bad print head, or it needs manually cleaned with lint free cloth and water. If these steps do not resolve the issue, contact HP Support (1800-474-6836).
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

  • Problem with the printer or ink system code 0x610000f6 HP model 6700 premium

    Hello, I have recieved an alert for the second time in a week stating that there is a problem with the printer or ink system. The alert prompts me  to turn off, then on the printer. If problem persists, contact HP. 0x610000f6. What could be the cause for this type of alert to appear?

    '0x610000f6' error message appears if there is a 'Paper Jam' or a 'Carriage Jam' in the printer.
    You can experience following issues:
    The product won't print.
    The print job stops unexpectedly.
    To resolve Error code '0x610000f6' follow methods provided in below mentioned link
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c01620497

  • The problem is with the new operating system  and sending photo via email when used in my iPad.   From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow.

    The problem is with the new operating system  and sending photo via email when used in my iPad.
    From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
    Can you amend he system to allow emails to be sent from photo as previously.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • A problem with the cooling system has been detected

    I bought a new computer not to long ago, I've had it for almost a month now. It runs fine, and I've had no problems until not too long ago. I was playing a game, and I got a random error message: "A problem with the cooling system has been detected. Please turn off the computer immdiately, and return it for service." I don't understand how or why this came up, and I don't have any money to return it for any type of repairs. After I got this message, I left my computer off for about an hour. All seems well so far. Any suggestions?

    What laptop do you have?
    - Peter

  • Has anyone else had problems with the latest system updates to Mac OS X v10.6.8 with the java virus patch?

    After installing the latest updates to Snow Leopard the system hangs up and will not open properly.  This is the update to Java, etc after the virus was discovered.  I have done the updates on four different systems with the same result. 

    No problems with the Java update here, although I have Java disabled. Might try reapplying the Java standalone while in Safe Boot (Shift at startup chime), if you did it from Software Update.
    http://support.apple.com/kb/DL1516

Maybe you are looking for

  • How can I sync more than 10 devices to one apple id for itunes

    We have a lot of apple devices in our family, more than 10.  We all want to share apps and music outside of our house, but I don't know how to do it.  I have iTunes Match, but once again - only 10.

  • I wanted to buy an album and it changed my store to the UK, how do I change it back to the usa

    I recently watched the movie Monster in Paris, I wanted to purchase the soundtrack, and went to iTunes on my IPad, it told me the soundtrack wasn't available in the us, that I would need to go to the UK store to do so, and it changed it automatically

  • Get_num_value not returning correct value

    Hello, I anm developing with Designer/Headstart 9i. I'll try to be clear on my problem. I am using the function get_num_value form one of my table CAPI. Here is the scenario 1. I do a get_num_value and get 2 as a value 2. I update the column to -1. 3

  • Initiate Correlation on synchronous partner link response message

    Hi, I've been trying for a while to achieve correlation based on the response of a synchronous response in BPEL. For example: I have a process and at some point I invoke an external service. This service returns to BPEL process an id which must be us

  • Exporting .avi video from iphoto

    I have a new Nikon coolpix S3500 point & shoot camera and it does video that imports to iPhoto11 just fine.   I can export a 30 second video to the desktop and I get a non-working .avi video when I open in QTpro consisting of the first frame only and