Documentation

Documentation

  • Documentation
  • Integrated Examples
  • Help

›Open PMU

S3DK Utilities

  • Setting_Memory
  • S3DK_GUI
  • Calculate_Activity
  • Calculate_Angle_and_Amplitude
  • Input_Node
  • PMU_ARR_Calculate_Ratio_of_True
  • PMU_Recover_Light
  • PR_Queue_Multiple_Elements
  • PRL_BUFFER_Rearrange_Complex_2D_Array
  • PRL_BUFFER_Rearrange_Digital_2D_Array
  • PRL_Check_for_Bad_dt
  • PRL_Convert_STR_SGL_Array_to_String
  • PRL_Create_Waveform_Signal_by_Interpolation
  • PRL_DW_Check_Data_CSG
  • PRL_DW_Check_Data_SGL
  • PRL_DW_Clean_Data_CSG
  • PRL_DW_Clean_Data_SGL
  • PRL_Insert_Element_in_string
  • PRL_Queue_Multiple_Elements_at_Opposite_End
  • PRL_Queue_Reader
  • PRL_Rearrange_Analog_Array
  • PRL_Rearrange_Timestamp_Array
  • PRL_STR_Convert_CSG_Array_to_String
  • PRL_STR_Convert_Number_to_String
  • PRL_STR_Get_Selected_Indices
  • PRL_TS_Clip_Array
  • PRL_TS_Get_Real_Timestamp
  • PRL_TS_Round_to_Nearest_10ms
  • PRL_TS_Waiter
  • PRL_UTIL_Calculate_Data_Rate
  • PRL_UTIL_Check_Timestamp_Age
  • PRL_UTIL_Convert_Command_for_Display
  • PRL_UTIL_Get_Control_Value
  • PRL_UTIL_Get_Real_Timestamp
  • PRL_UTIL_Split_Command
  • PTR_STR_Convert_SGL_Array_to_String
  • Time_Stamp_to_iso_8601_with_Millieseconds

STRONGgrid DLL VI

  • Connect_PDC
  • Disconnect_PDC
  • DLL_Shutdown
  • Get_Analog_config_Ver.3
  • Get_Header_Msg
  • Get_Phasor_Config
  • Get_PMU_Configuration
  • Get_Real_PMU_Data
  • poll_PDC_With_Data_Waiting
  • Read_Configuration
  • Start_Data_Stream
  • Stop_Data_Stream

Buffer and Queue

  • PRL_Software_Documentation
  • Get_PRL_Access_Queue
  • PL_Signal_Create_Waveform_Array
  • PRL_Buffer_Cut_from_Analog_2D_Array
  • PRL_Buffer_Cut_from_Complex_2D_Array
  • PRL_Buffer_Cut_from_Digital_2D_Array
  • PRL_Channel_Selector
  • PRL_Check_Bad_dt
  • PRL_PMU_Status
  • PRL_Read_Queue
  • PRL_Reader_Buffer
  • PRL_Remote

TDMS Application

  • Create_log_File_Path
  • TDMS_Data_Logger
  • Write_to_TDMS
  • Write_Data_to_TDMS

Open PMU

  • Code_Flow_Chart
  • Main_Single_Phase
  • Main_Three_Phase
  • General_Startup
  • PIC_Microcontroller
  • 10_DAQ_Config
  • 11_DAQ_Config
  • 20_Limit_180_Degrees
  • 21_Symmetrical_Components
  • 22_Average_Frequnecy
  • 23_Input_Scaling
  • 24_Global_Front_Panel
  • 30_GPS_Time_Fetch
  • 31_GPS_Interrupt_RS232_Read
  • 32_GPS_Time_Code_Parser
  • 33_GPS_Time_to_Labview_Time
  • 34_GPS_Time_from_Config
  • 40_Config_File_Path
  • 41_Config_File_Write_GPS_Time
  • 42_Config_File_Read_GPS_Time
  • 43_Config_File_Get_Input_Scales
  • 44_Config_File_Read_Telecoms
  • 50_NMEA_Clac_Checksum

PIC_Microcontroller

Notes on provided document:

  • IDE downloaded from (Make sure to download version 8.50 or later, the download is located under MPLAB IDE Archives in the middle of the page. You will need to make an account with Microchip to download.): http://www.microchip.com/development-tools/pic-and-dspic-downloads-archive

  • Compiler downloaded from:https://www.microchip.com/Developmenttools/ProductDetails/SW006011

  • Actual code is given in the ZIP file from OpenPMU, located under: OpenPMU_V1 → SourceCode → OpenPMU PIC PLL Code - V5.1 → OpenPMU PIC - V5.1

  • Download this code, and keep it in an easy to access location

https://www.microchip.com/forums/m671900.aspx

  • Problem now: Locate the file: c:\Program Files\Microchip\MCC18\Ikr\18f2525.ikr
  • Solutions: Project → Build Project → Project → MPLINK Linker: check the box “Use Alternate Settings” and change the text box from:

/m"$(BINDIR_)$(TARGETBASE).map" /w /o"$(BINDIR_)$(TARGETBASE).cof"

To

/m"$(BINDIR_)$(TARGETBASE).map" /w /p18f2525 /o"$(BINDIR_)$(TARGETBASE).cof"

  • Project → Build Project → Project → Directories: if you haven’t already, make sure that your path is C:\Program Files... or C:\Program Files(x86)... depending on what you’re using.

  • Right click on 18f2525.lkr, click “Locate Missing File.” The file you want is under: C:\Program Files (x86)\Microchip\MCC18\bin or C:\Program Files \Microchip\MCC18\bin depending on what system you’re using. Find the file 18f2525_g.lkr and double click.

  • Once all of these are completed, try building.
← General_Startup10_DAQ_Config →
Documentation
Specific Github links
S3DK-STRONGgridS3DK
Links to stuff
LMGTFYBasic Info for PMURensselaer Polytechnic InstituteAlset Lab
Docusaurus Resources
Docusarus websiteGitHubStar
Facebook Open Source
Copyright © 2019 Rensselaer Polytechnic Institute