Problem with the report and the system of axis 2d

Hi, I'm trying to write a script with tiara, who wrote a 2d axis system in the report but I'm having a lot of problems with it.

What I'm trying to do, is make 3 or more system axis 2d in the report, each displaying a part of the data of 2 channels (x = ch0, ch1 = y).

With only 1 graphic I get what I want, but when I try to add the 2nd or the 3rd, they show without my defined x-scale and with the offset x different from the first chart.

I tried everything, but I could not remedy

I added as attachments the .csv file that I use to ch0 and ch1 and 2 screen shoots "what I get" (about the problem with the script) and "what I hope to get" (done manually, is what I'm trying to get the report)

Any help will be appreciated, thanks in advance

Ierman

I'll post my code here:

Dim Xscale, Yscale
XScale = Array (0,25,0,5,49)
Yscale = Array(-0.2,0.2,-0.2,10,4)
 
Call PicDelete()
Call GraphObjNew ("2D-Axis", "2DAxis1")
Call GRAPHObjOpen ("2DAxis1")
D2AxisTop = 1

D2AxisBottom = 70
D2AxisLeft = 1
D2AxisRight = 1
Call GRAPHObjOpen ("2DYAxis1_1")
D2AxisyScaleType = "manual".
D2AXISYBEGIN = Yscale (0)
D2AXISYEND = Yscale (1)
D2AXISYORIGIN = Yscale (2)
D2AXISYTICK = Yscale (3)
D2AXISYMINITICK = Yscale (4)
Call GRAPHObjClose ("2DYAxis1_1")
Call GRAPHObjOpen ("2DXAxis1_1")
D2AxisxScaleType = "manual".
D2AXISXBEGIN = Xscale (0)
D2AXISXEND = Xscale (1)
D2AXISXORIGIN = Xscale (2)
D2AXISXTICK = Xscale (3)
D2AXISXMINITICK = Xscale (4)
D2AxisXTxt = ""

D2AxisXColor = 'black '.

D2AxisXTickAuto = 1
D2MTickLineWidth (1) = 0.1
D2MTickLineType (1) = "solid".
D2AxisXTickSize = 60
D2AxisXTxtAutoCo = 0
D2MTickColor = "red".
Call GRAPHObjClose ("2DXAxis1_1")
Call GraphObjNew("2D-Curve","New_Curve")

Call GraphObjOpen ("New_Curve")

D2CCHNX = "[1] / [1]" "

D2CCHNY = "[1] / [2]" "

D2CurveColor = "red".
Call GraphObjClose ("New_Curve")
Call GRAPHObjClose ("2DAxis1")

Dim Xscale1, Yscale1
Xscale1 = Array (25,50,0,5,49)
Yscale1 = Array(-0.2,0.2,-0.2,10,4)
Call GraphObjNew ("2D-Axis", "grafic")
Call GRAPHObjOpen ("grafic")
D2AxisTop = 40

D2AxisBottom = 37
D2AxisLeft = 1
D2AxisRight = 1
Call GRAPHObjOpen ("2DYAxis1_2")
D2AxisyScaleType = "manual".
D2AXISYBEGIN = Yscale1 (0)
D2AXISYEND = Yscale1 (1)
D2AXISYORIGIN = Yscale1 (2)
D2AXISYTICK = Yscale1 (3)
D2AXISYMINITICK = Yscale1 (4)
D2AxisYTxt = "" ' testo asse label y
Call GRAPHObjClose ("2DYAxis1_2")
Call GRAPHObjOpen ("2DXAxis1_2")
D2AxisxScaleType = "manual".
D2AXISXBEGIN = Xscale1 (0)
D2AXISXEND = Xscale1 (1)
D2AXISXORIGIN = Xscale1 (2)
D2AXISXTICK = Xscale1 (3)
D2AXISXMINITICK = Xscale1 (4)
D2AxisXTxt = «»

D2AxisXColor = 'black '.

D2AxisXTickAuto = 1
D2MTickLineWidth (1) = 0.1
D2MTickLineType (1) = "solid".
D2AxisXTickSize = 60
D2AxisXTxtAutoCo = 0
D2MTickColor = "red".
Call GRAPHObjClose ("2DXAxis1_2")
Call GraphObjNew("2D-Curve","New_Curve1")

Call GraphObjOpen ("New_Curve1")

D2CCHNX = "[1] / [1]" "

D2CCHNY = "[1] / [2]" "

D2CurveColor = "red".
Call GraphObjClose ("New_Curve1")
Call GRAPHObjClose ("grafic")

Hi lerman,.

Here is an edited version of your code that works on my computer.  A problem that I know that I fixed it was that your presentation of the STATE was in the name-oriented mode but you use the variables based on the number to assign it X and Y channels.  The execution of these commands in a loop FOR makes it much easier to debug the code and to avoid any annoyance at first.

Brad Turpin
Tiara Product Support Engineer

National Instruments

Tags: NI Software

Similar Questions

  • Satellite C40D-C - problems with the system

    I recently bought an a toshiba satellite C40D-C Series notebook PC as my old satellite - essentially - is dying. After you connect to the internet, I tried to download AVG Antivirus on my computer that I don't have - and never - trust McAfee anti-virus that comes with the computer. Every time downloaded AVG then restart my computer, the computer goes directly into the automatic repair system and doesn't let me do anything but to reset or restore. This has happened even with completely removed McAfee. I've been on AVG directly today (January 15), and they have to do remote set-up for me - with the same results. Yes, I'm aware that McAfee is a selfish cry of a system and refuses to acknowledge any other antivirus, but that this issue happens even with completely removed McAfee shows clearly that it is something that Toshiba has worked in the system. I can't even disable the automatic repair tool. I have to be stuck with a McAfee antivirus which, moreover, does not yet or is Toshiba will make an effort to help solve a problem they caused?

    Why this computer isn't allowing AVG Antivirus work? And why, after each attempt to download AVG, the computer goes to auto repair whenever I shut down or restart? Is this a problem with the system or something, Toshiba has done on purpose?

  • Anyone who has a problem with the system crashes when importing using the new interface to import

    Anyone who has a problem with the system crashes when importing using the new interface to import

    Can specify you what Adobe program you use so that we do that your post is in the right forum?

  • HP officejet 4620 there is a problem with the system printer or ink 1000008 0x6

    PTR does not print page alighn.  keep saying "there is a problem with the printer or ink system 0 x 6 1000008' I turned market several times."  I unplugged.  I remove and reinsert the ink cartridges. I removed and reinserted the paper AND

    I always get the same message!

    This article should help to resolve the error you get:
    http://support.HP.com/us-en/document/c03081973

    Try the steps and tell us if it helps.

    Good luck!

  • Problem with the systems

    Hi, I have a Hp pavillion dv 6426us, recently sometimes it freezes, and I have to turn off manually. I use firefox and it oftens gel too (not), it happens every time I use it for a few seconds or more, I have tried to reinstalled firefox and it still does this. even other programs like anti - virus, yahoo Messenger, nearly every program I use will do (no response) for a few seconds before it works. So I think I have a problem with the computer, what do I do to fix this? Thank you

    I backup your personal data and restore the system to factory condition. This will clear up all software problems.

  • problems with the system scans

    I wanted to back up my entire computer. Before that, I wanted to make sure that everything was perfect, then I ran sfc scan and there are corrupted files that have been repaired, but there is no repair for later scans keep the same report.  So I ran chkdsk with scan for and attempt recovery of defective and that just hung areas to where I had to make a hard stop.  So, I did a complete diagnosis of my hard drive and those of all the passes.  I decided to do a complete reinstall of windows and found that these same analyse the mistakes of follow-up. So before decide me the diagnostics that my computer manufacturer are somehow blotched.  I need to know how to solve this problem, if I can do a full backup.  I don't have a lot of time because my warranty ends at the end of this year.

    I wanted to back up my entire computer. Before that, I wanted to make sure that everything was perfect, then I ran sfc scan and there are corrupted files that have been repaired, but there is no repair for later scans keep the same report.  So I ran chkdsk with scan for and attempt recovery of defective and that just hung areas to where I had to make a hard stop.  So, I did a complete diagnosis of my hard drive and those of all the passes.  I decided to do a complete reinstall of windows and found that these same analyse the mistakes of follow-up. So before decide me the diagnostics that my computer manufacturer are somehow blotched.  I need to know how to solve this problem, if I can do a full backup.  I don't have a lot of time because my warranty ends at the end of this year.

    If you have a warranty, I doubt that you are using Vista.

    Vista has not been sold for many years and these are Vista Forums you are in.

    It's the informtion for Vista backup:

    If you want to make a complete PC Backup or a backup file only, buy an external hard drive.

    Only Vista professional, comprehensive and company have the opportunity to make complete backups of PC.

    All editions of Vista can do backups of files.

    Here's how to back up and restore your files:

    "How to back up your data.

    http://www.wintuts.com/how-to-backup-your-data

    http://www.home-PC-help.com/windowsvistabackup.html

    "How to restore your files.

    http://www.wintuts.com/how-to-restore-files

    This is how to do a full backup of the computer and how to restore it (for Vista Business, Ultimate and Enterprise only):

    «How to make a backup of the computer in Vista»

    http://www.bleepingcomputer.com/tutorials/how-to-use-Vista-complete-PC-Backup/

    "How to restore a full backup of the computer.

    http://www.bleepingcomputer.com/tutorials/Windows-Vista-complete-PC-Restore/

    FAQ from Microsoft about backup and restore:

    "Back up and restore: frequently asked questions.

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    There are a number of 3rd party programs available for a full backup of the computer; others, you must pay for, some are free.

    This program must be purchased:

    "Acronis True Image".

    http://www.Acronis.com/homecomputing/products/TrueImage/index_gwo.html?utm_expid=4274314-6

    These are free programs for the protection of the computer:

    "EaseUS Todo Backup free"

    http://www.TODO-backup.com/products/home/free-backup-software.htm

    "Download Backup & Recovery 2012 free FREE!

    http://www.Paragon-Software.com/home/BR-free/download.html

    «Macrium Reflect FREE Edition»

    http://www.Macrium.com/reflectfree.aspx

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    If SFC detects serious flaws, you may need to perform a repair upgrade Installation.

    "How to perform a repair for Vista Installation"

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    See you soon.

  • Problems with the system restore

    Try to restore system using System Restore.  getting the error "system restore was not entirely successful.  The system files and settings on your computer did not change.  Details: An unspecified error occurred during system restore.

    Have tried several times and get the same result.

    http://Service1.Symantec.com/support/sharedtech.nsf/pfdocs/2005113009323013

    1. If you use Norton (Etc), disable it before using System Restore. info at the link above.

    2. try SR in safe mode:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    3 Malware will stop at the system restore:

    If necessary, do all the workSafe Mode with network.

     

    To get intoSafe Mode with network, press F8 at the Power On / boot and use key arrow upward to get intoSafeMode with networking from the list of options, and then press ENTER.

    http://www.Malwarebytes.org/MBAM.php

    Malwarebytes is as its name suggests, a Malware Remover!

    Download the free Version from the link above.

    Download, install, upgrade and scan once a fortnight.

    See you soon.

    Mick Murphy - Microsoft partner

  • Problems with the system SupportAssist credentials

    I created a specific service for SupportAssist account called restrictions that I would use for the credentials of the system.  The account is a local administrator on the server as well as a part of all of the available of OME groups. I checked that I could log in to the OME site with this account.

    However, when I try to set these credentials as the credentials of the SupportAssist system, I get the following error.

    Unable to connect to OpenManage Essentials
    SupportAssist cannot connect to OpenManage Essentials. Please provide the credentials of a user account that belongs to one of the following groups:

    • Directors of OME< i="">
    • OME power users
    • OME Site administrators

    I uninstalled and repaired the OME and SupportAssist so that to restart the services, etc.  I have also confirmed that the other account identifying information work, including my own OME, access credentials. Any ideas on what's going on?

    Thank you!

    Thanks for sharing of screenshots and other information related to this issue.

    Here are the correct steps in Add a service account domain for system identification information in SupportAssist:

    1. prior to any change in SupportAssist, add the service account to the users on the management server running SupportAssist.

    • Server-> Configuration management-> the local users and groups-> users

    2. Add the service account to the Administrators group.

    3. then open the SupportAssist console and go to the settings tab and click on systems of credentials.

    • Update the credentials, and then click on save changes.

    4. If there are no errors, the changes will be saved successfully.

    Note: If there was a previous attempt by adding a specific account without first including in the Administrators group, then this account will not be usable without some significant changes. If another account can be used for systems of credentials, please follow the steps above to add this account. Otherwise, we recommend that you submit a ticket and works with the technical support of SupportAssist to solve the problem.

  • Problem with the system after the update colors

    I have treid adjustting the resolution and the other things baut can't seem to get it back end ready to go back to XP easier to use and navigate!

    Hello

    1. what kind of colors you get to the screen?
    2. don't these colors remain the same on all windows that you open?
    3 update you installed recently?
     
    Method 1.
    If you don't like the way the images are displayed on your computer screen, try using the display quality problems to solve the problem. It ensures that your video card driver is compatible with Windows 7, and checks to see if your color grading, video effects and the display settings are correct.
     
    Method 2.
    You can change the color of many items on your screen, including windows, window borders, title bars, menus and the office.
    Note: You can also try to change the theme.
     

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • problem with the system restore when you try to back up disks

    my system crashed.  would not boot.  Several attempts later, went to the system recovery... do you have a full upward (23 dvd) then did a complete restore.  laptop works.  However restore my files from the backup disks does not work.  I get a failure in the system restore somewhere in the treatment of the disc 12 (out of 23).  Help!  sighing heavily... of course this happens when I am in a time crunch

    Hello cyberterp. I see that you are having problems to restore your data from backup disks. To make sure that I understand you were able to make the recovery of the operating system, but the data you have saved in the course of the process you're trying to get now?

    Check the bottom of the twelve disc and make sure that there are no scratches on it. If there is even the smallest scratch to find a local store that will shine the disc for you; This can allow you to read the data. If discs are in perfect condition and then either media are bad or there was a problem (unnoticed) during the backup process and it is unlikely that you will be able to recover the data.

  • Problem with the system icons in the tray in Vista

    some of the icons in the system notification area are often turns off when I start the laptop... and they will be visible only after the start-up of the unit again and by checking the respective boxes in the properties...

    * original title - on the icons in the tray... System *.

    Check out the procedure described in the following link to see if it solves your problem:http://support.microsoft.com/kb/945011.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Windows 7 on Satellite A500-1EE - problems with the system recovery

    After five years of good functioning sth went wrong. The system tries to boot but lack access to a device (HARD drive?). And then tries to download files to recover. After downloading the recovery fails and the only option is to shut down the computer. How can I recover this system?

    Recovery process is very simply.
    Did you create the recovery media (DVD)? If so you can use it for recovery image installation.
    Otherwise, you can use HARD drive recovery option (F8 > to fix your computer) and start the recovery image installation.

    Please test F8 option.

    If you have any other questions you are welcome.

  • HP Pavilion dv7-3190em problems with volume band and "base system device" in Device Manager

    Hello

    I just installed Win 7 (64-bit) and my volume control does not work properly. It does not turn the sound up and down, but the blue band is not displayed on the screen.

    In addition, I seem to have a device or devices for which there is no drivers apparently. They are listed as "base system device" x 3 in Device Manager and "unknown device" x 1.

    Thanks for any help.

    Good Hoga

    Hello

    bonhoga wrote:

    Now, I just need to take care of the volume Strip.

    Download and install:

    MediaSmart SmartMenu here (version 3.1.2.2 for 32/64-bit Win7)

    Before installing this software, that you must have installed at least a MediaSmart package software. The best choice will be in my opinion:

    MediaSmart DVD here (version 4.1.4328 for 32/64-bit Win7)

    If you do not use any additional software you can use another product that is:

    3VRX here (version 2.5 for 32/64-bit Win7)

    Note:

    Here is YouTube video that shows what can be done with the 3VRX software.

  • Facing a problem with the system, please analyze the dump files and indicate us the action.

    So, like many others, I was punished by Bill Gates and co.. With a BSOD.

    Just need help analyzing dump files to determine which driver I should change, updated or what not.

    The dump files are located in...

    https://onedrive.live.com/redir?RESID=3D2BA1E313ACF8DA! 2592 & authkey =! AH4PFrNFacnAfvw & ithint = the file % 2crar

    BTW, still stuck in windows 7 hehe

    Thank you

    Had to go to the dentist - ZigZag3143 is reliable using BSOD.

    Your Atheros is an AR5007G Wireless Network Adapter.

    Visit this link:

    https://www.Atheros-drivers.com/

    Find AR5007G, click:

    Scroll down until you find AR5007G for Windows 7 64 bit and you want to:

  • Problem with the system of files and media card renaming of files...

    HIII guys.

    I m, development of application in which I have to rename the file to media card so I use the FileConnection API.

    but it gives me exception error in file system and the same code works fine for the files of memory device.

    I m confused abt it... Is there any setting for media card access... ???.

    code snippet

    fconn = (FileConnection) Connector.open (file:///SDCard/BlackBerry/pictures/2.jpg, Connector.READ_WRITE);
                           
               
    If (fconn.exists ())
    {
    System.out.println ("" + fconn.canRead () + fconn.canWrite ());
    fconn. Rename ("1.jpg");
    fconn. Close();
    Returns true;
    }

    fconn.canRead () returns to me true

    fconn.canWrite () returns me true.

    help me guys...

    Thanks in advance...

    JDE 4.2.1

    Device Simulator-8100

    HIII

    I finally found it...

    My mistake of not closing the files input stream each so it locks...

    Thnks for help...

  • Huge problem with the system on my laptop Acer s7-391 acer recovery disk

    Hi all, I'm really desperate as my laptop have stopped working for the weeks and I need it back

    First question: I installed the window 10 free upgrade successfully, however, I decided to restore the laptop through the window 10 plant factory restore Start menu because there were a lot of unnecessary files and after the window factory restore, I am unable to start again under the window and I get an error message says "no bootable device detected" and the computer goes into a reboot loop no way to factory restore to new outside the window. I try to reset the battery several times and nothing works!

    Second question: I received my acer restore disk that I got from the acer site because I didn't not create recovery media to when my window was working. So I pop the disk with a usb CD-ROM and I was able to get into recovery by the disc menu. However, when I try to choose the option of disk factory restore, he said to start from legacy mode. However, when I go to legacy mode he gave me an 0xc0000017 error code saying: not enough memory to create the virtual disk. If does not work reinstall drive

    Anyway to solve the above problems, should I do it before I jump into the Acer restore with legacy mode disc? Should I send it to Acer for repair? I really need this phone in working condition.

    Thank you guys!

    A live bootable CD is probably the best option for your situation:
    http://www.partitionwizard.com/Partition-Wizard-bootable-CD.html
    Download the .iso file
    then use a software to burn CD/DVD or USB flash drive and burn the .iso file
    Once completed, put the CD/DVD/USB on your PC, boot from CD/USB (maybe you need to start under the legacy if you have the UEFI BIOS)
    Press F12 on startup and choose the CD or USB
    at the level of the Office
    Select your HARD drive
    Right-click on the icon for your HARD disk, and then choose Remove all xxxx and click Yes, and then apply
    http://www.partitionwizard.com/help/delete-all-partitions.html#HOWTO
    or wipe your HARD drive completely (it will erase any GPT or MBR at the disk), choose the first option after selecting the clear function.
    Exit the wizard partition, boot from the BIOS, UEFI return of the Legacy (if you have the UEFI BIOS) and boot from media erecovery.

Maybe you are looking for

  • How to disable smart connector on iPad Pro?

    I have an iPad with smart Keyboard Pro 12.9. I would use the smart keyboard without the keyboard. In the past, I simply covered the smart connector with tape. Is it possible to disable the keyboard or the smart connector so that I could use the cover

  • certificate of Authenticity number

    Hello Certificate of authenticity Label has faded. I can't read the number more, unfortunately when I bought the laptop, I didn't know that this number was important, that I saved only the product key Microsoft told me to contact HP for that. nobody

  • Vista update problem

    Salvation responses/Microsoft technical support. I may have the same question - I am running Windows Vista Ultimate 32 Bit and have never had a problem with since the launch in 2007. Execution of Windows updates last night my PC will not boot Windows

  • settings in media player 11 work any playback speed

    I can't adjust the speed during playback of CD it is not even a slider that appears. I ran the automatic editing, still no luck

  • Wireless Zero Configuration of the difficulties

    I recently had a new motherboard installed in my laptop - since then I am unable to connect to my wireless network automatically.  Whenever I want to, so I have to go through the following procedure: go to administration tools; then services; then wi