This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Not importing graphs for specific project

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

I am working with the TMDSHVMTRPFCKIT , specifically trying to use the HVACI_Sensorless project. I am trying to use the import tool for graphs, i.e. tools>graphs> dual time. I then click "Import", go the directory folder:C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.0\HVACI_Sensorless and try importing the "Graph1.graphProp" and "Graph2.graphProp". However, they do not seem to import as the graph properties remain the same (no start address's present.)

Am i doing something wrong, or could i manually assign the plots somehow?

Thanks,

Aaron

  • Hi Aaron,

    Though the post is old... check whether this helps you:



    Regards,
    Gautam

  • Hey Gautam,

    I ran into that post before I created my own, unfortunately it does not help much. I understand that the variables are being connected to the Dlog module.

    However, the problem is that while trying to import the graphs from a specific project (i.e. HVACI_Sensorless or Sensored or LV Dual motor project etc): upon clicking import, the settings remain unchanged, that is the graphs do not import.

    The only graphs that seem to import are those from the HVACI_Scalar project. Unfortunately, these graphs do not seem to represent the variables properly when used for the other projects.

    Any suggestions would be greatly appreciated.

    Thanks,
    Aaron
  • Hi Aaron,

    I am not exactly sure why you are not able to import in these graph props.  I will try to look into this more tomorrow.

    Regardless, you can generate your own graph and populate it.  Take a look at page 13 of the attached document.  The doc is for CCSv5, but the way to do this in CCSv6 is extremely similar.
    \controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.0\~Docs\HVMotorCtrl+PFCKit_HowToRunGuide_CCSv5.pdf

    Does this work?


    Thank you,
    Brett

  • Hey Brett,

    Thanks for the reply.

    I have tried that already as well, but the graphs come up blank. I can see values from the DAC outputs using the oscilloscope, however, I am in need of being to graphically see them on the computer as well.

    Thanks, and looking forward to your reply as well.

    -Aaron
  • Aaron, can you try switching to a new workspace. Sometimes Workspace corruption too effects Graph utility.

    Regards,
    Gautam
  • Hi Aaron,

    Could you define what 'comes up blank' means? the graph doesn't really come up?  the graph comes up but no data is presented?  (a screenshot may help)

    Have you edited the project's code in any significant way?  Which build are you running?


    Thank you,
    Brett

  • FYI:
    I found that .graphprop files generated in one CCS version won't necessarily work in future CCS versions - one of the few instances where forward compatibility breaks.

    These motor control projects were built in CCS5, so you'll need to manually set up the graphs for CCS6 to be able to graph your data buffer.  This should be relatively easy to do so let's focus on getting the manual method working.


    Thank you,
    Brett

  • Hey Gautam,

    I have done this, I have even tried on separate computers. no luck.

    Thanks,
    Aaron
  • Hey Brett,

    This is the LV 2xPM Sensorless project. the exact path:C:\ti\controlSUITE\development_kits\LVMultiAxis+PfcKit_v1.4\2xPM_Sensorless_v1_1

    Running CCS 6.1 (most up to date).

    Here are my settings for manually setting up the graphs:

    Upon running on my laptop, i can see it actually looks like the graphs are at zero the entire time:

    Again, I have tried this on two separate computers.

    Thanks,

    Aaron

  • For some reason it is not uploading the images here? Is there a specific extension needed?
  • I have tried all the builds. Currently working on build 6. Looking at CLarke1.As and Bs

    DlogCh1=(int16)_IQtoIQ15(clarke1.As);
    DlogCh1=(int16)_IQtoIQ15(clarke1.Bs);

    Again, I can see the waveforms on the oscilloscope through the DAC's, and the motor does run.
  • Hi Aaron,

    When you reply, a small text box section will pop up.  Note that there is a "Use rich formatting" link.  This will open up many more options and one of these is to upload a file, such as an image, with your post.

    A few questions:
    1) when running in CCS, I assume you're viewing some variables in the watch window.  Are they updating as you expected?  This should confirm that CCS is behaving as we expect.
    2) Please note that the dlog buffer works by throwing data into an array after a trigger point is met on the variable attached to iptr1.  I looked up your project, and the trig_value for the dlog is 0x1.  This means that the variable attached to the dlog buffer will need to sometimes be less than and sometimes be greater than 0x1.  If you're using the CCS project directly (no major changes) than I do NOT expect this to be your issue (but FYI).
    3) Can you confirm that you've enabled real-time mode and are setting up the graph window to continually refresh.


    Thank you,
    Brett

  • Hey Brett,

    1. Yes  I am watching them in the watch window, and the value ranges seem to match the oscilloscope.

    2. I have not altered the program.

    3. Real time is enabeled

    Graph Set Up:

    Graph WIndow:

  • Aaron,

    I dug a little deeper and noticed that the dlog trigger value is a Q15 integer.  Try changing the assignment to this:

    dlog.trig_value = _IQ15(.01);

     


    Let me know if this fixes anything(or if you have already tried this).

    Matt

  • Hey Matt, so unfortunately it did not seem to make a difference.

    Is there any way to just graph the individual Dlog pointers, aside from the DLOG Module? Or how is it the DLOG Module actually works (i.e. what does it do the the stuff being pointed to?)

    If i right click "DlogCh1" in the expressions window (which is pointing to clarke.As),  and click graph i get the following graph:

    Which doesn't yield much usefulness. However, when i close the speed loop (i.e. lsw1=2), the graph does adjust to load conditions as seen in the below plot. the DlogCh1 expression( clarke.As voltage) responds to the load condition:

    NOTE: this is graphing the DlogCh1 variable via right clicking on it in the expression window and clicking graph. I have tried using DlogCh1 as the starting address in the graph properties tool, along with keeping the other parameters as if using the DLOG_4CH_buffx starting address. However, it still does not graph correctly.

    Thanks again for your help,

    Aaron

  • Is there a way to test that the DLOG module is working properly?

    Thanks, Aaron

  • Also, I have noticed that if i plot any of the DLOG_4CH_buffx's with 0 as the Q- value, it plots a continous value of -1.
  • FYI, the following link solves the issue.

    e2e.ti.com/.../687707