Jump to content
Sign in to follow this  

CSV Export Data, dq From ABC Macro

Recommended Posts

Hello All,


Question 1:


This is regarding a script in the Flux 2019




In this script there is part for exporting data


# export table in CSV format



I stopped the solving process the "CreateLookUpTableFromTMProject.PFM" executed this "CSVExportTable" function. 



I started the the solving process again and now I want to execute this function outside in the PyFlux Command.

I want to export all the solved data into CSV format.


How I can do this?


Question 2:




In this script this is mentioned


   print "\n ***  user guide  ***\n"
   print " Your project is ready to be solved with RUN_ID_IQ solving scenario."
   print " You should define sensor for computing phi_a, phi_b and phi_c."
   print " You may use the macro CreatePark_dq_From_abc in order to compute directly phi_d and phi_q."
   print "\n*** Successfull end of CreatePark_Iabc_Drivenby_Idq macro ***\n'"




However, I know where find this macro.


Where I can find this macro?


Best Regards,








Share this post

Link to post
Share on other sites


Here the answer to your questons :

Question N°1 :

To export the data in CSV formt you can use the same python command as in the script or you can get the commande by exporting a curve in SCV formt from Flux 2D. If you want to do this for all the datan you can create a loop which allows you browse all the curves. The second choice is export the curve in CSV format one by one using the command generated before.

Question N°2 :

You will find attached the macro.  


Hope this will help.

Best regards.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...